servicemanager: add dump fd permissions am: d895b40f2e

Change-Id: I8110d261ffcf4610681b580532719e99af1b82f8
This commit is contained in:
Steven Moreland 2020-05-15 00:29:12 +00:00 committed by Automerger Merge Worker
commit 8b2eecebfd
2 changed files with 4 additions and 0 deletions

View file

@ -22,6 +22,8 @@ allow servicemanager service_contexts_file:file r_file_perms;
not_full_treble(`allow servicemanager nonplat_service_contexts_file:file r_file_perms;')
add_service(servicemanager, service_manager_service)
allow servicemanager dumpstate:fd use;
allow servicemanager dumpstate:fifo_file write;
# Check SELinux permissions.
selinux_check_access(servicemanager)

View file

@ -22,6 +22,8 @@ allow servicemanager service_contexts_file:file r_file_perms;
not_full_treble(`allow servicemanager nonplat_service_contexts_file:file r_file_perms;')
add_service(servicemanager, service_manager_service)
allow servicemanager dumpstate:fd use;
allow servicemanager dumpstate:fifo_file write;
# Check SELinux permissions.
selinux_check_access(servicemanager)