am 3123b1ee: SELinux policy for Bluetooth properties.

* commit '3123b1eef7c15dee0b0df72c6a3017f1797a278d':
  SELinux policy for Bluetooth properties.
This commit is contained in:
Alex Klyubin 2013-05-06 11:12:06 -07:00 committed by Android Git Automerger
commit b2aea99ffd
3 changed files with 6 additions and 0 deletions

View file

@ -30,5 +30,8 @@ allow bluetooth efs_file:dir search;
# Talk to init over the property socket.
unix_socket_connect(bluetooth, property, init)
# Property Service
allow bluetooth bluetooth_prop:property_service set;
# proc access.
allow bluetooth proc_bluetooth_writable:file rw_file_perms;

View file

@ -9,3 +9,4 @@ type ctl_dumpstate_prop, property_type;
type ctl_rildaemon_prop, property_type;
type audio_prop, property_type;
type security_prop, property_type;
type bluetooth_prop, property_type;

View file

@ -23,6 +23,7 @@ sys. u:object_r:system_prop:s0
service. u:object_r:system_prop:s0
wlan. u:object_r:system_prop:s0
dhcp. u:object_r:system_prop:s0
bluetooth. u:object_r:bluetooth_prop:s0
debug. u:object_r:shell_prop:s0
log. u:object_r:shell_prop:s0
@ -32,6 +33,7 @@ service.adb.tcp.port u:object_r:shell_prop:s0
persist.audio. u:object_r:audio_prop:s0
persist.sys. u:object_r:system_prop:s0
persist.service. u:object_r:system_prop:s0
persist.service.bdroid. u:object_r:bluetooth_prop:s0
persist.security. u:object_r:system_prop:s0
# mmac persistent properties