Gentoo Archives: gentoo-commits

From: Sven Vermeulen <swift@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/contrib/
Date: Sat, 30 Nov 2013 15:05:27
Message-Id: 1385823710.517ad665066571c4a9c27ea3466897818dc4f93d.swift@gentoo
1 commit: 517ad665066571c4a9c27ea3466897818dc4f93d
2 Author: Dan Walsh <dwalsh <AT> redhat <DOT> com>
3 AuthorDate: Thu Nov 21 15:29:31 2013 +0000
4 Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 30 15:01:50 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=517ad665
7
8 Add apache labeling for glpi
9
10 ---
11 policy/modules/contrib/apache.fc | 4 ++++
12 1 file changed, 4 insertions(+)
13
14 diff --git a/policy/modules/contrib/apache.fc b/policy/modules/contrib/apache.fc
15 index 70cf26b..69d89db 100644
16 --- a/policy/modules/contrib/apache.fc
17 +++ b/policy/modules/contrib/apache.fc
18 @@ -7,6 +7,7 @@ HOME_DIR/((www)|(web)|(public_html))(/.*)?/logs(/.*)? gen_context(system_u:objec
19 /etc/apache-ssl(2)?(/.*)? gen_context(system_u:object_r:httpd_config_t,s0)
20 /etc/cherokee(/.*)? gen_context(system_u:object_r:httpd_config_t,s0)
21 /etc/drupal.* gen_context(system_u:object_r:httpd_sys_rw_content_t,s0)
22 +/etc/glpi(/.*)? gen_context(system_u:object_r:httpd_sys_rw_content_t,s0)
23 /etc/horde(/.*)? gen_context(system_u:object_r:httpd_sys_rw_content_t,s0)
24 /etc/htdig(/.*)? gen_context(system_u:object_r:httpd_sys_content_t,s0)
25 /etc/httpd(/.*)? gen_context(system_u:object_r:httpd_config_t,s0)
26 @@ -64,6 +65,7 @@ ifdef(`distro_suse',`
27
28 /usr/share/doc/ghc/html(/.*)? gen_context(system_u:object_r:httpd_sys_content_t,s0)
29 /usr/share/drupal.* gen_context(system_u:object_r:httpd_sys_content_t,s0)
30 +/usr/share/glpi(/.*)? gen_context(system_u:object_r:httpd_sys_content_t,s0)
31 /usr/share/htdig(/.*)? gen_context(system_u:object_r:httpd_sys_content_t,s0)
32 /usr/share/icecast(/.*)? gen_context(system_u:object_r:httpd_sys_content_t,s0)
33 /usr/share/jetty/bin/jetty\.sh -- gen_context(system_u:object_r:httpd_exec_t,s0)
34 @@ -102,6 +104,7 @@ ifdef(`distro_suse',`
35 /var/lib/php(/.*)? gen_context(system_u:object_r:httpd_var_lib_t,s0)
36 /var/lib/dokuwiki(/.*)? gen_context(system_u:object_r:httpd_sys_rw_content_t,s0)
37 /var/lib/drupal.* gen_context(system_u:object_r:httpd_sys_rw_content_t,s0)
38 +/var/lib/glpi(/.*)? gen_context(system_u:object_r:httpd_var_lib_t,s0)
39 /var/lib/htdig(/.*)? gen_context(system_u:object_r:httpd_sys_content_t,s0)
40 /var/lib/httpd(/.*)? gen_context(system_u:object_r:httpd_var_lib_t,s0)
41 /var/lib/lighttpd(/.*)? gen_context(system_u:object_r:httpd_var_lib_t,s0)
42 @@ -120,6 +123,7 @@ ifdef(`distro_suse',`
43 /var/log/cgiwrap\.log.* -- gen_context(system_u:object_r:httpd_log_t,s0)
44 /var/log/cherokee(/.*)? gen_context(system_u:object_r:httpd_log_t,s0)
45 /var/log/dirsrv/admin-serv(/.*)? gen_context(system_u:object_r:httpd_log_t,s0)
46 +/var/log/glpi(/.*)? gen_context(system_u:object_r:httpd_log_t,s0)
47 /var/log/httpd(/.*)? gen_context(system_u:object_r:httpd_log_t,s0)
48 /var/log/horde2(/.*)? gen_context(system_u:object_r:httpd_log_t,s0)
49 /var/log/lighttpd(/.*)? gen_context(system_u:object_r:httpd_log_t,s0)