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 34FB21381F3 for ; Thu, 15 Aug 2013 12:18:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BD5A8E0DEF; Thu, 15 Aug 2013 12:18:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5849BE0DEF for ; Thu, 15 Aug 2013 12:18:37 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5FAE533EC54 for ; Thu, 15 Aug 2013 12:18:36 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id E06F8E468F for ; Thu, 15 Aug 2013 12:18:34 +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: <1376568746.88294dbc653fa12f86943bd5064b8a2f7dfc1a40.SwifT@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/su.if X-VCS-Directories: policy/modules/admin/ X-VCS-Committer: SwifT X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 88294dbc653fa12f86943bd5064b8a2f7dfc1a40 X-VCS-Branch: master Date: Thu, 15 Aug 2013 12:18:34 +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: 66dbd977-58ca-46d3-bf41-91c37d52b9b7 X-Archives-Hash: e0a0f5fa24204cc189e36b4e4e28ceb5 commit: 88294dbc653fa12f86943bd5064b8a2f7dfc1a40 Author: Sven Vermeulen siphos be> AuthorDate: Thu Aug 15 12:12:26 2013 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Thu Aug 15 12:12:26 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=88294dbc Moved into distro_gentoo blocks --- policy/modules/admin/su.if | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/policy/modules/admin/su.if b/policy/modules/admin/su.if index c9196e3..5437f9c 100644 --- a/policy/modules/admin/su.if +++ b/policy/modules/admin/su.if @@ -73,7 +73,6 @@ template(`su_restricted_domain_template', ` # for the rootok check selinux_compute_access_vector($1_su_t) - selinux_get_fs_mount($1_su_t) auth_domtrans_chk_passwd($1_su_t) auth_dontaudit_read_shadow($1_su_t) @@ -137,6 +136,10 @@ template(`su_restricted_domain_template', ` # used when the password has expired usermanage_read_crack_db($1_su_t) ') + + ifdef(`distro_gentoo',` + selinux_get_fs_mount($1_su_t) + ') ') ####################################### @@ -206,7 +209,6 @@ template(`su_role_template',` # needed for pam_rootok selinux_compute_access_vector($1_su_t) - selinux_get_fs_mount($1_su_t) auth_domtrans_chk_passwd($1_su_t) auth_dontaudit_read_shadow($1_su_t) @@ -315,6 +317,10 @@ template(`su_role_template',` xserver_user_home_dir_filetrans_user_xauth($1_su_t) xserver_domtrans_xauth($1_su_t) ') + + ifdef(`distro_gentoo',` + selinux_get_fs_mount($1_su_t) + ') ') #######################################