diff options
Diffstat (limited to 'recipes-security/refpolicy/refpolicy/0046-policy-modules-services-ssh-make-respective-init-scr.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy/0046-policy-modules-services-ssh-make-respective-init-scr.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/recipes-security/refpolicy/refpolicy/0046-policy-modules-services-ssh-make-respective-init-scr.patch b/recipes-security/refpolicy/refpolicy/0046-policy-modules-services-ssh-make-respective-init-scr.patch deleted file mode 100644 index fd8d527..0000000 --- a/recipes-security/refpolicy/refpolicy/0046-policy-modules-services-ssh-make-respective-init-scr.patch +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | From 20e6395a7e8bce552fb0190dbc57d836d763fc18 Mon Sep 17 00:00:00 2001 | ||
2 | From: Yi Zhao <yi.zhao@windriver.com> | ||
3 | Date: Sun, 28 Jun 2020 16:14:45 +0800 | ||
4 | Subject: [PATCH] policy/modules/services/ssh: make respective init scripts | ||
5 | create pid dirs with proper contexts | ||
6 | |||
7 | Fix sshd starup failure. | ||
8 | |||
9 | Upstream-Status: Inappropriate [embedded specific] | ||
10 | |||
11 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
12 | --- | ||
13 | policy/modules/services/ssh.te | 4 +--- | ||
14 | 1 file changed, 1 insertion(+), 3 deletions(-) | ||
15 | |||
16 | diff --git a/policy/modules/services/ssh.te b/policy/modules/services/ssh.te | ||
17 | index 2bbf50e84..ad0a1b7ad 100644 | ||
18 | --- a/policy/modules/services/ssh.te | ||
19 | +++ b/policy/modules/services/ssh.te | ||
20 | @@ -80,9 +80,7 @@ userdom_user_home_content(ssh_home_t) | ||
21 | type sshd_keytab_t; | ||
22 | files_type(sshd_keytab_t) | ||
23 | |||
24 | -ifdef(`distro_debian',` | ||
25 | - init_daemon_runtime_file(sshd_runtime_t, dir, "sshd") | ||
26 | -') | ||
27 | +init_daemon_runtime_file(sshd_runtime_t, dir, "sshd") | ||
28 | |||
29 | ############################## | ||
30 | # | ||
31 | -- | ||
32 | 2.17.1 | ||
33 | |||