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 4F81513888F for ; Sat, 10 Oct 2015 16:11:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 656C0E0845; Sat, 10 Oct 2015 16:11:05 +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 0F241E0845 for ; Sat, 10 Oct 2015 16:11:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C24BF33BF44 for ; Sat, 10 Oct 2015 16:11:03 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0EFE9B9 for ; Sat, 10 Oct 2015 16:11:02 +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: <1444493355.deb9b102fb562bc57e776cba6c1dee7c674c76ac.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/services/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/services/postgresql.fc X-VCS-Directories: policy/modules/services/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: deb9b102fb562bc57e776cba6c1dee7c674c76ac X-VCS-Branch: master Date: Sat, 10 Oct 2015 16:11:02 +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: cdb2fda5-34ea-47d0-a86d-af61545bf574 X-Archives-Hash: 92c080401029e469ed6d02723b2d74e2 commit: deb9b102fb562bc57e776cba6c1dee7c674c76ac Author: Luis Ressel aixah de> AuthorDate: Sat Oct 10 15:36:32 2015 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sat Oct 10 16:09:15 2015 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=deb9b102 services/postgresql.fc: Drop obsolete distro_gentoo block Only some of the binaries in /usr/lib/postgresql-.../bin should be marked postgresql_exec_t (e.g. pg_ctl), the others (e.g. psql) should get a bin_t marking so they're user-accessible. refpolicy applies correct labels since last year (commit 3738cf10), but this ifdef block still overrides them on Gentoo. policy/modules/services/postgresql.fc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/policy/modules/services/postgresql.fc b/policy/modules/services/postgresql.fc index 2a1b1a3..d3bc4bb 100644 --- a/policy/modules/services/postgresql.fc +++ b/policy/modules/services/postgresql.fc @@ -54,8 +54,3 @@ ifdef(`distro_redhat', ` /var/run/postgresql(/.*)? gen_context(system_u:object_r:postgresql_var_run_t,s0) /var/run/postmaster.* gen_context(system_u:object_r:postgresql_var_run_t,s0) - -ifdef(`distro_gentoo',` -/usr/lib/postgresql-.*/bin/.* -- gen_context(system_u:object_r:postgresql_exec_t,s0) -') - 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 D89E4138BED for ; Sun, 11 Oct 2015 10:48:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1AFB121C028; Sun, 11 Oct 2015 10:48:42 +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 ACCC521C05A for ; Sun, 11 Oct 2015 10:48:40 +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 D509F340676 for ; Sun, 11 Oct 2015 10:48:39 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A75E3DF5 for ; Sun, 11 Oct 2015 10:48:35 +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: <1444493355.deb9b102fb562bc57e776cba6c1dee7c674c76ac.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/services/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/services/postgresql.fc X-VCS-Directories: policy/modules/services/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: deb9b102fb562bc57e776cba6c1dee7c674c76ac X-VCS-Branch: next Date: Sun, 11 Oct 2015 10:48:35 +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: fae76fac-3378-4a82-b680-5a502e94d064 X-Archives-Hash: f12cac0c391a7fc9f19e436da8417b72 Message-ID: <20151011104835.KZ_KY2afauZQ7s74V5DaWbTLH13J0vaHfUItRsSdo40@z> commit: deb9b102fb562bc57e776cba6c1dee7c674c76ac Author: Luis Ressel aixah de> AuthorDate: Sat Oct 10 15:36:32 2015 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sat Oct 10 16:09:15 2015 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=deb9b102 services/postgresql.fc: Drop obsolete distro_gentoo block Only some of the binaries in /usr/lib/postgresql-.../bin should be marked postgresql_exec_t (e.g. pg_ctl), the others (e.g. psql) should get a bin_t marking so they're user-accessible. refpolicy applies correct labels since last year (commit 3738cf10), but this ifdef block still overrides them on Gentoo. policy/modules/services/postgresql.fc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/policy/modules/services/postgresql.fc b/policy/modules/services/postgresql.fc index 2a1b1a3..d3bc4bb 100644 --- a/policy/modules/services/postgresql.fc +++ b/policy/modules/services/postgresql.fc @@ -54,8 +54,3 @@ ifdef(`distro_redhat', ` /var/run/postgresql(/.*)? gen_context(system_u:object_r:postgresql_var_run_t,s0) /var/run/postmaster.* gen_context(system_u:object_r:postgresql_var_run_t,s0) - -ifdef(`distro_gentoo',` -/usr/lib/postgresql-.*/bin/.* -- gen_context(system_u:object_r:postgresql_exec_t,s0) -') -