diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index f073bd59df32..1549584a1538 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -872,8 +872,10 @@ struct task_struct { | |||
872 | 872 | ||
873 | struct callback_head *task_works; | 873 | struct callback_head *task_works; |
874 | 874 | ||
875 | struct audit_context *audit_context; | 875 | #ifdef CONFIG_AUDIT |
876 | #ifdef CONFIG_AUDITSYSCALL | 876 | #ifdef CONFIG_AUDITSYSCALL |
877 | struct audit_context *audit_context; | ||
878 | #endif | ||
877 | kuid_t loginuid; | 879 | kuid_t loginuid; |
878 | unsigned int sessionid; | 880 | unsigned int sessionid; |
879 | #endif | 881 | #endif |