aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhao Wei Liew <zhaoweiliew@gmail.com>2016-04-23 01:36:00 +0800
committerEthan Chen <intervigil@gmail.com>2016-04-27 10:15:04 -0700
commit15555936cecd8a5aa9e24c96cef8fce7850eaf13 (patch)
tree10dd7789d28b546ca8ce4f3769ed28a96aea0324
parent79b05485659b33da05780cd84955d6e8e21a5999 (diff)
msm8916: Use set_prop() macro for property sets
Out with the old, in with the new. Change-Id: I78d726ba6f1c240dd91c333f1aaba99ab42072fe
-rw-r--r--sepolicy/bluetooth_loader.te4
1 files changed, 1 insertions, 3 deletions
diff --git a/sepolicy/bluetooth_loader.te b/sepolicy/bluetooth_loader.te
index fc2ecca..242f4a2 100644
--- a/sepolicy/bluetooth_loader.te
+++ b/sepolicy/bluetooth_loader.te
@@ -16,10 +16,8 @@ allow bluetooth_loader devpts:chr_file rw_file_perms;
domain_auto_trans(bluetooth_loader, hci_attach_exec, hci_attach)
allow hci_attach bluetooth_loader:fd use;
-# Talk to init over the property socket
-unix_socket_connect(bluetooth_loader, property, init)
# Set persist.service.bdroid.* and bluetooth.* property values
-allow bluetooth_loader bluetooth_prop:property_service set;
+set_prop(bluetooth_loader, bluetooth_prop)
# Allow getprop/setprop for init.qcom.bt.sh
allow bluetooth_loader system_file:file execute_no_trans;