[selinux-policy: 718/3172] misc fixes

Daniel J Walsh dwalsh at fedoraproject.org
Thu Oct 7 20:06:56 UTC 2010


commit 114fc45d2b01c8b57171b5a50fa617f5f5baebc0
Author: Chris PeBenito <cpebenito at tresys.com>
Date:   Thu Sep 29 21:00:06 2005 +0000

    misc fixes

 docs/macro_conversion_guide |   18 +++++++++++++-----
 1 files changed, 13 insertions(+), 5 deletions(-)
---
diff --git a/docs/macro_conversion_guide b/docs/macro_conversion_guide
index 8248da4..dd8fcff 100644
--- a/docs/macro_conversion_guide
+++ b/docs/macro_conversion_guide
@@ -135,12 +135,16 @@ domain_wide_inherit_fd($1)
 #
 # privlog: complete
 #
-logging_send_syslog_msg($1)
+optional_policy(`logging.te',`
+	logging_send_syslog_msg($1)
+')
 
 #
 # privmail: complete
 #
-mta_send_mail($1)
+optional_policy(`mta.te',`
+	mta_send_mail($1)
+')
 
 #
 # privmem: complete
@@ -173,6 +177,11 @@ domain_subj_id_change_exempt($1)
 domain_system_change_exempt($1)
 
 #
+# secure_file_type: complete
+#
+files_security_file($1)
+
+#
 # sysadmfile: complete
 #
 files_type($1)
@@ -968,7 +977,7 @@ allow $1 $2:lnk_file { getattr read };
 #
 # system_crond_entry():
 #
-optional_policy(`crond.te', `
+optional_policy(`cron.te', `
 	cron_system_entry($2,$1)
 ')
 
@@ -1012,7 +1021,7 @@ allow $1_t $1_tmpfs_t:file { create ioctl read getattr lock write setattr append
 allow $1_t $1_tmpfs_t:lnk_file { create read getattr setattr link unlink rename };
 allow $1_t $1_tmpfs_t:sock_file { create ioctl read getattr lock write setattr append link unlink rename };
 allow $1_t $1_tmpfs_t:fifo_file { create ioctl read getattr lock write setattr append link unlink rename };
-filesystem_create_private_tmpfs_data($1_t,$1_tmpfs_t,{ dir file lnk_file sock_file fifo_file })
+fs_create_tmpfs($1_t,$1_tmpfs_t,{ dir file lnk_file sock_file fifo_file })
 
 #
 # unconfined_domain(): complete
@@ -1044,7 +1053,6 @@ allow authbind_t $1:{ tcp_socket udp_socket } rw_socket_perms;
 #
 # uses_shlib(): complete
 #
-files_list_usr($1)
 libs_use_ld_so($1)
 libs_use_shared_libs($1)
 


More information about the scm-commits mailing list