Lines Matching defs:task
99 static void apparmor_task_free(struct task_struct *task)
102 aa_free_task_ctx(task_ctx(task));
105 static int apparmor_task_alloc(struct task_struct *task,
108 struct aa_task_ctx *new = task_ctx(task);
588 static int apparmor_getprocattr(struct task_struct *task, char *name,
593 const struct cred *cred = get_task_cred(task);
689 * apparmor_bprm_committing_creds - do task cleanup on committing new creds
729 static int apparmor_task_setrlimit(struct task_struct *task,
736 error = aa_task_setrlimit(label, task, resource, new_rlim);
1145 * instead of task, because of the case where an implicitly labeled
1649 * set_init_ctx - set a task context and profile on the first task.
1875 AA_ERROR("Failed to set context on init task\n");