Merge "servicemanager: kernel log perms"
This commit is contained in:
commit
586703a90c
2 changed files with 5 additions and 3 deletions
|
@ -31,10 +31,9 @@ allow servicemanager dumpstate:fifo_file write;
|
|||
# Check SELinux permissions.
|
||||
selinux_check_access(servicemanager)
|
||||
|
||||
recovery_only(`
|
||||
# In recovery, log to kmsg.
|
||||
allow servicemanager kmsg_device:chr_file rw_file_perms;
|
||||
allow servicemanager kmsg_device:chr_file rw_file_perms;
|
||||
|
||||
recovery_only(`
|
||||
# Read VINTF files.
|
||||
r_dir_file(servicemanager, rootfs)
|
||||
')
|
||||
|
|
3
vendor/vndservicemanager.te
vendored
3
vendor/vndservicemanager.te
vendored
|
@ -20,3 +20,6 @@ set_prop(vndservicemanager, ctl_interface_start_prop)
|
|||
|
||||
# Check SELinux permissions.
|
||||
selinux_check_access(vndservicemanager)
|
||||
|
||||
# Log to kmesg
|
||||
allow vndservicemanager kmsg_device:chr_file rw_file_perms;
|
||||
|
|
Loading…
Reference in a new issue