From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 8819F138A1A for ; Sun, 23 Nov 2014 13:22:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2B1D3E083B; Sun, 23 Nov 2014 13:22:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DDB5EE083B for ; Sun, 23 Nov 2014 13:22:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 124A134050C for ; Sun, 23 Nov 2014 13:22:23 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B1CF5ABE1 for ; Sun, 23 Nov 2014 13:22:21 +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: <1416746768.74986b6148745779596c8604e6f6e489a2c89c13.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/openrc.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 74986b6148745779596c8604e6f6e489a2c89c13 X-VCS-Branch: master Date: Sun, 23 Nov 2014 13:22:21 +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: d808229a-f1c9-4872-a8ca-c904c87ca8e5 X-Archives-Hash: ff62e9ae2a5a52fe5e20560ed4f16912 commit: 74986b6148745779596c8604e6f6e489a2c89c13 Author: Sven Vermeulen siphos be> AuthorDate: Sun Nov 23 12:46:08 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Sun Nov 23 12:46:08 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=74986b61 OpenRC cgroup helper requires dac_override privilege Managing and updating cgroups through the kernel-invoked openrc cgroup helper has the helper run under root privileges, but accessing files (reading mostly) that are owned by a different user. --- policy/modules/contrib/openrc.te | 1 + 1 file changed, 1 insertion(+) diff --git a/policy/modules/contrib/openrc.te b/policy/modules/contrib/openrc.te index bf5a336..91afb6e 100644 --- a/policy/modules/contrib/openrc.te +++ b/policy/modules/contrib/openrc.te @@ -13,6 +13,7 @@ role system_r types openrc_cgroup_release_t; # OpenRC cgroup release policy # +allow openrc_cgroup_release_t self:capability dac_override; allow openrc_cgroup_release_t self:unix_stream_socket create_socket_perms; kernel_domtrans_to(openrc_cgroup_release_t, openrc_cgroup_release_exec_t) From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6398D1389E2 for ; Fri, 28 Nov 2014 10:04:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C051E08C0; Fri, 28 Nov 2014 10:04:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E5CD2E0896 for ; Fri, 28 Nov 2014 10:04:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A48573404DA for ; Fri, 28 Nov 2014 10:04:06 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D97C4B14C for ; Fri, 28 Nov 2014 10:04:03 +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: <1416746768.74986b6148745779596c8604e6f6e489a2c89c13.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/openrc.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 74986b6148745779596c8604e6f6e489a2c89c13 X-VCS-Branch: next Date: Fri, 28 Nov 2014 10:04:03 +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: 41f0c060-9d26-4f9a-9ae2-d996347edb91 X-Archives-Hash: 08b9a336606c106880cebe5db9570b23 Message-ID: <20141128100403.JkEYEFj1a22XXutDPQtQ3kmFPk8m8vxwy34sze1sjz4@z> commit: 74986b6148745779596c8604e6f6e489a2c89c13 Author: Sven Vermeulen siphos be> AuthorDate: Sun Nov 23 12:46:08 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Sun Nov 23 12:46:08 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=74986b61 OpenRC cgroup helper requires dac_override privilege Managing and updating cgroups through the kernel-invoked openrc cgroup helper has the helper run under root privileges, but accessing files (reading mostly) that are owned by a different user. --- policy/modules/contrib/openrc.te | 1 + 1 file changed, 1 insertion(+) diff --git a/policy/modules/contrib/openrc.te b/policy/modules/contrib/openrc.te index bf5a336..91afb6e 100644 --- a/policy/modules/contrib/openrc.te +++ b/policy/modules/contrib/openrc.te @@ -13,6 +13,7 @@ role system_r types openrc_cgroup_release_t; # OpenRC cgroup release policy # +allow openrc_cgroup_release_t self:capability dac_override; allow openrc_cgroup_release_t self:unix_stream_socket create_socket_perms; kernel_domtrans_to(openrc_cgroup_release_t, openrc_cgroup_release_exec_t) From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 75EA6138A1A for ; Sun, 23 Nov 2014 14:06:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8CAEDE086A; Sun, 23 Nov 2014 14:06:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 51D57E0850 for ; Sun, 23 Nov 2014 14:06:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7204734049E for ; Sun, 23 Nov 2014 14:06:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9860DABF9 for ; Sun, 23 Nov 2014 14:06:11 +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: <1416746768.74986b6148745779596c8604e6f6e489a2c89c13.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:bitcoin commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/openrc.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 74986b6148745779596c8604e6f6e489a2c89c13 X-VCS-Branch: bitcoin Date: Sun, 23 Nov 2014 14:06:11 +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: 3583d75c-474b-4f81-b804-de1cae8425b3 X-Archives-Hash: 85e779476f0f9f16e1823cb501a4ea2a Message-ID: <20141123140611.aZIOlq1BNoucyE4rGU63_djHDux1npMPBwGkHrYra8E@z> commit: 74986b6148745779596c8604e6f6e489a2c89c13 Author: Sven Vermeulen siphos be> AuthorDate: Sun Nov 23 12:46:08 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Sun Nov 23 12:46:08 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=74986b61 OpenRC cgroup helper requires dac_override privilege Managing and updating cgroups through the kernel-invoked openrc cgroup helper has the helper run under root privileges, but accessing files (reading mostly) that are owned by a different user. --- policy/modules/contrib/openrc.te | 1 + 1 file changed, 1 insertion(+) diff --git a/policy/modules/contrib/openrc.te b/policy/modules/contrib/openrc.te index bf5a336..91afb6e 100644 --- a/policy/modules/contrib/openrc.te +++ b/policy/modules/contrib/openrc.te @@ -13,6 +13,7 @@ role system_r types openrc_cgroup_release_t; # OpenRC cgroup release policy # +allow openrc_cgroup_release_t self:capability dac_override; allow openrc_cgroup_release_t self:unix_stream_socket create_socket_perms; kernel_domtrans_to(openrc_cgroup_release_t, openrc_cgroup_release_exec_t)