Files
android_device_qcom_sepolicy/common/app.te
Dilip Gudlur c6a655da9c sepolicy: add appdomain permissions for perfd
Allow appdomain to access perfd.

Change-Id: I20c26842b643c49304a066a5726b9dc531d1a81e
2015-01-15 18:15:17 -08:00

15 lines
502 B
Plaintext

# allow application to access cnd domain and socket
unix_socket_connect(appdomain, cnd, cnd)
# allow application to access dpmd domain and socket
unix_socket_connect(appdomain, dpmwrapper, dpmd)
unix_socket_connect(appdomain, qlogd, qlogd)
#Allow all apps to open and send ioctl to qdsp device
allow appdomain qdsp_device:chr_file r_file_perms;
# access to perflock
allow appdomain mpctl_socket:dir r_dir_perms;
unix_socket_send(appdomain, mpctl, perfd)
unix_socket_connect(appdomain, mpctl, perfd)