exynos9610: remove proc_last_kmsg type and rules
authorJan Altensen <info@stricted.net>
Fri, 11 Jun 2021 11:06:28 +0000 (13:06 +0200)
committerJan Altensen <info@stricted.net>
Fri, 11 Jun 2021 11:06:28 +0000 (13:06 +0200)
 * it's defined in device/samsung_slsi/sepolicy now

Change-Id: Ibb6415db1bd89d135d9196c2e76903fbd7ee1737

sepolicy/vendor/file.te
sepolicy/vendor/genfs_contexts
sepolicy/vendor/system_server.te

index 1c361b5a2e3f19e2a76490d03ed6f1ef4cf2461a..f9c8590aa29ddc9aa3e805eee9e126fb0c7c7b0b 100644 (file)
@@ -26,7 +26,6 @@ type persist_security_file, file_type, vendor_persist_type;
 type persist_sensor_file, file_type, vendor_persist_type;
 
 # proc types
-type proc_last_kmsg, fs_type, proc_type;
 type proc_printk, fs_type, proc_type;
 type proc_reap_mem_on_sigkill, fs_type, proc_type;
 type proc_swappiness, fs_type, proc_type;
index b47d62db13b9bd90979821ef0b9ebc4ce25275b2..53e459cc2845575c533ac9a0ddcb8f486b21b8ff 100644 (file)
@@ -11,7 +11,6 @@ genfscon debugfs /dma_buf
 # Proc
 #
 
-genfscon proc /last_kmsg                                                                                                u:object_r:proc_last_kmsg:s0
 genfscon proc /sys/kernel/printk                                                                                        u:object_r:proc_printk:s0
 genfscon proc /sys/vm/reap_mem_on_sigkill                                                                               u:object_r:proc_reap_mem_on_sigkill:s0
 genfscon proc /sys/vm/swappiness                                                                                        u:object_r:proc_swappiness:s0
index d2fc574c5739228d3932f007ae4096d559c64c45..5a0fd9478267984d4b698e60fd0558f41ed71b23 100644 (file)
@@ -1,4 +1,2 @@
-allow system_server proc_last_kmsg:file r_file_perms;
-
 get_prop(system_server, vendor_radio_prop)
 get_prop(system_server, vendor_security_patch_level_prop)