1 |
commit: b76bc8b1d78cf22cb9c3e019b4ff0ff80c1c0155 |
2 |
Author: Kenton Groombridge <me <AT> concord <DOT> sh> |
3 |
AuthorDate: Mon Jan 17 20:52:00 2022 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 30 01:15:06 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=b76bc8b1 |
7 |
|
8 |
systemd: use stream socket perms in systemd_user_app_status |
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/systemd.if | 2 +- |
14 |
1 file changed, 1 insertion(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/policy/modules/system/systemd.if b/policy/modules/system/systemd.if |
17 |
index 4906767a..db98053a 100644 |
18 |
--- a/policy/modules/system/systemd.if |
19 |
+++ b/policy/modules/system/systemd.if |
20 |
@@ -289,7 +289,7 @@ template(`systemd_user_app_status',` |
21 |
ps_process_pattern($1_systemd_t, $2) |
22 |
allow $1_systemd_t $2:process signal_perms; |
23 |
allow $2 $1_systemd_t:fd use; |
24 |
- allow $2 $1_systemd_t:unix_stream_socket rw_socket_perms; |
25 |
+ allow $2 $1_systemd_t:unix_stream_socket rw_stream_socket_perms; |
26 |
|
27 |
# apps run by systemd --user instances need to be able to read the |
28 |
# state of the systemd --user instance |