summaryrefslogtreecommitdiffstats
path: root/recipes-security/refpolicy/refpolicy/0085-policy-modules-services-bluetooth-make-bluetooth_t-d.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-security/refpolicy/refpolicy/0085-policy-modules-services-bluetooth-make-bluetooth_t-d.patch')
-rw-r--r--recipes-security/refpolicy/refpolicy/0085-policy-modules-services-bluetooth-make-bluetooth_t-d.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/recipes-security/refpolicy/refpolicy/0085-policy-modules-services-bluetooth-make-bluetooth_t-d.patch b/recipes-security/refpolicy/refpolicy/0085-policy-modules-services-bluetooth-make-bluetooth_t-d.patch
deleted file mode 100644
index a784657..0000000
--- a/recipes-security/refpolicy/refpolicy/0085-policy-modules-services-bluetooth-make-bluetooth_t-d.patch
+++ /dev/null
@@ -1,36 +0,0 @@
1From 3c74f403cb38410ea7e1de0e61dafa80a60c5ba5 Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Fri, 10 Jul 2020 09:18:12 +0800
4Subject: [PATCH] policy/modules/services/bluetooth: make bluetooth_t domain
5 MLS trusted for reading from files up to its clearance
6
7Fixes:
8avc: denied { search } for pid=268 comm="bluetoothd" name="journal"
9dev="tmpfs" ino=14165
10scontext=system_u:system_r:bluetooth_t:s0-s15:c0.c1023
11tcontext=system_u:object_r:syslogd_runtime_t:s15:c0.c1023 tclass=dir
12permissive=0
13
14Upstream-Status: Inappropriate [embedded specific]
15
16Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
17---
18 policy/modules/services/bluetooth.te | 2 ++
19 1 file changed, 2 insertions(+)
20
21diff --git a/policy/modules/services/bluetooth.te b/policy/modules/services/bluetooth.te
22index b3df695db..931021346 100644
23--- a/policy/modules/services/bluetooth.te
24+++ b/policy/modules/services/bluetooth.te
25@@ -132,6 +132,8 @@ userdom_dontaudit_search_user_home_dirs(bluetooth_t)
26 init_dbus_send_script(bluetooth_t)
27 systemd_dbus_chat_hostnamed(bluetooth_t)
28
29+mls_file_read_to_clearance(bluetooth_t)
30+
31 optional_policy(`
32 dbus_system_bus_client(bluetooth_t)
33 dbus_connect_system_bus(bluetooth_t)
34--
352.17.1
36