> +## Allow the specified domain to read and map generic
> +## files in /etc.
> +##
> +##
> +## Related interfaces:
> +##
> +##
> +##
files_read_etc_files()
> +##
> +##
> +##
> +##
> +## Domain allowed access.
> +##
> +##
> +##
> +#
> +interface(`files_map_etc_files',`
> + gen_require(`
> + type etc_t;
> + ')
> +
> + files_read_etc_files($1)
> + allow $1 etc_t:file map;
The map should be an interface by itself, without the read, since etc_t
is such a wide variety of files.
--
Chris PeBenito