diff options
Diffstat (limited to 'recipes-security/refpolicy/refpolicy/0006-fc-login-apply-login-context-to-login.shadow.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy/0006-fc-login-apply-login-context-to-login.shadow.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/recipes-security/refpolicy/refpolicy/0006-fc-login-apply-login-context-to-login.shadow.patch b/recipes-security/refpolicy/refpolicy/0006-fc-login-apply-login-context-to-login.shadow.patch index 30bbe07..b4747f7 100644 --- a/recipes-security/refpolicy/refpolicy/0006-fc-login-apply-login-context-to-login.shadow.patch +++ b/recipes-security/refpolicy/refpolicy/0006-fc-login-apply-login-context-to-login.shadow.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 253ab75676232be5522fc628b0819d0c48a08c03 Mon Sep 17 00:00:00 2001 | 1 | From 9a1e1c7b65cb3f5ab97ce05463ca02a3eaa57d86 Mon Sep 17 00:00:00 2001 |
2 | From: Joe MacDonald <joe_macdonald@mentor.com> | 2 | From: Joe MacDonald <joe_macdonald@mentor.com> |
3 | Date: Thu, 28 Mar 2019 21:43:53 -0400 | 3 | Date: Thu, 28 Mar 2019 21:43:53 -0400 |
4 | Subject: [PATCH] fc/login: apply login context to login.shadow | 4 | Subject: [PATCH] fc/login: apply login context to login.shadow |
@@ -12,17 +12,17 @@ Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | |||
12 | 1 file changed, 1 insertion(+) | 12 | 1 file changed, 1 insertion(+) |
13 | 13 | ||
14 | diff --git a/policy/modules/system/authlogin.fc b/policy/modules/system/authlogin.fc | 14 | diff --git a/policy/modules/system/authlogin.fc b/policy/modules/system/authlogin.fc |
15 | index 7fd315706..fa86d6f92 100644 | 15 | index 50efcff7b..5cb48882c 100644 |
16 | --- a/policy/modules/system/authlogin.fc | 16 | --- a/policy/modules/system/authlogin.fc |
17 | +++ b/policy/modules/system/authlogin.fc | 17 | +++ b/policy/modules/system/authlogin.fc |
18 | @@ -5,6 +5,7 @@ | 18 | @@ -6,6 +6,7 @@ |
19 | /etc/shadow.* -- gen_context(system_u:object_r:shadow_t,s0) | 19 | /etc/tcb(/.*)? -- gen_context(system_u:object_r:shadow_t,s0) |
20 | 20 | ||
21 | /usr/bin/login -- gen_context(system_u:object_r:login_exec_t,s0) | 21 | /usr/bin/login -- gen_context(system_u:object_r:login_exec_t,s0) |
22 | +/usr/bin/login\.shadow -- gen_context(system_u:object_r:login_exec_t,s0) | 22 | +/usr/bin/login\.shadow -- gen_context(system_u:object_r:login_exec_t,s0) |
23 | /usr/bin/pam_console_apply -- gen_context(system_u:object_r:pam_console_exec_t,s0) | 23 | /usr/bin/pam_console_apply -- gen_context(system_u:object_r:pam_console_exec_t,s0) |
24 | /usr/bin/pam_timestamp_check -- gen_context(system_u:object_r:pam_exec_t,s0) | 24 | /usr/bin/pam_timestamp_check -- gen_context(system_u:object_r:pam_exec_t,s0) |
25 | /usr/bin/unix_chkpwd -- gen_context(system_u:object_r:chkpwd_exec_t,s0) | 25 | /usr/bin/tcb_convert -- gen_context(system_u:object_r:updpwd_exec_t,s0) |
26 | -- | 26 | -- |
27 | 2.17.1 | 27 | 2.17.1 |
28 | 28 | ||