diff options
Diffstat (limited to 'recipes-security/refpolicy/refpolicy/0022-fc-screen-apply-policy-to-screen-alternatives.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy/0022-fc-screen-apply-policy-to-screen-alternatives.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes-security/refpolicy/refpolicy/0022-fc-screen-apply-policy-to-screen-alternatives.patch b/recipes-security/refpolicy/refpolicy/0022-fc-screen-apply-policy-to-screen-alternatives.patch new file mode 100644 index 0000000..7fba90e --- /dev/null +++ b/recipes-security/refpolicy/refpolicy/0022-fc-screen-apply-policy-to-screen-alternatives.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | From 7d78632d5553fcddf12dd57de56ff15b057625ab Mon Sep 17 00:00:00 2001 | ||
2 | From: Yi Zhao <yi.zhao@windriver.com> | ||
3 | Date: Fri, 15 Nov 2019 11:15:33 +0800 | ||
4 | Subject: [PATCH] fc/screen: apply policy to screen alternatives | ||
5 | |||
6 | Upstream-Status: Inappropriate [embedded specific] | ||
7 | |||
8 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
9 | --- | ||
10 | policy/modules/apps/screen.fc | 1 + | ||
11 | 1 file changed, 1 insertion(+) | ||
12 | |||
13 | diff --git a/policy/modules/apps/screen.fc b/policy/modules/apps/screen.fc | ||
14 | index e51e01d97..238dc263e 100644 | ||
15 | --- a/policy/modules/apps/screen.fc | ||
16 | +++ b/policy/modules/apps/screen.fc | ||
17 | @@ -7,4 +7,5 @@ HOME_DIR/\.tmux\.conf -- gen_context(system_u:object_r:screen_home_t,s0) | ||
18 | /run/tmux(/.*)? gen_context(system_u:object_r:screen_runtime_t,s0) | ||
19 | |||
20 | /usr/bin/screen -- gen_context(system_u:object_r:screen_exec_t,s0) | ||
21 | +/usr/bin/screen-.* -- gen_context(system_u:object_r:screen_exec_t,s0) | ||
22 | /usr/bin/tmux -- gen_context(system_u:object_r:screen_exec_t,s0) | ||
23 | -- | ||
24 | 2.25.1 | ||
25 | |||