Lines Matching defs:task
5 * This file contains AppArmor task related definitions and mediation
13 static inline struct aa_task_ctx *task_ctx(struct task_struct *task)
15 return task->security + apparmor_blob_sizes.lbs_task;
19 * struct aa_task_ctx - information for current task label change
22 * @previous: profile the task may return to (MAY BE NULL)
23 * @token: magic value the task must know for returning to @previous_profile
36 struct aa_label *aa_get_task_label(struct task_struct *task);
52 * aa_dup_task_ctx - duplicate a task context, incrementing reference counts
53 * @new: a blank task context (NOT NULL)
54 * @old: the task context to copy (NOT NULL)
67 * @ctx: task context to clear (NOT NULL)