Files
android_device_qcom_sepolicy/common/surfaceflinger.te
Dilip Gudlur 46b55b9d66 SEAndroid: Add sepolicy for surfaceflinger
Add perfd permissions for surfaceflinger.

Change-Id: I24844c687457159b7b1eb0559a7469a043b4c60b
2015-01-15 18:14:59 -08:00

14 lines
450 B
Plaintext

allow surfaceflinger sysfs_graphics:file rw_file_perms;
allow surfaceflinger shell_data_file:dir search;
# Allows pp-daemon to refresh the screen in calibration mode
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)