1 |
commit: 6d822946c4c98fd62daf6095415a21866790ff95 |
2 |
Author: Antoine Tenart <antoine.tenart <AT> bootlin <DOT> com> |
3 |
AuthorDate: Thu Aug 13 12:08:37 2020 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 11 21:14:40 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=6d822946 |
7 |
|
8 |
systemd: allow systemd-resolve to read in tmpfs |
9 |
|
10 |
Fixes: |
11 |
avc: denied { read } for pid=76 comm="systemd-resolve" name="/" |
12 |
dev="tmpfs" ino=651 scontext=system_u:system_r:systemd_resolved_t |
13 |
tcontext=system_u:object_r:var_run_t tclass=dir permissive=1 |
14 |
|
15 |
Signed-off-by: Antoine Tenart <antoine.tenart <AT> bootlin.com> |
16 |
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org> |
17 |
|
18 |
policy/modules/system/systemd.te | 1 + |
19 |
1 file changed, 1 insertion(+) |
20 |
|
21 |
diff --git a/policy/modules/system/systemd.te b/policy/modules/system/systemd.te |
22 |
index f58ad97d..b19a20ac 100644 |
23 |
--- a/policy/modules/system/systemd.te |
24 |
+++ b/policy/modules/system/systemd.te |
25 |
@@ -1095,6 +1095,7 @@ auth_use_nsswitch(systemd_resolved_t) |
26 |
|
27 |
files_watch_root_dirs(systemd_resolved_t) |
28 |
files_watch_runtime_dirs(systemd_resolved_t) |
29 |
+files_list_runtime(systemd_resolved_t) |
30 |
|
31 |
init_dgram_send(systemd_resolved_t) |