diff options
Diffstat (limited to 'recipes-security/refpolicy/refpolicy/0038-policy-modules-services-avahi-allow-avahi_t-to-watch.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy/0038-policy-modules-services-avahi-allow-avahi_t-to-watch.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/recipes-security/refpolicy/refpolicy/0038-policy-modules-services-avahi-allow-avahi_t-to-watch.patch b/recipes-security/refpolicy/refpolicy/0038-policy-modules-services-avahi-allow-avahi_t-to-watch.patch deleted file mode 100644 index 1b0391d..0000000 --- a/recipes-security/refpolicy/refpolicy/0038-policy-modules-services-avahi-allow-avahi_t-to-watch.patch +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | From 92571e7c066b3d91634a4c1f55542cb528f5bac4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Yi Zhao <yi.zhao@windriver.com> | ||
3 | Date: Tue, 23 Jun 2020 08:19:16 +0800 | ||
4 | Subject: [PATCH] policy/modules/services/avahi: allow avahi_t to watch | ||
5 | /etc/avahi directory | ||
6 | |||
7 | Fixes: | ||
8 | type=AVC msg=audit(1592813140.176:24): avc: denied { watch } for | ||
9 | pid=360 comm="avahi-daemon" path="/services" dev="vda" ino=173 | ||
10 | scontext=system_u:system_r:avahi_t tcontext=system_u:object_r:etc_t | ||
11 | tclass=dir permissive=1 | ||
12 | |||
13 | Upstream-Status: Inappropriate [embedded specific] | ||
14 | |||
15 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
16 | --- | ||
17 | policy/modules/services/avahi.te | 1 + | ||
18 | 1 file changed, 1 insertion(+) | ||
19 | |||
20 | diff --git a/policy/modules/services/avahi.te b/policy/modules/services/avahi.te | ||
21 | index af838d8b0..674cdcb81 100644 | ||
22 | --- a/policy/modules/services/avahi.te | ||
23 | +++ b/policy/modules/services/avahi.te | ||
24 | @@ -76,6 +76,7 @@ domain_use_interactive_fds(avahi_t) | ||
25 | |||
26 | files_read_etc_runtime_files(avahi_t) | ||
27 | files_read_usr_files(avahi_t) | ||
28 | +files_watch_etc_dirs(avahi_t) | ||
29 | |||
30 | auth_use_nsswitch(avahi_t) | ||
31 | |||
32 | -- | ||
33 | 2.17.1 | ||
34 | |||