## Update database for mlocate.
########################################
##
## Read locate lib files.
##
##
##
## Domain allowed access.
##
##
#
interface(`locate_read_lib_files',`
gen_require(`
type locate_var_lib_t;
')
files_search_var_lib($1)
read_files_pattern($1, locate_var_lib_t, locate_var_lib_t)
allow $1 locate_var_lib_t:dir list_dir_perms;
')