Lines Matching refs:new
24 * cred or task context but instead creates a new one. Ideally the task
33 * aa_alloc_task_context - allocate a new task_cxt
60 * @new: a blank task context (NOT NULL)
63 void aa_dup_task_context(struct aa_task_cxt *new, const struct aa_task_cxt *old)
65 *new = *old;
66 aa_get_profile(new->profile);
67 aa_get_profile(new->previous);
68 aa_get_profile(new->onexec);
73 * @profile: new profile (NOT NULL)
80 struct cred *new;
86 new = prepare_creds();
87 if (!new)
90 cxt = new->security;
109 commit_creds(new);
122 struct cred *new = prepare_creds();
123 if (!new)
126 cxt = new->security;
131 commit_creds(new);
148 struct cred *new = prepare_creds();
149 if (!new)
153 cxt = new->security;
162 abort_creds(new);
170 commit_creds(new);
186 struct cred *new = prepare_creds();
187 if (!new)
190 cxt = new->security;
192 abort_creds(new);
197 abort_creds(new);
214 commit_creds(new);