Lines Matching full:token
100 ctx->token = stack; in aa_set_current_onexec()
108 * @token: token value that must be specified to change from the hat
111 * validate the token to match.
115 int aa_set_current_hat(struct aa_label *label, u64 token) in aa_set_current_hat() argument
128 ctx->token = token; in aa_set_current_hat()
129 } else if (ctx->token == token) { in aa_set_current_hat()
132 /* previous_profile && ctx->token != token */ in aa_set_current_hat()
148 * @token: the token that must be matched to exit hat context
150 * Attempt to return out of a hat to the previous label. The token
151 * must match the stored token value.
155 int aa_restore_previous_label(u64 token) in aa_restore_previous_label() argument
160 if (ctx->token != token) in aa_restore_previous_label()