From: Jan Altensen Date: Fri, 11 Jun 2021 11:06:28 +0000 (+0200) Subject: exynos9610: remove proc_last_kmsg type and rules X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fb1c2c0878ddd7aff0ebc490d25dcb32b55ed12c;p=GitHub%2FLineageOS%2Fandroid_device_motorola_exynos9610-common.git exynos9610: remove proc_last_kmsg type and rules * it's defined in device/samsung_slsi/sepolicy now Change-Id: Ibb6415db1bd89d135d9196c2e76903fbd7ee1737 --- diff --git a/sepolicy/vendor/file.te b/sepolicy/vendor/file.te index 1c361b5..f9c8590 100644 --- a/sepolicy/vendor/file.te +++ b/sepolicy/vendor/file.te @@ -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; diff --git a/sepolicy/vendor/genfs_contexts b/sepolicy/vendor/genfs_contexts index b47d62d..53e459c 100644 --- a/sepolicy/vendor/genfs_contexts +++ b/sepolicy/vendor/genfs_contexts @@ -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 diff --git a/sepolicy/vendor/system_server.te b/sepolicy/vendor/system_server.te index d2fc574..5a0fd94 100644 --- a/sepolicy/vendor/system_server.te +++ b/sepolicy/vendor/system_server.te @@ -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)