Sepolicy: Allow apexd to log to kmsg
Allow apexd to log to the kernel log. This aids in low-level diagnostics, when adb is not available. Test: m Change-Id: Ib8f286bd917b34f5e8992b37ab230313a4820bf9
This commit is contained in:
parent
b6388fe753
commit
aada5013aa
@ -67,6 +67,9 @@ allow apexd sysfs_loop:file rw_file_perms;
|
||||
# See b/35323867#comment3
|
||||
dontaudit apexd self:global_capability_class_set { dac_override dac_read_search };
|
||||
|
||||
# Allow apexd to log to the kernel.
|
||||
allow apexd kmsg_device:chr_file w_file_perms;
|
||||
|
||||
neverallow { domain -apexd -init } apex_data_file:dir no_w_dir_perms;
|
||||
neverallow { domain -apexd -init -kernel } apex_data_file:file no_w_file_perms;
|
||||
neverallow { domain -apexd } apex_mnt_dir:lnk_file no_w_file_perms;
|
||||
|
Loading…
Reference in New Issue
Block a user