diff options
Diffstat (limited to 'recipes-security/refpolicy/refpolicy-git/0023-policy-module-terminals-don-t-audit-tty_device_t-in-.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy-git/0023-policy-module-terminals-don-t-audit-tty_device_t-in-.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/recipes-security/refpolicy/refpolicy-git/0023-policy-module-terminals-don-t-audit-tty_device_t-in-.patch b/recipes-security/refpolicy/refpolicy-git/0023-policy-module-terminals-don-t-audit-tty_device_t-in-.patch deleted file mode 100644 index 06f9207..0000000 --- a/recipes-security/refpolicy/refpolicy-git/0023-policy-module-terminals-don-t-audit-tty_device_t-in-.patch +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | From 3f5a9b987211ef511bfd1c76b1a7dffad51fba0c 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 23/34] policy/module/terminals: don't audit tty_device_t in | ||
5 | term_dontaudit_use_console. | ||
6 | |||
7 | We should also not audit terminal to rw tty_device_t and fds in | ||
8 | term_dontaudit_use_console. | ||
9 | |||
10 | Upstream-Status: Inappropriate [only for Poky] | ||
11 | |||
12 | Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com> | ||
13 | Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> | ||
14 | --- | ||
15 | policy/modules/kernel/terminal.if | 3 +++ | ||
16 | 1 file changed, 3 insertions(+) | ||
17 | |||
18 | diff --git a/policy/modules/kernel/terminal.if b/policy/modules/kernel/terminal.if | ||
19 | index a84787e6..cf66da2f 100644 | ||
20 | --- a/policy/modules/kernel/terminal.if | ||
21 | +++ b/policy/modules/kernel/terminal.if | ||
22 | @@ -335,9 +335,12 @@ interface(`term_use_console',` | ||
23 | interface(`term_dontaudit_use_console',` | ||
24 | gen_require(` | ||
25 | type console_device_t; | ||
26 | + type tty_device_t; | ||
27 | ') | ||
28 | |||
29 | + init_dontaudit_use_fds($1) | ||
30 | dontaudit $1 console_device_t:chr_file rw_chr_file_perms; | ||
31 | + dontaudit $1 tty_device_t:chr_file rw_chr_file_perms; | ||
32 | ') | ||
33 | |||
34 | ######################################## | ||
35 | -- | ||
36 | 2.19.1 | ||
37 | |||