diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 1e590c3bd581..3d4fa448223f 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -1047,6 +1047,10 @@ struct task_struct { | |||
1047 | #ifdef CONFIG_LIVEPATCH | 1047 | #ifdef CONFIG_LIVEPATCH |
1048 | int patch_state; | 1048 | int patch_state; |
1049 | #endif | 1049 | #endif |
1050 | #ifdef CONFIG_SECURITY | ||
1051 | /* Used by LSM modules for access restriction: */ | ||
1052 | void *security; | ||
1053 | #endif | ||
1050 | /* CPU-specific state of this task: */ | 1054 | /* CPU-specific state of this task: */ |
1051 | struct thread_struct thread; | 1055 | struct thread_struct thread; |
1052 | 1056 | ||