update selinux-server-custom; add selinux-desktop-custom
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
# Portage related
|
||||
/usr/bin/eix -- gen_context(system_u:object_r:portage_exec_t)
|
||||
/usr/bin/eix-sync -- gen_context(system_u:object_r:portage_exec_t)
|
||||
/usr/lib/python-exec/python[0-9]\.[0-9]*/ebuild -- gen_context(system_u:object_r:portage_exec_t)
|
||||
14
sec-policy/selinux-desktop-custom/files/desktop-custom.te
Normal file
14
sec-policy/selinux-desktop-custom/files/desktop-custom.te
Normal file
@@ -0,0 +1,14 @@
|
||||
policy_module(desktop-custom, 1.0.1)
|
||||
|
||||
gen_require(`
|
||||
type portage_t, portage_ebuild_t, cert_t;
|
||||
')
|
||||
|
||||
####### Policy
|
||||
|
||||
#============= portage_t ==============
|
||||
corenet_udp_bind_generic_node(portage_t)
|
||||
kernel_mounton_proc(portage_t)
|
||||
kernel_mount_proc(portage_t)
|
||||
allow portage_t portage_ebuild_t:file map;
|
||||
allow portage_t cert_t:file map;
|
||||
@@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
EAPI="5"
|
||||
|
||||
IUSE=""
|
||||
MODS="desktop-custom"
|
||||
POLICY_FILES="desktop-custom.te desktop-custom.fc"
|
||||
|
||||
inherit selinux-policy-2
|
||||
|
||||
DESCRIPTION="SELinux policy for custom desktop related things"
|
||||
|
||||
RDEPEND="sec-policy/selinux-base-policy"
|
||||
|
||||
if [[ $PV == 9999* ]] ; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="amd64 x86"
|
||||
fi
|
||||
Reference in New Issue
Block a user