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 1E1FD138247 for ; Fri, 6 Dec 2013 17:48:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 13911E0AAD; Fri, 6 Dec 2013 17:48:13 +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 8DEA2E0A9D for ; Fri, 6 Dec 2013 17:48:12 +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 94B4F33F4BF for ; Fri, 6 Dec 2013 17:48:11 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 48457D0894 for ; Fri, 6 Dec 2013 17:48:10 +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: <1386352012.f7ac53bc7bf3d18bc929e9e1d19b11b692f948a8.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/system/unconfined.te X-VCS-Directories: policy/modules/system/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: f7ac53bc7bf3d18bc929e9e1d19b11b692f948a8 X-VCS-Branch: master Date: Fri, 6 Dec 2013 17:48:10 +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: 0f073e95-6e22-4db1-a46c-4882676d78e6 X-Archives-Hash: d952892bb93e388d90282566257d9781 commit: f7ac53bc7bf3d18bc929e9e1d19b11b692f948a8 Author: Sven Vermeulen siphos be> AuthorDate: Fri Dec 6 17:46:52 2013 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Fri Dec 6 17:46:52 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=f7ac53bc Move gentoo specific to lower part --- policy/modules/system/unconfined.te | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/policy/modules/system/unconfined.te b/policy/modules/system/unconfined.te index 3dd0858..d6dcf37 100644 --- a/policy/modules/system/unconfined.te +++ b/policy/modules/system/unconfined.te @@ -72,10 +72,6 @@ optional_policy(` ') optional_policy(` - chromium_role(unconfined_r, unconfined_t) -') - -optional_policy(` cron_unconfined_role(unconfined_r, unconfined_t) ') @@ -157,10 +153,6 @@ optional_policy(` ') optional_policy(` - rtorrent_role(unconfined_r, unconfined_t) -') - -optional_policy(` samba_run_net(unconfined_t, unconfined_r) samba_run_winbind_helper(unconfined_t, unconfined_r) ') @@ -198,10 +190,6 @@ optional_policy(` wine_domtrans(unconfined_t) ') -optional_policy(` - xserver_role(unconfined_r, unconfined_t) -') - ######################################## # # Unconfined Execmem Local policy @@ -213,3 +201,18 @@ unconfined_domain_noaudit(unconfined_execmem_t) optional_policy(` unconfined_dbus_chat(unconfined_execmem_t) ') + +ifdef(`distro_gentoo',` + + optional_policy(` + chromium_role(unconfined_r, unconfined_t) + ') + + optional_policy(` + rtorrent_role(unconfined_r, unconfined_t) + ') + + optional_policy(` + xserver_role(unconfined_r, unconfined_t) + ') +')