diff options
Diffstat (limited to 'recipes-security/refpolicy/refpolicy/0009-fc-ssh-apply-policy-to-ssh-alternatives.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy/0009-fc-ssh-apply-policy-to-ssh-alternatives.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-security/refpolicy/refpolicy/0009-fc-ssh-apply-policy-to-ssh-alternatives.patch b/recipes-security/refpolicy/refpolicy/0009-fc-ssh-apply-policy-to-ssh-alternatives.patch new file mode 100644 index 0000000..585850b --- /dev/null +++ b/recipes-security/refpolicy/refpolicy/0009-fc-ssh-apply-policy-to-ssh-alternatives.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From 8ad451ceff2ba4ea26290a7ba9918406a90bb10f Mon Sep 17 00:00:00 2001 | ||
2 | From: Joe MacDonald <joe_macdonald@mentor.com> | ||
3 | Date: Fri, 29 Mar 2019 09:20:58 -0400 | ||
4 | Subject: [PATCH] fc/ssh: apply policy to ssh 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/services/ssh.fc | 1 + | ||
12 | 1 file changed, 1 insertion(+) | ||
13 | |||
14 | diff --git a/policy/modules/services/ssh.fc b/policy/modules/services/ssh.fc | ||
15 | index 60060c35c..518043a9b 100644 | ||
16 | --- a/policy/modules/services/ssh.fc | ||
17 | +++ b/policy/modules/services/ssh.fc | ||
18 | @@ -4,6 +4,7 @@ HOME_DIR/\.ssh(/.*)? gen_context(system_u:object_r:ssh_home_t,s0) | ||
19 | /etc/ssh/ssh_host.*_key -- gen_context(system_u:object_r:sshd_key_t,s0) | ||
20 | |||
21 | /usr/bin/ssh -- gen_context(system_u:object_r:ssh_exec_t,s0) | ||
22 | +/usr/bin/ssh\.openssh -- gen_context(system_u:object_r:ssh_exec_t,s0) | ||
23 | /usr/bin/ssh-agent -- gen_context(system_u:object_r:ssh_agent_exec_t,s0) | ||
24 | /usr/bin/ssh-keygen -- gen_context(system_u:object_r:ssh_keygen_exec_t,s0) | ||
25 | /usr/bin/sshd -- gen_context(system_u:object_r:sshd_exec_t,s0) | ||
26 | -- | ||
27 | 2.17.1 | ||
28 | |||