From 14d282253f13c581437d9ac998ed7c6e32d91143 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Aug 05 2009 13:57:14 +0000 Subject: fix ordering of interface calls in hostname. --- diff --git a/policy/modules/system/hostname.te b/policy/modules/system/hostname.te index 7cdd8a7..215e606 100644 --- a/policy/modules/system/hostname.te +++ b/policy/modules/system/hostname.te @@ -27,6 +27,13 @@ kernel_read_proc_symlinks(hostname_t) dev_read_sysfs(hostname_t) +domain_use_interactive_fds(hostname_t) + +files_read_etc_files(hostname_t) +files_dontaudit_search_var(hostname_t) +# for when /usr is not mounted: +files_dontaudit_search_isid_type_dirs(hostname_t) + fs_getattr_xattr_fs(hostname_t) fs_search_auto_mountpoints(hostname_t) fs_dontaudit_use_tmpfs_chr_dev(hostname_t) @@ -39,13 +46,6 @@ init_use_fds(hostname_t) init_use_script_fds(hostname_t) init_use_script_ptys(hostname_t) -domain_use_interactive_fds(hostname_t) - -files_read_etc_files(hostname_t) -files_dontaudit_search_var(hostname_t) -# for when /usr is not mounted: -files_dontaudit_search_isid_type_dirs(hostname_t) - logging_send_syslog_msg(hostname_t) miscfiles_read_localization(hostname_t)