diff options
author | myfluxi <linflux@arcor.de> | 2015-11-18 20:06:11 +0100 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-01-12 17:21:32 -0800 |
commit | e8df21c962b1bf8d570f8ca2c20e88c00d7e0c59 (patch) | |
tree | cb090e8cf0803480d604a02213f126e6aaae2b5c /sepolicy | |
parent | bd3d22e3545d93345eb3ef3a476fd357d5efa926 (diff) | |
download | vendor_replicant-e8df21c962b1bf8d570f8ca2c20e88c00d7e0c59.zip vendor_replicant-e8df21c962b1bf8d570f8ca2c20e88c00d7e0c59.tar.gz vendor_replicant-e8df21c962b1bf8d570f8ca2c20e88c00d7e0c59.tar.bz2 |
sepolicy: Add perfprofd with set_prop macro
Addresses:
avc: denied { write }
for pid=293 comm="perfprofd" name="property_service" dev="tmpfs" ino=9229 scontext=u:r:perfprofd:s0 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0
Change-Id: I5a88722eda4d0751fd9a081c434d385ac1c785ef
Diffstat (limited to 'sepolicy')
-rw-r--r-- | sepolicy/qcom/perfprofd.te | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sepolicy/qcom/perfprofd.te b/sepolicy/qcom/perfprofd.te new file mode 100644 index 0000000..0975625 --- /dev/null +++ b/sepolicy/qcom/perfprofd.te @@ -0,0 +1,5 @@ +# perfprofd disables mpdecision temporarily via setprop ctl.stop, +# then re-enables afterwards with setprop ctl.start +userdebug_or_eng(` + set_prop(perfprofd, mpdecision_prop) +') |