Skip to content
Snippets Groups Projects
Commit b73cd9f8 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "perfprofd: allow traversing sysfs directories."

parents 6ad3c891 ae207915
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,9 @@ userdebug_or_eng(` ...@@ -7,6 +7,9 @@ userdebug_or_eng(`
typeattribute perfprofd coredomain; typeattribute perfprofd coredomain;
typeattribute perfprofd mlstrustedsubject; 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 # perfprofd needs to control CPU hot-plug in order to avoid kernel
# perfevents problems in cases where CPU goes on/off during measurement; # perfevents problems in cases where CPU goes on/off during measurement;
# this means read access to /sys/devices/system/cpu/possible # this means read access to /sys/devices/system/cpu/possible
......
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