diff options
Diffstat (limited to 'recipes-security/refpolicy/refpolicy/0009-fc-dmesg-apply-policy-to-dmesg-alternatives.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy/0009-fc-dmesg-apply-policy-to-dmesg-alternatives.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes-security/refpolicy/refpolicy/0009-fc-dmesg-apply-policy-to-dmesg-alternatives.patch b/recipes-security/refpolicy/refpolicy/0009-fc-dmesg-apply-policy-to-dmesg-alternatives.patch new file mode 100644 index 0000000..cc7eb7c --- /dev/null +++ b/recipes-security/refpolicy/refpolicy/0009-fc-dmesg-apply-policy-to-dmesg-alternatives.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | From 924ecc31c140dcd862d067849d4e11e111284165 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] fc/dmesg: apply policy to dmesg alternatives | ||
5 | |||
6 | Upstream-Status: Inappropriate [embedded specific] | ||
7 | |||
8 | Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> | ||
9 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
10 | --- | ||
11 | policy/modules/admin/dmesg.fc | 1 + | ||
12 | 1 file changed, 1 insertion(+) | ||
13 | |||
14 | diff --git a/policy/modules/admin/dmesg.fc b/policy/modules/admin/dmesg.fc | ||
15 | index e52fdfcf8..526b92ed2 100644 | ||
16 | --- a/policy/modules/admin/dmesg.fc | ||
17 | +++ b/policy/modules/admin/dmesg.fc | ||
18 | @@ -1 +1,2 @@ | ||
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 | -- | ||
22 | 2.17.1 | ||
23 | |||