Merge "perfprofd: allow traversing sysfs directories." am: b73cd9f8df
am: 2ee1a51c3c
Change-Id: Iba7931a041d6147ae90d49ba7c613811c38fe3ae
This commit is contained in:
commit
9ee60ea4a7
1 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,9 @@ userdebug_or_eng(`
|
|||
typeattribute perfprofd coredomain;
|
||||
typeattribute perfprofd mlstrustedsubject;
|
||||
|
||||
# perfprofd access to sysfs directory structure.
|
||||
allow perfprofd sysfs_type:dir search;
|
||||
|
||||
# perfprofd needs to control CPU hot-plug in order to avoid kernel
|
||||
# perfevents problems in cases where CPU goes on/off during measurement;
|
||||
# this means read access to /sys/devices/system/cpu/possible
|
||||
|
|
Loading…
Reference in a new issue