SELinux changes to support Auto Tethering/LOHS.

SELinux was recently enabled on Android Auto which broke both Wi-fi
hotspot tethering and local only hotspot (LOHS) used for projected. This
CL adds the approriate permissions so that Tethering and LOHS works with
SELinux.

Bug: 137039363

Test: Manually on Hawk and pixel.
Change-Id: I0100a9a17a7e7523e853e59222dc4f45ba691f15
diff --git a/car_product/sepolicy/private/carservice_app.te b/car_product/sepolicy/private/carservice_app.te
index b0b9465..bc1d74c 100644
--- a/car_product/sepolicy/private/carservice_app.te
+++ b/car_product/sepolicy/private/carservice_app.te
@@ -50,6 +50,8 @@
 allow carservice_app system_car_data_file:dir create_dir_perms;
 allow carservice_app system_car_data_file:{ file lnk_file } create_file_perms;
 
+net_domain(carservice_app)
+
 allow carservice_app cgroup:file rw_file_perms;
 
 # For I/O stats tracker
diff --git a/car_product/sepolicy/public/file.te b/car_product/sepolicy/public/file.te
index 8555d29..11bf839 100644
--- a/car_product/sepolicy/public/file.te
+++ b/car_product/sepolicy/public/file.te
@@ -5,4 +5,4 @@
 type sysfs_fs_lifetime_write, sysfs_type, fs_type;
 
 # /data/system/car
-type system_car_data_file, file_type, data_file_type, core_data_file_type;
\ No newline at end of file
+type system_car_data_file, file_type, data_file_type, core_data_file_type;