diff options
Diffstat (limited to 'recipes-security/refpolicy/refpolicy-2.20170204/poky-policy-add-syslogd_t-to-trusted-object.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy-2.20170204/poky-policy-add-syslogd_t-to-trusted-object.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/recipes-security/refpolicy/refpolicy-2.20170204/poky-policy-add-syslogd_t-to-trusted-object.patch b/recipes-security/refpolicy/refpolicy-2.20170204/poky-policy-add-syslogd_t-to-trusted-object.patch deleted file mode 100644 index dc623d3..0000000 --- a/recipes-security/refpolicy/refpolicy-2.20170204/poky-policy-add-syslogd_t-to-trusted-object.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | From 27e62a5d9ab9993760369ccdad83673e9148cbb2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Xin Ouyang <Xin.Ouyang@windriver.com> | ||
3 | Date: Thu, 22 Aug 2013 13:37:23 +0800 | ||
4 | Subject: [PATCH 1/6] Add the syslogd_t to trusted object | ||
5 | |||
6 | We add the syslogd_t to trusted object, because other process need | ||
7 | to have the right to connectto/sendto /dev/log. | ||
8 | |||
9 | Upstream-Status: Inappropriate [only for Poky] | ||
10 | |||
11 | Signed-off-by: Roy.Li <rongqing.li@windriver.com> | ||
12 | Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com> | ||
13 | Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> | ||
14 | --- | ||
15 | policy/modules/system/logging.te | 1 + | ||
16 | 1 file changed, 1 insertion(+) | ||
17 | |||
18 | --- a/policy/modules/system/logging.te | ||
19 | +++ b/policy/modules/system/logging.te | ||
20 | @@ -477,10 +477,11 @@ files_var_lib_filetrans(syslogd_t, syslo | ||
21 | |||
22 | fs_getattr_all_fs(syslogd_t) | ||
23 | fs_search_auto_mountpoints(syslogd_t) | ||
24 | |||
25 | mls_file_write_all_levels(syslogd_t) # Need to be able to write to /var/run/ and /var/log directories | ||
26 | +mls_trusted_object(syslogd_t) # Other process need to have the right to connectto/sendto /dev/log | ||
27 | |||
28 | term_write_console(syslogd_t) | ||
29 | # Allow syslog to a terminal | ||
30 | term_write_unallocated_ttys(syslogd_t) | ||
31 | |||