Chris PeBenito 17de1b
## <summary>Update database for mlocate</summary>
Chris PeBenito 17de1b
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
## <summary>
Chris PeBenito 17de1b
##	Create the locate log with append mode.
Chris PeBenito 17de1b
## </summary>
Chris PeBenito 17de1b
## <param name="domain">
Chris PeBenito 17de1b
##	<summary>
Chris PeBenito 17de1b
##	Domain allowed access.
Chris PeBenito 17de1b
##	</summary>
Chris PeBenito 17de1b
## </param>
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
interface(`slocate_create_append_log',`
Chris PeBenito 17de1b
	gen_require(`
Chris PeBenito 17de1b
		type locate_log_t;
Chris PeBenito 17de1b
	')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
	logging_search_logs($1)
Chris PeBenito 17de1b
	allow $1 locate_log_t:dir ra_dir_perms;
Chris PeBenito 17de1b
	allow $1 locate_log_t:file { create append getattr };
Chris PeBenito 17de1b
')