exynos9610: Remove now duplicated labels/types
authorNolen Johnson <johnsonnolen@gmail.com>
Tue, 5 Apr 2022 16:59:26 +0000 (12:59 -0400)
committerNolen Johnson <johnsonnolen@gmail.com>
Sun, 17 Apr 2022 21:39:10 +0000 (17:39 -0400)
Change-Id: I35ea9ccb2042927961a399f7ff7919f66b620a63

sepolicy/vendor/device.te
sepolicy/vendor/file.te
sepolicy/vendor/file_contexts
sepolicy/vendor/hal_drm_clearkey.te [deleted file]
sepolicy/vendor/hal_drm_widevine.te

index f759c7d154553d6700092e51adec47d1e047c657..85f5c21aa7b65ec603da84d6ee11976c118af4f4 100644 (file)
@@ -4,7 +4,6 @@ type bootloader_block_device, dev_type;
 type carrier_block_device, dev_type;
 type cid_block_device, dev_type;
 type fat_block_device, dev_type;
-type gnss_device, dev_type;
 type hw_block_device, dev_type;
 type keystorage_block_device, dev_type;
 type kpan_block_device, dev_type;
index ea78518e8fc94580b2f984ec26680707c53e0afc..5d72c8ab9920ff84a330a03a334e649ccec8aa67 100644 (file)
@@ -1,7 +1,6 @@
 # data types
 type camera_vendor_data_file, file_type, data_file_type;
 type chargeonly_data_file, file_type, data_file_type;
-type display_vendor_data_file, file_type, data_file_type;
 type mediadrm_vendor_data_file, file_type, data_file_type;
 type misc_vendor_data_file, file_type, data_file_type;
 type rild_vendor_data_file, file_type, data_file_type;
index 41cf075bd919b1625775b0aa6f94cb730caf3fc9..dee77b2ca64bc1a40d3946193916aa3bac1858fd 100644 (file)
@@ -6,16 +6,13 @@
 /(vendor|system/vendor)/bin/charge_only_mode                                            u:object_r:charge_only_exec:s0
 /(vendor|system/vendor)/bin/charon                                                      u:object_r:charonservice_exec:s0
 /(vendor|system/vendor)/bin/exynos-thermald                                             u:object_r:exynos-thermald_exec:s0
-/(vendor|system/vendor)/bin/mcDriverDaemon                                              u:object_r:tee_exec:s0
 /(vendor|system/vendor)/bin/wfc-pkt-router                                              u:object_r:pktrouter_exec:s0
 /(vendor|system/vendor)/bin/hw/rild_exynos                                              u:object_r:rild_exec:s0
-/(vendor|system/vendor)/bin/hw/gpsd                                                     u:object_r:gpsd_exec:s0
 
 ####################################
 # Data Files
 
 /data/vendor/camera(/.*)?                                                               u:object_r:camera_vendor_data_file:s0
-/data/vendor/display(/.*)?                                                              u:object_r:display_vendor_data_file:s0
 /data/vendor/mediadrm(/.*)?                                                             u:object_r:mediadrm_vendor_data_file:s0
 /data/vendor/misc(/.*)?                                                                 u:object_r:misc_vendor_data_file:s0
 /data/vendor/sensor(/.*)?                                                               u:object_r:sensor_vendor_data_file:s0
diff --git a/sepolicy/vendor/hal_drm_clearkey.te b/sepolicy/vendor/hal_drm_clearkey.te
deleted file mode 100644 (file)
index da9ce6c..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-type hal_drm_clearkey, domain;
-hal_server_domain(hal_drm_clearkey, hal_drm);
-
-type hal_drm_clearkey_exec, exec_type, vendor_file_type, file_type;
-init_daemon_domain(hal_drm_clearkey);
index 5b18babfe139c0edf6f8155d4037dde7e69b122f..bd8e597922990a269f0660fa659c98742e4c870f 100644 (file)
@@ -1,9 +1,3 @@
-type hal_drm_widevine, domain;
-hal_server_domain(hal_drm_widevine, hal_drm);
-
-type hal_drm_widevine_exec, exec_type, vendor_file_type, file_type;
-init_daemon_domain(hal_drm_widevine);
-
 allow hal_drm_widevine {
     mnt_vendor_file
     persist_file