gta4xl-common: sepolicy: remove unused rules
* We don't have argosd
* keylayout and idc are already labeled by default
* Kernel doesn't need access to sysfs_sec_key as of
https://github.com/LineageOS/android_kernel_samsung_gta4xl/commit/a0ddbec29f19d675947ff3d1242e76d70cdacf15
Change-Id: I24a9039a2972de9a7fb471655c15530ef20a0669
diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts
index b814ad7..32ee069 100644
--- a/sepolicy/vendor/file_contexts
+++ b/sepolicy/vendor/file_contexts
@@ -58,7 +58,6 @@
/sys/devices/soc0/revision u:object_r:sysfs_sec_gps:s0
### VENDOR
-/(vendor|system/vendor)/bin/argosd u:object_r:argosd_exec:s0
/(vendor|system/vendor)/bin/wlbtd u:object_r:wlbtd_exec:s0
/(vendor|system/vendor)/bin/vendor\.samsung\.hardware\.security\.widevine\.keyprovisioning@[0-9]\.[0-9]-service u:object_r:hal_drm_widevine_exec:s0
@@ -76,6 +75,3 @@
/(vendor|system/vendor)/lib(64)?/hw/gralloc\.exynos[0-9]*\.so u:object_r:same_process_hal_file:s0
/(vendor|system/vendor)/lib(64)?/libion_exynos\.so u:object_r:same_process_hal_file:s0
-
-/(vendor|system/vendor)/usr/idc(/.*) u:object_r:vendor_idc_file:s0
-/(vendor|system/vendor)/usr/keylayout(/.*) u:object_r:vendor_keylayout_file:s0
diff --git a/sepolicy/vendor/kernel.te b/sepolicy/vendor/kernel.te
index f53d591..b123351 100644
--- a/sepolicy/vendor/kernel.te
+++ b/sepolicy/vendor/kernel.te
@@ -2,8 +2,6 @@
allow kernel self:capability mknod;
-r_dir_file(kernel, sysfs_sec_key);
-
allow kernel device:dir { add_name write remove_name rmdir };
allow kernel device:chr_file { create setattr getattr unlink };