diff options
Diffstat (limited to 'recipes-security/refpolicy/refpolicy-2.20190201/0010-fc-dmesg-apply-policy-to-dmesg-alternatives.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy-2.20190201/0010-fc-dmesg-apply-policy-to-dmesg-alternatives.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes-security/refpolicy/refpolicy-2.20190201/0010-fc-dmesg-apply-policy-to-dmesg-alternatives.patch b/recipes-security/refpolicy/refpolicy-2.20190201/0010-fc-dmesg-apply-policy-to-dmesg-alternatives.patch new file mode 100644 index 0000000..dc715c4 --- /dev/null +++ b/recipes-security/refpolicy/refpolicy-2.20190201/0010-fc-dmesg-apply-policy-to-dmesg-alternatives.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | From 0ee40e0a68645e23f59842929629a94ebe9873b4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Joe MacDonald <joe_macdonald@mentor.com> | ||
3 | Date: Fri, 29 Mar 2019 08:26:55 -0400 | ||
4 | Subject: [PATCH 10/34] fc/dmesg: apply policy to dmesg alternatives | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> | ||
9 | --- | ||
10 | policy/modules/admin/dmesg.fc | 4 +++- | ||
11 | 1 file changed, 3 insertions(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/policy/modules/admin/dmesg.fc b/policy/modules/admin/dmesg.fc | ||
14 | index e52fdfcf..85d15127 100644 | ||
15 | --- a/policy/modules/admin/dmesg.fc | ||
16 | +++ b/policy/modules/admin/dmesg.fc | ||
17 | @@ -1 +1,3 @@ | ||
18 | -/usr/bin/dmesg -- gen_context(system_u:object_r:dmesg_exec_t,s0) | ||
19 | +/usr/bin/dmesg -- gen_context(system_u:object_r:dmesg_exec_t,s0) | ||
20 | +/usr/bin/dmesg\.util-linux -- gen_context(system_u:object_r:dmesg_exec_t,s0) | ||
21 | +/usr/lib/busybox/bin/dmesg -- gen_context(system_u:object_r:dmesg_exec_t,s0) | ||
22 | -- | ||
23 | 2.19.1 | ||
24 | |||