Oreon-Lime-R2/selinux-policy/selinux-policy-d9f4a2b/selinux-policy-d9f4a2bbeb91fd95d0c35a90936efb9ea99d2455/policy/modules/contrib/keyutils.if

43 lines
971 B
Text

## <summary>Linux Key Management Utilities</summary>
#######################################
## <summary>
## Execute request-key in the keyutils request domain.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`keyutils_request_domtrans',`
gen_require(`
type keyutils_request_t, keyutils_request_exec_t;
')
domtrans_pattern($1, keyutils_request_exec_t, keyutils_request_t)
')
########################################
## <summary>
## Allows to perform key instantiation callout
## by transitioning to the specified domain.
## </summary>
## <param name="domain">
## <summary>
## The process type entered by request-key.
## </summary>
## </param>
## <param name="entrypoint">
## <summary>
## The executable type for the entrypoint.
## </summary>
## </param>
#
interface(`keyutils_request_domtrans_to',`
gen_require(`
type keyutils_request_t;
')
domtrans_pattern(keyutils_request_t, $2, $1)
')