Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
aa_task_cxt Struct Reference

#include <context.h>

Data Fields

struct aa_profileprofile
 
struct aa_profileonexec
 
struct aa_profileprevious
 
u64 token
 

Detailed Description

struct aa_task_cxt - primary label for confined tasks : the current profile (NOT NULL) : profile to transition to on next exec (MAYBE NULL) : profile the task may return to (MAYBE NULL) : magic value the task must know for returning to

Contains the task's current profile (which could change due to change_hat). Plus the hat_magic needed during change_hat.

TODO: make so a task can be confined by a stack of contexts

Definition at line 68 of file context.h.

Field Documentation

struct aa_profile* onexec

Definition at line 70 of file context.h.

struct aa_profile* previous

Definition at line 71 of file context.h.

struct aa_profile* profile

Definition at line 69 of file context.h.

Definition at line 72 of file context.h.


The documentation for this struct was generated from the following file: