[selinux-policy: 2209/3172] fix ordering of interface calls in hostname.

Daniel J Walsh dwalsh at fedoraproject.org
Thu Oct 7 22:16:09 UTC 2010


commit 14d282253f13c581437d9ac998ed7c6e32d91143
Author: Chris PeBenito <cpebenito at tresys.com>
Date:   Wed Aug 5 09:57:14 2009 -0400

    fix ordering of interface calls in hostname.

 policy/modules/system/hostname.te |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
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)


More information about the scm-commits mailing list