summaryrefslogtreecommitdiffstats
path: root/recipes-security/refpolicy/refpolicy-2.20120725/poky-fc-screen.patch
blob: ff4a2fdd536bb610bf36fcb58e518579e6a04cf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Subject: [PATCH] refpolicy: fix real path for screen

Upstream-Status: Inappropriate [configuration]

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

diff --git a/policy/modules/contrib/screen.fc b/policy/modules/contrib/screen.fc
index c8254dd..4a321d1 100644
--- a/policy/modules/contrib/screen.fc
+++ b/policy/modules/contrib/screen.fc
@@ -8,6 +8,7 @@ HOME_DIR/\.screenrc		--	gen_context(system_u:object_r:screen_home_t,s0)
 # /usr
 #
 /usr/bin/screen			--	gen_context(system_u:object_r:screen_exec_t,s0)
+/usr/bin/screen-.*		--	gen_context(system_u:object_r:screen_exec_t,s0)
 
 #
 # /var
-- 
1.7.11.7