Merge "Allow dumpstate to open and read linkerconfig directory"

This commit is contained in:
Kiyoung Kim 2020-02-05 07:58:12 +00:00 committed by Gerrit Code Review
commit 7be9b32fdb

View File

@ -295,6 +295,9 @@ allow dumpstate self:netlink_generic_socket create_socket_perms_no_ioctl;
# Allow dumpstate to run ss # Allow dumpstate to run ss
allow dumpstate { domain pdx_channel_socket_type pdx_endpoint_socket_type }:socket_class_set getattr; allow dumpstate { domain pdx_channel_socket_type pdx_endpoint_socket_type }:socket_class_set getattr;
# Allow dumpstate to read linkerconfig directory
allow dumpstate linkerconfig_file:dir { read open };
# For when dumpstate runs df # For when dumpstate runs df
dontaudit dumpstate { dontaudit dumpstate {
mnt_vendor_file mnt_vendor_file