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: Sun, 21 Nov 2021 23:20:29
Message-Id: 1637536477.f993307d3d070eb457f5ceb2da37c395d61ce630.perfinion@gentoo
1 commit: f993307d3d070eb457f5ceb2da37c395d61ce630
2 Author: Jonathan Davies <jpds <AT> protonmail <DOT> com>
3 AuthorDate: Tue Apr 6 09:30:18 2021 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 21 23:14:37 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=f993307d
7
8 getty.te: Allow access to search /var/lib/.
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/getty.te | 2 ++
14 1 file changed, 2 insertions(+)
15
16 diff --git a/policy/modules/system/getty.te b/policy/modules/system/getty.te
17 index e6e76a93..724e31ad 100644
18 --- a/policy/modules/system/getty.te
19 +++ b/policy/modules/system/getty.te
20 @@ -100,6 +100,8 @@ ifdef(`distro_gentoo',`
21 # Gentoo default /etc/issue makes agetty
22 # do a DNS lookup for the hostname
23 sysnet_dns_name_resolve(getty_t)
24 +
25 + files_search_var_lib(getty_t)
26 ')
27
28 ifdef(`distro_ubuntu',`