sepolicy: remove rules causing neverallow violations
* These are neverallows on R
* Also drop the statements causing these denials from init files
Change-Id: Id6e035252990fee4625ab72cac34e1bd99554bcd
diff --git a/config/init/init.exynos9611.rc b/config/init/init.exynos9611.rc
index c825c0c..e87cc0b 100644
--- a/config/init/init.exynos9611.rc
+++ b/config/init/init.exynos9611.rc
@@ -494,7 +494,6 @@
# We need to seperate mounting SEC_EFS partition from fstab file due to GSI image loading case
wait /dev/block/platform/13520000.ufs/by-name/sec_efs
mount ext4 /dev/block/platform/13520000.ufs/by-name/sec_efs /efs nosuid nodev noatime noauto_da_alloc,discard,journal_checksum,data=ordered,errors=panic
- setprop ro.crypto.fuse_sdcard true
restorecon_recursive /mnt/vendor/efs
restorecon_recursive /mnt/vendor/cpefs
diff --git a/config/init/init.exynos9611.usb.rc b/config/init/init.exynos9611.usb.rc
index 536822c..4221035 100644
--- a/config/init/init.exynos9611.usb.rc
+++ b/config/init/init.exynos9611.usb.rc
@@ -54,7 +54,6 @@
chmod 0660 /config/usb_gadget/g1/functions/mass_storage.0/lun.0/file
chown system system /dev/dun
chown system system /dev/dun2
- setprop sys.usb.ffs.aio_compat 1
setprop sys.usb.configfs 1
# ss_conn_daemon2 service
diff --git a/sepolicy/vendor/vendor_init.te b/sepolicy/vendor/vendor_init.te
index 77f3e0f..0d41332 100644
--- a/sepolicy/vendor/vendor_init.te
+++ b/sepolicy/vendor/vendor_init.te
@@ -1,7 +1,5 @@
# vendor_init.te
-set_prop(vendor_init, vold_prop);
-set_prop(vendor_init, ffs_prop);
set_prop(vendor_init, persist_rmnet_prop);
set_prop(vendor_init, persist_data_df_prop);
set_prop(vendor_init, persist_data_wda_prop);