[selinux-policy: 537/3172] clarify tmp_domain()

Daniel J Walsh dwalsh at fedoraproject.org
Thu Oct 7 19:51:02 UTC 2010


commit 80a63c7a98148a03b7d7b89f74595c4c6a90cbe7
Author: Chris PeBenito <cpebenito at tresys.com>
Date:   Tue Aug 2 17:26:10 2005 +0000

    clarify tmp_domain()

 docs/macro_conversion_guide |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/docs/macro_conversion_guide b/docs/macro_conversion_guide
index 037d07e..1dd530d 100644
--- a/docs/macro_conversion_guide
+++ b/docs/macro_conversion_guide
@@ -818,19 +818,13 @@ libs_use_shared_libs($1_t)
 logging_send_syslog_msg($1_t)
 
 #
-# tmp_domain(): complete
+# tmp_domain($1): complete
 #
-# $2 may need more handling
-#
-type $1_tmp_t $2;
+type $1_tmp_t;
 files_tmp_file($1_tmp_t)
-# no class specified:
 allow $1_t $1_tmp_t:dir create_dir_perms;
 allow $1_t $1_tmp_t:file create_file_perms;
 files_create_tmp_files($1_t, $1_tmp_t, { file dir })
-# class specified:
-# $3 manage object perms here
-files_create_tmp_files($1_t, $1_tmp_t, $3)
 
 #
 # tmp_domain($1,$2,$3): complete


More information about the scm-commits mailing list