From 9262d3c9588b1865690017dd47216aa6320bad78 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Mon, 28 Feb 2011 09:22:26 -0500 Subject: [PATCH] Whitespace fixes in authlogin. --- policy/modules/system/authlogin.if | 20 ++++++++++---------- policy/modules/system/authlogin.te | 3 +-- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/policy/modules/system/authlogin.if b/policy/modules/system/authlogin.if index bea0adeec..42b4f0f9f 100644 --- a/policy/modules/system/authlogin.if +++ b/policy/modules/system/authlogin.if @@ -195,7 +195,7 @@ interface(`auth_domtrans_login_program',` ') corecmd_search_bin($1) - domtrans_pattern($1, login_exec_t,$2) + domtrans_pattern($1, login_exec_t, $2) ') ######################################## @@ -224,7 +224,7 @@ interface(`auth_ranged_domtrans_login_program',` type login_exec_t; ') - auth_domtrans_login_program($1,$2) + auth_domtrans_login_program($1, $2) ifdef(`enable_mcs',` range_transition $1 login_exec_t:process $3; @@ -512,10 +512,10 @@ interface(`auth_dontaudit_getattr_shadow',` ## ## # -# cjp: these next three interfaces are split +# cjp: these next three interfaces are split # since typeattribute does not work in conditionals # yet, otherwise they should be one interface. -# +# interface(`auth_read_shadow',` auth_can_read_shadow_passwords($1) auth_tunable_read_shadow($1) @@ -1113,7 +1113,7 @@ interface(`auth_read_all_dirs_except_shadow',` type shadow_t; ') - files_read_all_dirs_except($1,$2 -shadow_t) + files_read_all_dirs_except($1, $2 -shadow_t) ') ######################################## @@ -1139,7 +1139,7 @@ interface(`auth_read_all_files_except_shadow',` type shadow_t; ') - files_read_all_files_except($1,$2 -shadow_t) + files_read_all_files_except($1, $2 -shadow_t) ') ######################################## @@ -1164,7 +1164,7 @@ interface(`auth_read_all_symlinks_except_shadow',` type shadow_t; ') - files_read_all_symlinks_except($1,$2 -shadow_t) + files_read_all_symlinks_except($1, $2 -shadow_t) ') ######################################## @@ -1190,7 +1190,7 @@ interface(`auth_relabel_all_files_except_shadow',` type shadow_t; ') - files_relabel_all_files($1,$2 -shadow_t) + files_relabel_all_files($1, $2 -shadow_t) ') ######################################## @@ -1216,7 +1216,7 @@ interface(`auth_rw_all_files_except_shadow',` type shadow_t; ') - files_rw_all_files($1,$2 -shadow_t) + files_rw_all_files($1, $2 -shadow_t) ') ######################################## @@ -1242,7 +1242,7 @@ interface(`auth_manage_all_files_except_shadow',` type shadow_t; ') - files_manage_all_files($1,$2 -shadow_t) + files_manage_all_files($1, $2 -shadow_t) ') ######################################## diff --git a/policy/modules/system/authlogin.te b/policy/modules/system/authlogin.te index 3752d5b4e..03cfe991d 100644 --- a/policy/modules/system/authlogin.te +++ b/policy/modules/system/authlogin.te @@ -89,7 +89,6 @@ allow chkpwd_t shadow_t:file read_file_perms; files_list_etc(chkpwd_t) kernel_read_crypto_sysctls(chkpwd_t) - # is_selinux_enabled kernel_read_system_state(chkpwd_t) @@ -150,7 +149,7 @@ dontaudit pam_t self:capability sys_tty_config; allow pam_t self:fd use; allow pam_t self:fifo_file rw_file_perms; -allow pam_t self:unix_dgram_socket create_socket_perms; +allow pam_t self:unix_dgram_socket create_socket_perms; allow pam_t self:unix_stream_socket rw_stream_socket_perms; allow pam_t self:unix_dgram_socket sendto; allow pam_t self:unix_stream_socket connectto;