summaryrefslogtreecommitdiffstats
path: root/recipes-security/refpolicy/refpolicy/0055-policy-modules-system-authlogin-fix-login-errors-aft.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-security/refpolicy/refpolicy/0055-policy-modules-system-authlogin-fix-login-errors-aft.patch')
-rw-r--r--recipes-security/refpolicy/refpolicy/0055-policy-modules-system-authlogin-fix-login-errors-aft.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/recipes-security/refpolicy/refpolicy/0055-policy-modules-system-authlogin-fix-login-errors-aft.patch b/recipes-security/refpolicy/refpolicy/0055-policy-modules-system-authlogin-fix-login-errors-aft.patch
index 8a5dde6..a3b5e21 100644
--- a/recipes-security/refpolicy/refpolicy/0055-policy-modules-system-authlogin-fix-login-errors-aft.patch
+++ b/recipes-security/refpolicy/refpolicy/0055-policy-modules-system-authlogin-fix-login-errors-aft.patch
@@ -1,4 +1,4 @@
1From 2824a6c927bf6df4be997a138a27d159d533d08b Mon Sep 17 00:00:00 2001 1From b8b80a2a07c451a1c9dfc166efcd7985f7a0a966 Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com> 2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Fri, 8 Dec 2023 14:16:26 +0800 3Date: Fri, 8 Dec 2023 14:16:26 +0800
4Subject: [PATCH] policy/modules/system/authlogin: fix login errors after 4Subject: [PATCH] policy/modules/system/authlogin: fix login errors after
@@ -45,27 +45,27 @@ Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
45 3 files changed, 5 insertions(+), 3 deletions(-) 45 3 files changed, 5 insertions(+), 3 deletions(-)
46 46
47diff --git a/policy/modules/admin/su.if b/policy/modules/admin/su.if 47diff --git a/policy/modules/admin/su.if b/policy/modules/admin/su.if
48index cd34cd9dd..b867f58b9 100644 48index dce1a0ea9..c55cdfc09 100644
49--- a/policy/modules/admin/su.if 49--- a/policy/modules/admin/su.if
50+++ b/policy/modules/admin/su.if 50+++ b/policy/modules/admin/su.if
51@@ -75,7 +75,7 @@ template(`su_restricted_domain_template', ` 51@@ -76,7 +76,7 @@ template(`su_restricted_domain_template', `
52 selinux_compute_access_vector($1_su_t) 52 selinux_compute_access_vector($1_su_t)
53 53
54 auth_domtrans_chk_passwd($1_su_t) 54 auth_domtrans_chk_passwd($1_su_t)
55- auth_dontaudit_read_shadow($1_su_t) 55- auth_dontaudit_read_shadow($1_su_t)
56+ auth_read_shadow($1_su_t) 56+ auth_read_shadow($1_su_t)
57 auth_use_nsswitch($1_su_t) 57 auth_use_nsswitch($1_su_t)
58 auth_create_faillog_files($1_su_t)
58 auth_rw_faillog($1_su_t) 59 auth_rw_faillog($1_su_t)
59 60@@ -183,7 +183,7 @@ template(`su_role_template',`
60@@ -176,7 +176,7 @@ template(`su_role_template',`
61 selinux_use_status_page($1_su_t) 61 selinux_use_status_page($1_su_t)
62 62
63 auth_domtrans_chk_passwd($1_su_t) 63 auth_domtrans_chk_passwd($1_su_t)
64- auth_dontaudit_read_shadow($1_su_t) 64- auth_dontaudit_read_shadow($1_su_t)
65+ auth_read_shadow($1_su_t) 65+ auth_read_shadow($1_su_t)
66 auth_use_nsswitch($1_su_t) 66 auth_use_nsswitch($1_su_t)
67 auth_create_faillog_files($1_su_t)
67 auth_rw_faillog($1_su_t) 68 auth_rw_faillog($1_su_t)
68
69diff --git a/policy/modules/system/authlogin.te b/policy/modules/system/authlogin.te 69diff --git a/policy/modules/system/authlogin.te b/policy/modules/system/authlogin.te
70index 3a5d1ac3e..f9d50a8d4 100644 70index 3a5d1ac3e..f9d50a8d4 100644
71--- a/policy/modules/system/authlogin.te 71--- a/policy/modules/system/authlogin.te