Lines Matching defs:cxt
345 struct aa_task_cxt *cxt;
363 cxt = bprm->cred->security;
364 BUG_ON(!cxt);
366 profile = aa_get_profile(aa_newest_version(cxt->profile));
391 if (cxt->onexec)
393 new_profile = aa_get_profile(cxt->onexec);
403 if (cxt->onexec) {
414 cp = change_profile_perms(profile, cxt->onexec->ns, name,
419 new_profile = aa_get_profile(aa_newest_version(cxt->onexec));
496 aa_put_profile(cxt->profile);
497 /* transfer new profile reference will be released when cxt is freed */
498 cxt->profile = new_profile;
501 aa_put_profile(cxt->previous);
502 aa_put_profile(cxt->onexec);
503 cxt->previous = NULL;
504 cxt->onexec = NULL;
505 cxt->token = 0;
603 struct aa_task_cxt *cxt;
613 cxt = cred->security;
615 previous_profile = cxt->previous;
729 struct aa_task_cxt *cxt;
749 cxt = cred->security;