selinux-refpolicy/policy/modules/admin/readahead.if
2018-06-23 10:38:58 -04:00

22 lines
466 B
Plaintext

## <summary>Read files into page cache for improved performance.</summary>
########################################
## <summary>
## Execute a domain transition
## to run readahead.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed to transition.
## </summary>
## </param>
#
interface(`readahead_domtrans',`
gen_require(`
type readahead_t, readahead_exec_t;
')
corecmd_search_bin($1)
domtrans_pattern($1, readahead_exec_t, readahead_t)
')