From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 65C7F1382DE for ; Sun, 3 Jul 2016 11:34:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AB345141B2; Sun, 3 Jul 2016 11:34:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0AB38141AD for ; Sun, 3 Jul 2016 11:34:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4AEE6340DCA for ; Sun, 3 Jul 2016 11:34:19 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5994A2452 for ; Sun, 3 Jul 2016 11:34:15 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1467545546.9771f955615ba799aa321147a1730dda60e99a00.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:swift commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/certmonger.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 9771f955615ba799aa321147a1730dda60e99a00 X-VCS-Branch: swift Date: Sun, 3 Jul 2016 11:34:15 +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-Archives-Salt: a03f3f24-f0d8-4de0-a935-7bf794557360 X-Archives-Hash: 701911b147d06b798d94edd7c9de2a50 commit: 9771f955615ba799aa321147a1730dda60e99a00 Author: Adam Tkac gooddata com> AuthorDate: Tue Jun 21 13:08:33 2016 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Sun Jul 3 11:32:26 2016 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=9771f955 Grant certmonger "chown" capability After autorenewal of the certificate, "chown" capability is needed to change certificate user/group to daemon's user/group. policy/modules/contrib/certmonger.te | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policy/modules/contrib/certmonger.te b/policy/modules/contrib/certmonger.te index 7c3126e..034ffa3 100644 --- a/policy/modules/contrib/certmonger.te +++ b/policy/modules/contrib/certmonger.te @@ -23,7 +23,7 @@ files_pid_file(certmonger_var_run_t) # Local policy # -allow certmonger_t self:capability { dac_override dac_read_search setgid setuid kill sys_nice }; +allow certmonger_t self:capability { chown dac_override dac_read_search setgid setuid kill sys_nice }; dontaudit certmonger_t self:capability sys_tty_config; allow certmonger_t self:capability2 block_suspend; allow certmonger_t self:process { getsched setsched sigkill signal }; From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C398C1382DE for ; Sun, 3 Jul 2016 11:33:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 92052E0AE6; Sun, 3 Jul 2016 11:33:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 99CAEE0AE6 for ; Sun, 3 Jul 2016 11:33:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8CE56340DB5 for ; Sun, 3 Jul 2016 11:33:09 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B068D2441 for ; Sun, 3 Jul 2016 11:33:05 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1467545546.9771f955615ba799aa321147a1730dda60e99a00.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/certmonger.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 9771f955615ba799aa321147a1730dda60e99a00 X-VCS-Branch: master Date: Sun, 3 Jul 2016 11:33:05 +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-Archives-Salt: df3b8a0c-bcfe-47aa-9e2a-0817e101d2e8 X-Archives-Hash: 3a6bfa80c1f3ff25a8e8c5f2ffcc28e1 Message-ID: <20160703113305.0MKNkslawZhTfE-vOMo5R6WTdRqcUNpomFQTY2eHVvw@z> commit: 9771f955615ba799aa321147a1730dda60e99a00 Author: Adam Tkac gooddata com> AuthorDate: Tue Jun 21 13:08:33 2016 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Sun Jul 3 11:32:26 2016 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=9771f955 Grant certmonger "chown" capability After autorenewal of the certificate, "chown" capability is needed to change certificate user/group to daemon's user/group. policy/modules/contrib/certmonger.te | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policy/modules/contrib/certmonger.te b/policy/modules/contrib/certmonger.te index 7c3126e..034ffa3 100644 --- a/policy/modules/contrib/certmonger.te +++ b/policy/modules/contrib/certmonger.te @@ -23,7 +23,7 @@ files_pid_file(certmonger_var_run_t) # Local policy # -allow certmonger_t self:capability { dac_override dac_read_search setgid setuid kill sys_nice }; +allow certmonger_t self:capability { chown dac_override dac_read_search setgid setuid kill sys_nice }; dontaudit certmonger_t self:capability sys_tty_config; allow certmonger_t self:capability2 block_suspend; allow certmonger_t self:process { getsched setsched sigkill signal };