Lines Matching full:policy
12 #include "policy.h"
16 /* lock for synchronizing writers across ipe policy */
21 * @p: Policy to extract the version from.
42 * ipe_free_policy() - Deallocate a given IPE policy.
43 * @p: Supplies the policy to free.
76 * ipe_update_policy() - parse a new policy and replace old with it.
77 * @root: Supplies a pointer to the securityfs inode saved the policy.
78 * @text: Supplies a pointer to the plain text policy.
89 * * %-ENOENT - Policy was deleted while updating
90 * * %-EINVAL - Policy name mismatch
91 * * %-ESTALE - Policy version too old
143 * @text: Supplies a pointer to the plain-text policy to parse.
145 * @pkcs7: Supplies a pointer to a pkcs7-signed IPE policy.
152 * * %-EBADMSG - Policy is invalid
154 * * %-ERANGE - Policy version number overflow
155 * * %-EINVAL - Policy version parsing error
156 * * %-ENOKEY - Policy signing key not found
157 * * %-EKEYREJECTED - Policy signature verification failed
214 * ipe_set_active_pol() - Make @p the active policy.
215 * @p: Supplies a pointer to the policy to make active.
217 * Context: Requires root->i_rwsem, which i_private has the policy, to be held.
220 * * %-EINVAL - New active policy version is invalid