msm8974-common: sepolicy: Resolve last_kmsg denials
Change-Id: Ib6a00d0c14eb03f1e16b24471736a0b84371152c
This commit is contained in:
parent
ec4379ecd8
commit
07931872be
@ -1,6 +1,7 @@
|
|||||||
type alarm_device, dev_type, mlstrustedobject;
|
type alarm_device, dev_type, mlstrustedobject;
|
||||||
|
|
||||||
type proc_bt_sleep, fs_type, proc_type;
|
type proc_bt_sleep, fs_type, proc_type;
|
||||||
|
type proc_last_kmsg, fs_type, proc_type;
|
||||||
|
|
||||||
type sysfs_camera, fs_type, sysfs_type;
|
type sysfs_camera, fs_type, sysfs_type;
|
||||||
type sysfs_hal_pwr, fs_type, sysfs_type;
|
type sysfs_hal_pwr, fs_type, sysfs_type;
|
||||||
|
@ -1 +1,2 @@
|
|||||||
genfscon proc /bluetooth/sleep u:object_r:proc_bt_sleep:s0
|
genfscon proc /bluetooth/sleep u:object_r:proc_bt_sleep:s0
|
||||||
|
genfscon proc /last_kmsg u:object_r:proc_last_kmsg:s0
|
||||||
|
@ -1 +1,2 @@
|
|||||||
allow init efs_file:dir mounton;
|
allow init efs_file:dir mounton;
|
||||||
|
allow init proc_last_kmsg:file { r_file_perms setattr };
|
||||||
|
@ -8,5 +8,7 @@ allow system_server {
|
|||||||
qti_debugfs
|
qti_debugfs
|
||||||
}:file r_file_perms;
|
}:file r_file_perms;
|
||||||
|
|
||||||
|
allow system_server proc_last_kmsg:file r_file_perms;
|
||||||
|
|
||||||
get_prop(system_server, userspace_reboot_config_prop);
|
get_prop(system_server, userspace_reboot_config_prop);
|
||||||
get_prop(system_server, userspace_reboot_exported_prop);
|
get_prop(system_server, userspace_reboot_exported_prop);
|
||||||
|
Loading…
Reference in New Issue
Block a user