summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Roberts <william.c.roberts@intel.com>2016-01-08 09:27:10 -0800
committerWilliam Roberts <william.c.roberts@intel.com>2016-01-08 09:27:10 -0800
commit59cea117cfda4ba30228a5736933cd013b9a5ea3 (patch)
tree4e93501a08e0d69800cb546764dbf05eb65ed21b
parent506899bff87a2b4d09e8d1312129d1391e78b549 (diff)
downloadflo-59cea117cfda4ba30228a5736933cd013b9a5ea3.tar.gz
perfprofd: update unix_socket_connect to set_prop
perfprofd was generating warnings when being built that it was using the deprecated unix_socket_connect() macro to access the init property subsystem. To correct this, change this to use the newer set_prop() macro. Change-Id: I622c554b0238ffbc00b40a966558df684be750d4 Signed-off-by: William Roberts <william.c.roberts@intel.com>
-rw-r--r--sepolicy/perfprofd.te3
1 files changed, 1 insertions, 2 deletions
diff --git a/sepolicy/perfprofd.te b/sepolicy/perfprofd.te
index 4296d4d..07aa298 100644
--- a/sepolicy/perfprofd.te
+++ b/sepolicy/perfprofd.te
@@ -1,6 +1,5 @@
userdebug_or_eng(`
# perfprofd disables mpdecision temporarily via setprop ctl.stop,
# then re-enables afterwards with setprop ctl.start
- allow perfprofd ctl_mpdecision:property_service set;
- unix_socket_connect(perfprofd, property, init)
+ set_prop(perfprofd, ctl_mpdecision)
')