Lines Matching defs:cxt
60 struct aa_task_cxt *cxt = aa_alloc_task_context(gfp);
61 if (!cxt)
64 cred->security = cxt;
75 struct aa_task_cxt *cxt = aa_alloc_task_context(gfp);
76 if (!cxt)
79 aa_dup_task_context(cxt, old->security);
80 new->security = cxt;
421 struct aa_file_cxt *cxt = file->f_security;
423 aa_free_file_context(cxt);
521 struct aa_task_cxt *cxt = cred->security;
525 error = aa_getprocattr(aa_newest_version(cxt->profile),
527 else if (strcmp(name, "prev") == 0 && cxt->previous)
528 error = aa_getprocattr(aa_newest_version(cxt->previous),
530 else if (strcmp(name, "exec") == 0 && cxt->onexec)
531 error = aa_getprocattr(aa_newest_version(cxt->onexec),
888 struct aa_task_cxt *cxt;
890 cxt = aa_alloc_task_context(GFP_KERNEL);
891 if (!cxt)
894 cxt->profile = aa_get_profile(root_ns->unconfined);
895 cred->security = cxt;