1 |
commit: b3a7d999f44a74fcb84a309b909541a64a6d2ef5 |
2 |
Author: Kenton Groombridge <me <AT> concord <DOT> sh> |
3 |
AuthorDate: Wed Nov 10 00:51:33 2021 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 31 02:40:53 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=b3a7d999 |
7 |
|
8 |
init: allow systemd to nnp_transition and nosuid_transition to daemon domains |
9 |
|
10 |
Signed-off-by: Kenton Groombridge <me <AT> concord.sh> |
11 |
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org> |
12 |
|
13 |
policy/modules/system/init.if | 2 ++ |
14 |
1 file changed, 2 insertions(+) |
15 |
|
16 |
diff --git a/policy/modules/system/init.if b/policy/modules/system/init.if |
17 |
index 0559dc93..8d3eab4a 100644 |
18 |
--- a/policy/modules/system/init.if |
19 |
+++ b/policy/modules/system/init.if |
20 |
@@ -376,6 +376,8 @@ interface(`init_daemon_domain',` |
21 |
|
22 |
allow $1 init_t:unix_dgram_socket sendto; |
23 |
|
24 |
+ allow init_t $1:process2 { nnp_transition nosuid_transition }; |
25 |
+ |
26 |
optional_policy(` |
27 |
systemd_stream_connect_socket_proxyd($1) |
28 |
') |