From 5b5300c82383c76303abea0c3983cb6b1a9337f2 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Aug 05 2009 13:55:58 +0000 Subject: fix ordering of interface calls in getty. --- diff --git a/policy/modules/system/getty.te b/policy/modules/system/getty.te index dc4a1e8..0bbf5b7 100644 --- a/policy/modules/system/getty.te +++ b/policy/modules/system/getty.te @@ -59,8 +59,16 @@ files_pid_filetrans(getty_t, getty_var_run_t, file) kernel_list_proc(getty_t) kernel_read_proc_symlinks(getty_t) +corecmd_search_bin(getty_t) +corecmd_read_bin_symlinks(getty_t) + dev_read_sysfs(getty_t) +files_rw_generic_pids(getty_t) +files_read_etc_runtime_files(getty_t) +files_read_etc_files(getty_t) +files_search_spool(getty_t) + fs_search_auto_mountpoints(getty_t) # for error condition handling fs_getattr_xattr_fs(getty_t) @@ -80,14 +88,6 @@ term_dontaudit_use_console(getty_t) auth_rw_login_records(getty_t) -corecmd_search_bin(getty_t) -corecmd_read_bin_symlinks(getty_t) - -files_rw_generic_pids(getty_t) -files_read_etc_runtime_files(getty_t) -files_read_etc_files(getty_t) -files_search_spool(getty_t) - init_rw_utmp(getty_t) init_use_script_ptys(getty_t) init_dontaudit_use_script_ptys(getty_t)