selinux-refpolicy/refpolicy/policy/modules/services/xfs.if

20 lines
390 B
Plaintext

## <summary>X Windows Font Server </summary>
########################################
## <summary>
## Read a X font server named socket.
## </summary>
## <param name="domain">
## Domain allowed access.
## </param>
#
interface(`xfs_read_socket',`
gen_require(`
type xfs_tmp_t;
')
files_search_tmp($1)
allow $1 xfs_tmp_t:dir search;
allow $1 xfs_tmp_t:sock_file { getattr read };
')