commit: 1682e5c2811be74ff6fb847d878e129e3dbb7214 Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> AuthorDate: Sat Nov 22 17:32:37 2014 +0000 Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org> CommitDate: Sat Nov 22 17:32:37 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=1682e5c2
Move Portage bin definition to portage module (core filedefs can be in module in Gentoo) --- policy/modules/contrib/portage.fc | 1 + policy/modules/kernel/corecommands.fc | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/policy/modules/contrib/portage.fc b/policy/modules/contrib/portage.fc index 2eaa62c..119043b 100644 --- a/policy/modules/contrib/portage.fc +++ b/policy/modules/contrib/portage.fc @@ -2,6 +2,7 @@ /etc/make\.globals -- gen_context(system_u:object_r:portage_conf_t,s0) /etc/make\.profile -l gen_context(system_u:object_r:portage_conf_t,s0) /etc/portage(/.*)? gen_context(system_u:object_r:portage_conf_t,s0) +/etc/portage/bin(/.*)? -- gen_context(system_u:object_r:bin_t,s0) /etc/portage/gpg(/.*)? gen_context(system_u:object_r:portage_gpg_t,s0) /usr/bin/gcc-config -- gen_context(system_u:object_r:gcc_config_exec_t,s0) diff --git a/policy/modules/kernel/corecommands.fc b/policy/modules/kernel/corecommands.fc index 7e1b58c..58b5a6e 100644 --- a/policy/modules/kernel/corecommands.fc +++ b/policy/modules/kernel/corecommands.fc @@ -89,8 +89,6 @@ ifdef(`distro_redhat',` /etc/pm/power\.d(/.*)? gen_context(system_u:object_r:bin_t,s0) /etc/pm/sleep\.d(/.*)? gen_context(system_u:object_r:bin_t,s0) -/etc/portage/bin(/.*)? -- gen_context(system_u:object_r:bin_t,s0) - /etc/ppp/ip-down\..* -- gen_context(system_u:object_r:bin_t,s0) /etc/ppp/ip-up\..* -- gen_context(system_u:object_r:bin_t,s0) /etc/ppp/ipv6-up\..* -- gen_context(system_u:object_r:bin_t,s0)
