From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 38D1A1582EF for ; Sat, 08 Mar 2025 23:55:16 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 2159C343072 for ; Sat, 08 Mar 2025 23:55:16 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 3E5691103C7; Sat, 08 Mar 2025 23:55:07 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 2F4551103C7 for ; Sat, 08 Mar 2025 23:55:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DD70C33BE12 for ; Sat, 08 Mar 2025 23:55:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 051C628A1 for ; Sat, 08 Mar 2025 23:55:04 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1741474868.d356f85bd6c77f68faf3ad74df1a5ad6b0c8dbdd.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/admin/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/admin/usermanage.te X-VCS-Directories: policy/modules/admin/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: d356f85bd6c77f68faf3ad74df1a5ad6b0c8dbdd X-VCS-Branch: master Date: Sat, 08 Mar 2025 23:55:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 77503ebf-cb98-46cf-8854-ee49f0fbed4b X-Archives-Hash: 506d2e7d36656fe5e807acfe916ae751 commit: d356f85bd6c77f68faf3ad74df1a5ad6b0c8dbdd Author: Tianjia Zhang linux alibaba com> AuthorDate: Mon Dec 30 07:44:12 2024 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sat Mar 8 23:01:08 2025 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=d356f85b usermanage: grant passwd_t dac_read_search capability denied { dac_read_search } for pid=20682 comm="chage" capability=2 scontext=sysadm_u:sysadm_r:passwd_t:s0-s15:c0.c1023 tcontext=sysadm_u:sysadm_r:passwd_t:s0-s15:c0.c1023 tclass=capability permissive=1 Signed-off-by: Tianjia Zhang linux.alibaba.com> Signed-off-by: Jason Zaman gentoo.org> policy/modules/admin/usermanage.te | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policy/modules/admin/usermanage.te b/policy/modules/admin/usermanage.te index 22ca1b569..cd074ef9d 100644 --- a/policy/modules/admin/usermanage.te +++ b/policy/modules/admin/usermanage.te @@ -303,7 +303,7 @@ optional_policy(` # Passwd local policy # -allow passwd_t self:capability { chown dac_override fsetid setgid setuid sys_nice sys_resource }; +allow passwd_t self:capability { chown dac_override dac_read_search fsetid setgid setuid sys_nice sys_resource }; dontaudit passwd_t self:capability sys_tty_config; allow passwd_t self:process { dyntransition getattr getcap getpgid getrlimit getsched getsession noatsecure rlimitinh setcap setfscreate setkeycreate setpgid setrlimit setsched setsockcreate share siginh signal_perms transition }; allow passwd_t self:fd use;