aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@ieee.org>2017-04-26 06:16:22 -0400
committerJason Zaman <jason@perfinion.com>2017-04-30 22:17:42 +0800
commita7d698b143718424d283dcca1644e78c508bb3d8 (patch)
treef73372d99b486ace843f009af6e445b58cc09c72 /policy/modules/system/locallogin.te
parentlocallogin: fix the sulogin submodule (emergency shell!) (diff)
downloadhardened-refpolicy-a7d698b143718424d283dcca1644e78c508bb3d8.tar.gz
hardened-refpolicy-a7d698b143718424d283dcca1644e78c508bb3d8.tar.bz2
hardened-refpolicy-a7d698b143718424d283dcca1644e78c508bb3d8.zip
locallogin: Move two sulogin lines.
Diffstat (limited to 'policy/modules/system/locallogin.te')
-rw-r--r--policy/modules/system/locallogin.te6
1 files changed, 3 insertions, 3 deletions
diff --git a/policy/modules/system/locallogin.te b/policy/modules/system/locallogin.te
index 3b5f04ce..4d396486 100644
--- a/policy/modules/system/locallogin.te
+++ b/policy/modules/system/locallogin.te
@@ -240,6 +240,9 @@ fs_rw_tmpfs_chr_files(sulogin_t)
files_read_etc_files(sulogin_t)
+term_use_console(sulogin_t)
+term_use_unallocated_ttys(sulogin_t)
+
auth_read_shadow(sulogin_t)
init_getpgid(sulogin_t)
@@ -259,9 +262,6 @@ userdom_use_user_ptys(sulogin_t)
sysadm_shell_domtrans(sulogin_t)
-term_use_console(sulogin_t)
-term_use_unallocated_ttys(sulogin_t)
-
# by default, sulogin does not use pam...
# sulogin_pam might need to be defined otherwise
ifdef(`sulogin_pam', `