selinux-refpolicy/policy/modules/admin/readahead.if

22 lines
466 B
Plaintext
Raw Normal View History

## <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)
')