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 { #ifdef CONFIG_LIVEPATCH int patch_state; #endif +#ifdef CONFIG_SECURITY + /* Used by LSM modules for access restriction: */ + void *security; +#endif /* CPU-specific state of this task: */ struct thread_struct thread; |