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:37
Message-Id: 1648694453.621173ccfc704a796406e112f0342aae3f3bd803.perfinion@gentoo
1 commit: 621173ccfc704a796406e112f0342aae3f3bd803
2 Author: Kenton Groombridge <me <AT> concord <DOT> sh>
3 AuthorDate: Fri Nov 12 22:23:37 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=621173cc
7
8 authlogin: dontaudit getcap chkpwd
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/authlogin.te | 1 +
14 1 file changed, 1 insertion(+)
15
16 diff --git a/policy/modules/system/authlogin.te b/policy/modules/system/authlogin.te
17 index 286bf52e..f4741e3a 100644
18 --- a/policy/modules/system/authlogin.te
19 +++ b/policy/modules/system/authlogin.te
20 @@ -109,6 +109,7 @@ optional_policy(`
21 allow chkpwd_t self:capability { dac_override setuid };
22 dontaudit chkpwd_t self:capability sys_tty_config;
23 allow chkpwd_t self:process { getattr signal };
24 +dontaudit chkpwd_t self:process getcap;
25
26 allow chkpwd_t shadow_t:file read_file_perms;
27 files_list_etc(chkpwd_t)