commit:     b76bc8b1d78cf22cb9c3e019b4ff0ff80c1c0155
Author:     Kenton Groombridge <me <AT> concord <DOT> sh>
AuthorDate: Mon Jan 17 20:52:00 2022 +0000
Commit:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Sun Jan 30 01:15:06 2022 +0000
URL:        
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=b76bc8b1

systemd: use stream socket perms in systemd_user_app_status

Signed-off-by: Kenton Groombridge <me <AT> concord.sh>
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>

 policy/modules/system/systemd.if | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/policy/modules/system/systemd.if b/policy/modules/system/systemd.if
index 4906767a..db98053a 100644
--- a/policy/modules/system/systemd.if
+++ b/policy/modules/system/systemd.if
@@ -289,7 +289,7 @@ template(`systemd_user_app_status',`
        ps_process_pattern($1_systemd_t, $2)
        allow $1_systemd_t $2:process signal_perms;
        allow $2 $1_systemd_t:fd use;
-       allow $2 $1_systemd_t:unix_stream_socket rw_socket_perms;
+       allow $2 $1_systemd_t:unix_stream_socket rw_stream_socket_perms;
 
        # apps run by systemd --user instances need to be able to read the
        # state of the systemd --user instance

Reply via email to