Skip to content
Snippets Groups Projects
Commit eec65cfb authored by Tim Kryger's avatar Tim Kryger Committed by android-build-merger
Browse files

Merge "Fix selinux denials during bugreport" am: bfbe96ac am: 4ebe609a am: 770d5f7e

am: 6ae6fdbd

Change-Id: I6794b95989a210a7b9e509cd201ead6df395a405
parents 4fd4b566 6ae6fdbd
No related branches found
No related tags found
No related merge requests found
...@@ -220,6 +220,20 @@ allow dumpstate ion_device:chr_file r_file_perms; ...@@ -220,6 +220,20 @@ allow dumpstate ion_device:chr_file r_file_perms;
# read default labeled files in /sys # read default labeled files in /sys
r_dir_file(dumpstate, sysfs) r_dir_file(dumpstate, sysfs)
# Allow dumpstate to run top
allow dumpstate proc_stat:file r_file_perms;
# Allow dumpstate to read backlight details
allow dumpstate sysfs_leds:lnk_file r_file_perms;
allow dumpstate sysfs_leds:file r_file_perms;
allow dumpstate sysfs_leds:dir search;
# Allow dumpstate to talk to installd over binder
binder_call(dumpstate, installd);
# Allow dumpstate to run ip xfrm policy
allow dumpstate self:netlink_xfrm_socket { create_socket_perms_no_ioctl nlmsg_read };
### ###
### neverallow rules ### neverallow rules
### ###
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment