diff options
author | dcashman <dcashman@google.com> | 2015-08-07 10:34:19 -0700 |
---|---|---|
committer | dcashman <dcashman@google.com> | 2015-08-07 10:34:19 -0700 |
commit | a715e77c6726d748b17e68a56d442a46e1b07317 (patch) | |
tree | f2f850ab402e690e9c0cba382cb31f520417d58f | |
parent | 84c413e347a6184953ee445f64528d423dc76a26 (diff) | |
download | angler-a715e77c6726d748b17e68a56d442a46e1b07317.tar.gz |
Allow system_app to start ppd service.
Address the following denials:
[ 64.937254] init: avc: denied { set } for property=ctl.ppd scontext=u:r:system_app:s0 tcontext=u:object_r:ctl_default_prop:s0 tclass=property_service
Bug: 21435401
Change-Id: Idb30c64e0398d52b0459abb77033b40fdff00f92
-rw-r--r-- | sepolicy/property.te | 1 | ||||
-rw-r--r-- | sepolicy/property_contexts | 3 | ||||
-rw-r--r-- | sepolicy/system_app.te | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/sepolicy/property.te b/sepolicy/property.te index 05221e1..e21d75a 100644 --- a/sepolicy/property.te +++ b/sepolicy/property.te @@ -1 +1,2 @@ type qcom_ims_prop, property_type; +type ctl_ppd_prop, property_type; diff --git a/sepolicy/property_contexts b/sepolicy/property_contexts index 479b18a..f380ee6 100644 --- a/sepolicy/property_contexts +++ b/sepolicy/property_contexts @@ -1 +1,2 @@ -sys.ims. u:object_r:qcom_ims_prop:s0
\ No newline at end of file +sys.ims. u:object_r:qcom_ims_prop:s0 +ctl.ppd u:object_r:ctl_ppd_prop:s0 diff --git a/sepolicy/system_app.te b/sepolicy/system_app.te index cbd527c..5043d50 100644 --- a/sepolicy/system_app.te +++ b/sepolicy/system_app.te @@ -1 +1,3 @@ unix_socket_connect(system_app, cnd, cnd) + +set_prop(system_app, ctl_ppd_prop) |