summaryrefslogtreecommitdiffstats
path: root/recipes-security/refpolicy/refpolicy-git/poky-fc-dmesg.patch
blob: 6995bb5df7add8505c4a8f551c9b50e5b20e2d8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Subject: [PATCH] refpolicy: fix real path for dmesg

Upstream-Status: Inappropriate [configuration]

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
---
 policy/modules/admin/dmesg.fc |    1 +
 1 file changed, 1 insertion(+)

--- a/policy/modules/admin/dmesg.fc
+++ b/policy/modules/admin/dmesg.fc
@@ -1,4 +1,5 @@
 
 /bin/dmesg		--		gen_context(system_u:object_r:dmesg_exec_t,s0)
+/bin/dmesg\.util-linux	--		gen_context(system_u:object_r:dmesg_exec_t,s0)
 
 /usr/bin/dmesg		--		gen_context(system_u:object_r:dmesg_exec_t,s0)