Skip to contentSkip to conversation

Label /usr/share/gitweb/static as httpd_sys_content_t

PATCH New Nicolas Iooss 2 participants 2 messages Mar 15, 2014 – Apr 4, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Label /usr/share/gitweb/static as httpd_sys_content_t

This directory contains gitweb static files at least on Debian and ArchLinux.

---
 apache.fc | 1 +
 1 file changed, 1 insertion(+)
apache.fc +1 -0
index 4e90b04..6d0274c 100644
@@ -66,6 +66,7 @@ ifdef(`distro_suse',`
 /usr/share/dirsrv(/.*)?	gen_context(system_u:object_r:httpd_sys_content_t,s0)
 /usr/share/doc/ghc/html(/.*)?	gen_context(system_u:object_r:httpd_sys_content_t,s0)
 /usr/share/drupal.*	gen_context(system_u:object_r:httpd_sys_content_t,s0)
+/usr/share/gitweb/static(/.*)?	gen_context(system_u:object_r:httpd_sys_content_t,s0)
 /usr/share/glpi(/.*)?	gen_context(system_u:object_r:httpd_sys_content_t,s0)
 /usr/share/htdig(/.*)?	gen_context(system_u:object_r:httpd_sys_content_t,s0)
 /usr/share/icecast(/.*)?	gen_context(system_u:object_r:httpd_sys_content_t,s0)
Signature · 1 line
1.9.0
#1 lore raw

PATCH 1/1 Label /usr/share/gitweb/static as httpd_sys_content_t

Quoted 10 lines · Nicolas Iooss

This directory contains gitweb static files at least on Debian and ArchLinux.

---
 apache.fc | 1 +
 1 file changed, 1 insertion(+)
apache.fc +0 -0
index 4e90b04..6d0274c 100644

apache.fc ifdef(`distro_suse',` · line 72

Quoted 7 lines
apache.fc +1 -0
@@ -66,6 +66,7 @@ ifdef(`distro_suse',`
 /usr/share/dirsrv(/.*)?	gen_context(system_u:object_r:httpd_sys_content_t,s0)
 /usr/share/doc/ghc/html(/.*)?	gen_context(system_u:object_r:httpd_sys_content_t,s0)
 /usr/share/drupal.*	gen_context(system_u:object_r:httpd_sys_content_t,s0)
+/usr/share/gitweb/static(/.*)?	gen_context(system_u:object_r:httpd_sys_content_t,s0)
 /usr/share/glpi(/.*)?	gen_context(system_u:object_r:httpd_sys_content_t,s0)
 /usr/share/htdig(/.*)?	gen_context(system_u:object_r:httpd_sys_content_t,s0)
 /usr/share/icecast(/.*)?	gen_context(system_u:object_r:httpd_sys_content_t,s0)

I believe we want to add fc entries in the git module instead.

Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com