commit:     a219e5b1d01662788f5c475a73d38b2404e13772
Author:     Laurent Bigonville <bigon <AT> bigon <DOT> be>
AuthorDate: Mon Mar  3 22:59:24 2014 +0000
Commit:     Sven Vermeulen <swift <AT> gentoo <DOT> org>
CommitDate: Mon Mar 17 08:19:34 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=a219e5b1

Properly label git-shell and other git commands for Debian

---
 policy/modules/kernel/corecommands.fc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/policy/modules/kernel/corecommands.fc 
b/policy/modules/kernel/corecommands.fc
index 9652430..7ef2dd5 100644
--- a/policy/modules/kernel/corecommands.fc
+++ b/policy/modules/kernel/corecommands.fc
@@ -218,6 +218,8 @@ ifdef(`distro_gentoo',`
 /usr/lib/dpkg/.+               --      gen_context(system_u:object_r:bin_t,s0)
 /usr/lib/emacsen-common/.*             gen_context(system_u:object_r:bin_t,s0)
 /usr/lib/gimp/.*/plug-ins(/.*)?                
gen_context(system_u:object_r:bin_t,s0)
+/usr/lib/git-core/git-shell    --      
gen_context(system_u:object_r:shell_exec_t,s0)
+/usr/lib/git-core(/.*)         --      gen_context(system_u:object_r:bin_t,s0)
 /usr/lib/gnome-settings-daemon/.* --   gen_context(system_u:object_r:bin_t,s0)
 /usr/lib/gvfs/.*               --      gen_context(system_u:object_r:bin_t,s0)
 /usr/lib/ipsec/.*              --      gen_context(system_u:object_r:bin_t,s0)

Reply via email to