Gentoo Archives: gentoo-commits

From: Jason Zaman <perfinion@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/
Date: Thu, 31 Mar 2022 03:31:39
Message-Id: 1648694453.bbd6fcc9c8ff59bcde02b114d6985505e33e8d3f.perfinion@gentoo
1 commit: bbd6fcc9c8ff59bcde02b114d6985505e33e8d3f
2 Author: Jonathan Davies <jpds <AT> protonmail <DOT> com>
3 AuthorDate: Fri Mar 25 00:29:42 2022 +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=bbd6fcc9
7
8 systemd.if: Allowed reading systemd_userdbd_runtime_t symlinks in systemd_stream_connect_userdb().
9
10 Signed-off-by: Jonathan Davies <jpds <AT> protonmail.com>
11 Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>
12
13 policy/modules/system/systemd.if | 1 +
14 1 file changed, 1 insertion(+)
15
16 diff --git a/policy/modules/system/systemd.if b/policy/modules/system/systemd.if
17 index fc000ef9..b1616d21 100644
18 --- a/policy/modules/system/systemd.if
19 +++ b/policy/modules/system/systemd.if
20 @@ -1250,6 +1250,7 @@ interface(`systemd_stream_connect_userdb', `
21
22 init_search_runtime($1)
23 allow $1 systemd_userdbd_runtime_t:dir list_dir_perms;
24 + allow $1 systemd_userdbd_runtime_t:lnk_file read_lnk_file_perms;
25 stream_connect_pattern($1, systemd_userdbd_runtime_t, systemd_userdbd_runtime_t, systemd_userdbd_t)
26 init_unix_stream_socket_connectto($1)
27 ')