SEAndroid: Add sepolicy for surfaceflinger

Add perfd permissions for surfaceflinger.

Change-Id: I24844c687457159b7b1eb0559a7469a043b4c60b
This commit is contained in:
Dilip Gudlur
2014-12-27 23:42:59 -08:00
committed by Steve Kondik
parent 9e6e6b745b
commit 46b55b9d66

View File

@@ -6,3 +6,8 @@ r_dir_file(surfaceflinger, mm-pp-daemon)
binder_call(surfaceflinger, location)
binder_call(surfaceflinger, tee)
# access to perflock
allow surfaceflinger mpctl_socket:dir r_dir_perms;
unix_socket_send(surfaceflinger, mpctl, perfd)
unix_socket_connect(surfaceflinger, mpctl, perfd)