add iface creating private logs
This commit is contained in:
parent
b2dc7fbe30
commit
fb1aee72f4
@ -14,6 +14,25 @@ define(`logging_make_log_file_depend',`
|
||||
attribute logfile;
|
||||
')
|
||||
|
||||
########################################
|
||||
#
|
||||
# logging_create_private_log(domain,privatetype,[class(es)])
|
||||
#
|
||||
define(`logging_create_private_log',`
|
||||
requires_block_template(`$0'_depend)
|
||||
allow $1 var_log_t:dir { getattr search read write add_name remove_name };
|
||||
ifelse(`$3',`',`
|
||||
type_transition $1 var_log_t:file $2;
|
||||
',`
|
||||
type_transition $1 var_log_t:$3 $2;
|
||||
') dnl end ifelse
|
||||
')
|
||||
|
||||
define(`logging_create_private_log_depend',`
|
||||
type var_log_t;
|
||||
class dir { getattr search read write add_name remove_name };
|
||||
')
|
||||
|
||||
#######################################
|
||||
#
|
||||
# logging_send_system_log_message(domain)
|
||||
|
Loading…
Reference in New Issue
Block a user