Lines Matching defs:token
100 ctx->token = stack;
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)
128 ctx->token = token;
129 } else if (ctx->token == token) {
132 /* previous_profile && ctx->token != token */
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)
160 if (ctx->token != token)