Merge "perfprofd: allow traversing sysfs directories." am: b73cd9f8df

am: 2ee1a51c3c

Change-Id: Iba7931a041d6147ae90d49ba7c613811c38fe3ae
This commit is contained in:
Tri Vo 2017-12-19 01:16:49 +00:00 committed by android-build-merger
commit 9ee60ea4a7

View file

@ -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