sepolicy: Rule for CM's perfd extension

Manual apply and refactor of cm-12.1 patch:
e04329df88211264e7a9c8f1d6b87a16d8d5639b

Use the unix_socket_connect macro and switch to the new
perfd domain.

Change-Id: Ibb83220b32bad7805653140751c978e629f87ffb
This commit is contained in:
Steve Kondik 2015-11-23 11:50:54 -08:00 committed by Scott Mertz
parent 01490eface
commit 48149d05a1

View File

@ -3,3 +3,5 @@ allow perfd sysfs_devices_system_iosched:file rw_file_perms;
# read mediaserver status # read mediaserver status
allow perfd mediaserver:file { read open }; allow perfd mediaserver:file { read open };
#cm extra opts
unix_socket_connect(perfd, thermal, thermal-engine)