[selinux-policy: 732/3172] add anonymous_domain

Daniel J Walsh dwalsh at fedoraproject.org
Thu Oct 7 20:08:07 UTC 2010


commit e9199fef2b68ee5bf8f12d4cc5a9450c5a67d63e
Author: Chris PeBenito <cpebenito at tresys.com>
Date:   Tue Oct 11 14:54:59 2005 +0000

    add anonymous_domain

 docs/macro_conversion_guide |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/docs/macro_conversion_guide b/docs/macro_conversion_guide
index dd8fcff..4e0391d 100644
--- a/docs/macro_conversion_guide
+++ b/docs/macro_conversion_guide
@@ -227,6 +227,15 @@ allow $1 devpts_t:dir { read search getattr };
 allow $1 $2_devpts_t:chr_file { read write getattr ioctl };
 
 #
+# anonymous_domain():
+#
+gen_tunable(allow_$1_anon_write,false)
+miscfiles_read_public_files($1_t)
+tunable_policy(`allow_$1_anon_write',`
+miscfiles_manage_public_files($1_t)
+') 
+
+#
 # append_log_domain():
 #
 type $1_log_t;
@@ -977,7 +986,7 @@ allow $1 $2:lnk_file { getattr read };
 #
 # system_crond_entry():
 #
-optional_policy(`cron.te', `
+optional_policy(`cron.te',`
 	cron_system_entry($2,$1)
 ')
 


More information about the scm-commits mailing list