diff --git a/refpolicy/policy/modules/system/locallogin.te b/refpolicy/policy/modules/system/locallogin.te index b838668..6a16f92 100644 --- a/refpolicy/policy/modules/system/locallogin.te +++ b/refpolicy/policy/modules/system/locallogin.te @@ -1,5 +1,5 @@ -policy_module(locallogin,1.2.2) +policy_module(locallogin,1.2.3) ######################################## # @@ -171,9 +171,6 @@ userdom_use_unpriv_users_fds(local_login_t) userdom_sigchld_all_users(local_login_t) userdom_create_all_users_keys(local_login_t) -# Search for mail spool file. -mta_getattr_spool(local_login_t) - ifdef(`targeted_policy',` unconfined_domain(local_login_t) unconfined_shell_domtrans(local_login_t) @@ -203,6 +200,11 @@ optional_policy(` ') optional_policy(` + # Search for mail spool file. + mta_getattr_spool(local_login_t) +') + +optional_policy(` nis_use_ypbind(local_login_t) ')