cm: sepolicy: Create central place for QC-specific policy

* We have a number of policy items due to changes in our BSPs or for
   other things which interact with the QC sepolicy. Add a place
   for us to store this stuff so we don't need to copy it around to
   every device.

Change-Id: I155ca202694501d42b42e2bd703d74049d547df0
gugelfrei
Steve Kondik 9 years ago committed by Steve Kondik
parent b5dbbdf9cb
commit b5c2cf0408

@ -0,0 +1,3 @@
allow bootanim mpctl_socket:dir search;
unix_socket_connect(bootanim, mpctl, perfd)
unix_socket_send(bootanim, mpctl, perfd)

@ -0,0 +1,6 @@
allow perfd sysfs_devices_system_iosched:file rw_file_perms;
unix_socket_connect(perfd, thermal, thermal-engine)
# read mediaserver status
allow perfd mediaserver:file { read open };

@ -0,0 +1,2 @@
BOARD_SEPOLICY_DIRS += \
vendor/cm/sepolicy/qcom

@ -0,0 +1,6 @@
# LiveDisplay access to color calibration
allow system_server pps_socket:sock_file rw_file_perms;
allow system_server mm-pp-daemon:unix_stream_socket connectto;
# Time services
allow system_server time_daemon:unix_stream_socket connectto;
Loading…
Cancel
Save