All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [PATCH] Properly label git-daemon and gitweb.cgi on Debian
@ 2014-02-08 13:28 Laurent Bigonville
  2014-02-08 13:53 ` Christopher J. PeBenito
  0 siblings, 1 reply; 2+ messages in thread
From: Laurent Bigonville @ 2014-02-08 13:28 UTC (permalink / raw)
  To: refpolicy

From: Laurent Bigonville <bigon@bigon.be>

---
 git.fc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/git.fc b/git.fc
index 24700f8..96bba87 100644
--- a/git.fc
+++ b/git.fc
@@ -1,7 +1,11 @@
 HOME_DIR/public_git(/.*)?	gen_context(system_u:object_r:git_user_content_t,s0)
 
+/usr/lib/git-core/git-daemon	--	gen_context(system_u:object_r:gitd_exec_t,s0)
+
 /usr/libexec/git-core/git-daemon	--	gen_context(system_u:object_r:gitd_exec_t,s0)
 
+/usr/share/gitweb/gitweb\.cgi	--	gen_context(system_u:object_r:httpd_git_script_exec_t,s0)
+
 /var/cache/cgit(/.*)?	gen_context(system_u:object_r:httpd_git_rw_content_t,s0)
 /var/cache/gitweb-caching(/.*)?	gen_context(system_u:object_r:httpd_git_rw_content_t,s0)
 
-- 
1.9.0.rc3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-08 13:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-08 13:28 [refpolicy] [PATCH] Properly label git-daemon and gitweb.cgi on Debian Laurent Bigonville
2014-02-08 13:53 ` Christopher J. PeBenito

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.