diff options
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.patch | 36 |
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 @@ | |||
1 | From 3c74f403cb38410ea7e1de0e61dafa80a60c5ba5 Mon Sep 17 00:00:00 2001 | ||
2 | From: Yi Zhao <yi.zhao@windriver.com> | ||
3 | Date: Fri, 10 Jul 2020 09:18:12 +0800 | ||
4 | Subject: [PATCH] policy/modules/services/bluetooth: make bluetooth_t domain | ||
5 | MLS trusted for reading from files up to its clearance | ||
6 | |||
7 | Fixes: | ||
8 | avc: denied { search } for pid=268 comm="bluetoothd" name="journal" | ||
9 | dev="tmpfs" ino=14165 | ||
10 | scontext=system_u:system_r:bluetooth_t:s0-s15:c0.c1023 | ||
11 | tcontext=system_u:object_r:syslogd_runtime_t:s15:c0.c1023 tclass=dir | ||
12 | permissive=0 | ||
13 | |||
14 | Upstream-Status: Inappropriate [embedded specific] | ||
15 | |||
16 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
17 | --- | ||
18 | policy/modules/services/bluetooth.te | 2 ++ | ||
19 | 1 file changed, 2 insertions(+) | ||
20 | |||
21 | diff --git a/policy/modules/services/bluetooth.te b/policy/modules/services/bluetooth.te | ||
22 | index 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 | -- | ||
35 | 2.17.1 | ||
36 | |||