7172f2
########################################
7172f2
## <summary>
7172f2
##	Allows the caller to use the SELinux status page.
7172f2
## </summary>
7172f2
## <param name="domain">
7172f2
##	<summary>
7172f2
##	Domain allowed access.
7172f2
##	</summary>
7172f2
## </param>
7172f2
## <rolecap/>
7172f2
#
7172f2
interface(`selinux_use_status_page',`
7172f2
	gen_require(`
7172f2
		type security_t;
7172f2
	')
7172f2
7172f2
	dev_search_sysfs($1)
7172f2
	allow $1 security_t:dir list_dir_perms;
7172f2
	allow $1 security_t:file mmap_read_file_perms;
7172f2
')