[selinux-policy: 1574/3172] fix ordering bug
Daniel J Walsh
dwalsh at fedoraproject.org
Thu Oct 7 21:21:16 UTC 2010
commit 5b4ff3a104bf448b8f1b97c44999e357e4f199b3
Author: Chris PeBenito <cpebenito at tresys.com>
Date: Tue Aug 22 19:56:59 2006 +0000
fix ordering bug
policy/modules/system/authlogin.te | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/policy/modules/system/authlogin.te b/policy/modules/system/authlogin.te
index 56a7b51..e1d1da5 100644
--- a/policy/modules/system/authlogin.te
+++ b/policy/modules/system/authlogin.te
@@ -53,9 +53,6 @@ neverallow ~can_read_shadow_passwords shadow_t:file read;
neverallow ~can_write_shadow_passwords shadow_t:file { create write };
neverallow ~can_relabelto_shadow_passwords shadow_t:file relabelto;
-authlogin_common_auth_domain_template(system)
-role system_r types system_chkpwd_t;
-
type utempter_t;
domain_type(utempter_t)
@@ -72,6 +69,10 @@ files_type(var_auth_t)
type wtmp_t;
logging_log_file(wtmp_t)
+# reorder to work around require-then-decare bug
+authlogin_common_auth_domain_template(system)
+role system_r types system_chkpwd_t;
+
########################################
#
# PAM local policy
More information about the scm-commits
mailing list