clarify tmp_domain()
This commit is contained in:
parent
8b1125a766
commit
80a63c7a98
@ -818,19 +818,13 @@ libs_use_shared_libs($1_t)
|
|||||||
logging_send_syslog_msg($1_t)
|
logging_send_syslog_msg($1_t)
|
||||||
|
|
||||||
#
|
#
|
||||||
# tmp_domain(): complete
|
# tmp_domain($1): complete
|
||||||
#
|
#
|
||||||
# $2 may need more handling
|
type $1_tmp_t;
|
||||||
#
|
|
||||||
type $1_tmp_t $2;
|
|
||||||
files_tmp_file($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:dir create_dir_perms;
|
||||||
allow $1_t $1_tmp_t:file create_file_perms;
|
allow $1_t $1_tmp_t:file create_file_perms;
|
||||||
files_create_tmp_files($1_t, $1_tmp_t, { file dir })
|
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
|
# tmp_domain($1,$2,$3): complete
|
||||||
|
Loading…
Reference in New Issue
Block a user