Blame refpolicy/policy/modules/services/xfs.if
|
Chris PeBenito |
3f4188 |
## <summary>X Windows Font Server </summary>
|
|
Chris PeBenito |
3f4188 |
|
|
Chris PeBenito |
3f4188 |
########################################
|
|
Chris PeBenito |
3f4188 |
## <summary>
|
|
Chris PeBenito |
3f4188 |
## Read a X font server named socket.
|
|
Chris PeBenito |
3f4188 |
## </summary>
|
|
Chris PeBenito |
3f4188 |
## <param name="domain">
|
|
Chris PeBenito |
885b83 |
## <summary>
|
|
Chris PeBenito |
3f4188 |
## Domain allowed access.
|
|
Chris PeBenito |
885b83 |
## </summary>
|
|
Chris PeBenito |
3f4188 |
## </param>
|
|
Chris PeBenito |
3f4188 |
#
|
|
Chris PeBenito |
1815ba |
interface(`xfs_read_sockets',`
|
|
Chris PeBenito |
3f4188 |
gen_require(`
|
|
Chris PeBenito |
3f4188 |
type xfs_tmp_t;
|
|
Chris PeBenito |
3f4188 |
')
|
|
Chris PeBenito |
3f4188 |
|
|
Chris PeBenito |
3f4188 |
files_search_tmp($1)
|
|
Chris PeBenito |
3f4188 |
allow $1 xfs_tmp_t:dir search;
|
|
Chris PeBenito |
3f4188 |
allow $1 xfs_tmp_t:sock_file { getattr read };
|
|
Chris PeBenito |
3f4188 |
')
|
|
Chris PeBenito |
0f5d13 |
|
|
Chris PeBenito |
0f5d13 |
########################################
|
|
Chris PeBenito |
0f5d13 |
## <summary>
|
|
Chris PeBenito |
0f5d13 |
## Connect to a X font server over
|
|
Chris PeBenito |
0f5d13 |
## a unix domain stream socket.
|
|
Chris PeBenito |
0f5d13 |
## </summary>
|
|
Chris PeBenito |
0f5d13 |
## <param name="domain">
|
|
Chris PeBenito |
885b83 |
## <summary>
|
|
Chris PeBenito |
0f5d13 |
## Domain allowed access.
|
|
Chris PeBenito |
885b83 |
## </summary>
|
|
Chris PeBenito |
0f5d13 |
## </param>
|
|
Chris PeBenito |
0f5d13 |
#
|
|
Chris PeBenito |
0f5d13 |
interface(`xfs_stream_connect',`
|
|
Chris PeBenito |
0f5d13 |
gen_require(`
|
|
Chris PeBenito |
0f5d13 |
type xfs_tmp_t, xfs_t;
|
|
Chris PeBenito |
0f5d13 |
')
|
|
Chris PeBenito |
0f5d13 |
|
|
Chris PeBenito |
0f5d13 |
files_search_tmp($1)
|
|
Chris PeBenito |
0f5d13 |
allow $1 xfs_tmp_t:dir search;
|
|
Chris PeBenito |
0f5d13 |
allow $1 xfs_tmp_t:sock_file write;
|
|
Chris PeBenito |
0f5d13 |
allow $1 xfs_t:unix_stream_socket connectto;
|
|
Chris PeBenito |
0f5d13 |
')
|