diff options
Diffstat (limited to 'policy/modules/services/bluetooth.fc')
-rw-r--r-- | policy/modules/services/bluetooth.fc | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/policy/modules/services/bluetooth.fc b/policy/modules/services/bluetooth.fc new file mode 100644 index 00000000..ad826612 --- /dev/null +++ b/policy/modules/services/bluetooth.fc @@ -0,0 +1,23 @@ +# +# /etc +# +/etc/bluetooth(/.*)? gen_context(system_u:object_r:bluetooth_conf_t,s0) +/etc/bluetooth/link_key gen_context(system_u:object_r:bluetooth_conf_rw_t,s0) + +# +# /usr +# +/usr/bin/blue.*pin -- gen_context(system_u:object_r:bluetooth_helper_exec_t,s0) +/usr/bin/hidd -- gen_context(system_u:object_r:bluetooth_exec_t,s0) +/usr/bin/rfcomm -- gen_context(system_u:object_r:bluetooth_exec_t,s0) + +/usr/sbin/hciattach -- gen_context(system_u:object_r:bluetooth_exec_t,s0) +/usr/sbin/hcid -- gen_context(system_u:object_r:bluetooth_exec_t,s0) +/usr/sbin/hid2hci -- gen_context(system_u:object_r:bluetooth_exec_t,s0) +/usr/sbin/sdpd -- gen_context(system_u:object_r:bluetooth_exec_t,s0) + +# +# /var +# +/var/lib/bluetooth(/.*)? gen_context(system_u:object_r:bluetooth_var_lib_t,s0) +/var/run/sdp -s gen_context(system_u:object_r:bluetooth_var_run_t,s0) |