perfprofd: allow traversing sysfs directories.
Bug: 70275668 Test: walleye builds, boots. This change only expands the existing permissions, so shouldn't regress runtime behavior. Change-Id: I36e63f11d78998a88e3f8d1e6913e20762a359af
This commit is contained in:
parent
40ed4283e4
commit
ae20791517
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