Skip to contentSkip to conversation

Label bluetooth daemon as bluetooth_exec_t

PATCH New Laurent Bigonville 1 participant 1 message Mar 19, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Label bluetooth daemon as bluetooth_exec_t

From: Laurent Bigonville <[email protected]>

---
 policy/modules/services/bluetooth.fc | 3 +++
 1 file changed, 3 insertions(+)
policy/modules/services/bluetooth.fc +3 -0
index 3d66914f..e167e93f 100644
@@ -15,9 +15,12 @@
 /usr/bin/rfcomm	--	gen_context(system_u:object_r:bluetooth_exec_t,s0)
 /usr/bin/sdpd	--	gen_context(system_u:object_r:bluetooth_exec_t,s0)
 
+/usr/lib/bluetooth/bluetoothd	--	gen_context(system_u:object_r:bluetooth_exec_t,s0)
 # Systemd unit file
 /usr/lib/systemd/system/[^/]*bluetooth.* -- gen_context(system_u:object_r:bluetooth_unit_t,s0)
 
+/usr/libexec/bluetooth/bluetoothd	--	gen_context(system_u:object_r:bluetooth_exec_t,s0)
+
 /usr/sbin/bluetoothd	--	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)
Signature · 1 line
2.26.0.rc2