diff options
author | Joe MacDonald <joe@deserted.net> | 2019-04-08 13:50:40 -0400 |
---|---|---|
committer | Joe MacDonald <joe@deserted.net> | 2019-04-12 15:28:38 -0400 |
commit | d6686698444616b9857a15bb514400f8a629e7ed (patch) | |
tree | 2ec0f484ec0a7d748ae4b9201d9179d622e727db /recipes-security/refpolicy/refpolicy-git/0034-policy-module-apache-add-rules-for-the-symlink-of-va.patch | |
parent | a6a3cadb1ef3203a123d8f5f9df27832f55b2ce3 (diff) | |
download | meta-selinux-d6686698444616b9857a15bb514400f8a629e7ed.tar.gz |
refpolicy: update to 2.20190201 and git HEAD policies
Additionally, the README has fallen out of date, update it to reflect the
current reality of layer dependencies.
Signed-off-by: Joe MacDonald <joe@deserted.net>
Diffstat (limited to 'recipes-security/refpolicy/refpolicy-git/0034-policy-module-apache-add-rules-for-the-symlink-of-va.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy-git/0034-policy-module-apache-add-rules-for-the-symlink-of-va.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes-security/refpolicy/refpolicy-git/0034-policy-module-apache-add-rules-for-the-symlink-of-va.patch b/recipes-security/refpolicy/refpolicy-git/0034-policy-module-apache-add-rules-for-the-symlink-of-va.patch new file mode 100644 index 0000000..03b1439 --- /dev/null +++ b/recipes-security/refpolicy/refpolicy-git/0034-policy-module-apache-add-rules-for-the-symlink-of-va.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From 2e2abdbc7a0e57a27518de0d879ecc84053203d8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Xin Ouyang <Xin.Ouyang@windriver.com> | ||
3 | Date: Thu, 22 Aug 2013 19:36:44 +0800 | ||
4 | Subject: [PATCH 34/34] policy/module/apache: add rules for the symlink of | ||
5 | /var/log - apache2 | ||
6 | |||
7 | We have added rules for the symlink of /var/log in logging.if, | ||
8 | while apache.te uses /var/log but does not use the interfaces in | ||
9 | logging.if. So still need add a individual rule for apache.te. | ||
10 | |||
11 | Upstream-Status: Inappropriate [only for Poky] | ||
12 | |||
13 | Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com> | ||
14 | Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> | ||
15 | --- | ||
16 | policy/modules/services/apache.te | 1 + | ||
17 | 1 file changed, 1 insertion(+) | ||
18 | |||
19 | diff --git a/policy/modules/services/apache.te b/policy/modules/services/apache.te | ||
20 | index 15c4ea53..596370b1 100644 | ||
21 | --- a/policy/modules/services/apache.te | ||
22 | +++ b/policy/modules/services/apache.te | ||
23 | @@ -412,6 +412,7 @@ create_files_pattern(httpd_t, httpd_log_t, httpd_log_t) | ||
24 | read_files_pattern(httpd_t, httpd_log_t, httpd_log_t) | ||
25 | setattr_files_pattern(httpd_t, httpd_log_t, httpd_log_t) | ||
26 | read_lnk_files_pattern(httpd_t, httpd_log_t, httpd_log_t) | ||
27 | +read_lnk_files_pattern(httpd_t, var_log_t, var_log_t) | ||
28 | logging_log_filetrans(httpd_t, httpd_log_t, file) | ||
29 | |||
30 | allow httpd_t httpd_modules_t:dir list_dir_perms; | ||
31 | -- | ||
32 | 2.19.1 | ||
33 | |||