selinux-policy/policy/modules/apps/slocate.if

22 lines
467 B
Plaintext
Raw Normal View History

2006-01-16 14:58:58 +00:00
## <summary>Update database for mlocate</summary>
########################################
## <summary>
## Create the locate log with append mode.
## </summary>
## <param name="domain">
## <summary>
2006-01-16 14:58:58 +00:00
## Domain allowed access.
## </summary>
2006-01-16 14:58:58 +00:00
## </param>
#
interface(`slocate_create_append_log',`
gen_require(`
2006-01-16 22:00:09 +00:00
type locate_log_t;
2006-01-16 14:58:58 +00:00
')
logging_search_logs($1)
2006-12-12 20:08:08 +00:00
create_files_pattern($1,locate_log_t,locate_log_t)
append_files_pattern($1,locate_log_t,locate_log_t)
2006-01-16 14:58:58 +00:00
')