summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Philip <jphili@codeaurora.org>2015-01-05 12:05:43 +0530
committerSteve Kondik <steve@cyngn.com>2015-01-15 18:08:19 -0800
commitb338663b230d5c90fb011ec7b182acf93423bc4b (patch)
treec08c58c519dfec9eef76f647141b55a9f328d32d
parent394243c1fd23262218148084d0fc13d3cab1b1a8 (diff)
downloadandroid_device_qcom_sepolicy-b338663b230d5c90fb011ec7b182acf93423bc4b.tar.gz
android_device_qcom_sepolicy-b338663b230d5c90fb011ec7b182acf93423bc4b.tar.bz2
android_device_qcom_sepolicy-b338663b230d5c90fb011ec7b182acf93423bc4b.zip
Seandroid: Allow mm-pp-deamon access to unix socket
Modify mm-pp-deaemon policy file to enable access to listen and accept unix socket calls from init to enable CABL. Change-Id: If8621d31d8ae07d17803bb2d152bebf5fffdc51e
-rw-r--r--common/mm-pp-daemon.te2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/mm-pp-daemon.te b/common/mm-pp-daemon.te
index 9b227473..7f7bd897 100644
--- a/common/mm-pp-daemon.te
+++ b/common/mm-pp-daemon.te
@@ -52,3 +52,5 @@ allow mm-pp-daemon sysfs:file rw_file_perms;
# Allow socket calls in pp-daemon
unix_socket_connect(mm-pp-daemon, property, init)
unix_socket_connect(mm-pp-daemon, pps, init)
+allow mm-pp-daemon init:unix_stream_socket listen;
+allow mm-pp-daemon init:unix_stream_socket accept;