diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2007-10-16 23:31:35 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 08:43:07 -0700 |
commit | 57c521ce6125e15e99e56c902cb8da96bee7b36d (patch) | |
tree | d6337e711db2d3baf6dcff89cf2d2bc1dd12a62f /include | |
parent | 20510f2f4e2dabb0ff6c13901807627ec9452f98 (diff) | |
download | linux-57c521ce6125e15e99e56c902cb8da96bee7b36d.tar.bz2 |
ifdef struct task_struct::security
For those who don't care about CONFIG_SECURITY.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: "Serge E. Hallyn" <serge@hallyn.com>
Cc: Casey Schaufler <casey@schaufler-ca.com>
Cc: James Morris <jmorris@namei.org>
Cc: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sched.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 774cb435c7d8..3de5aa210feb 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1044,8 +1044,9 @@ struct task_struct { int (*notifier)(void *priv); void *notifier_data; sigset_t *notifier_mask; - +#ifdef CONFIG_SECURITY void *security; +#endif struct audit_context *audit_context; seccomp_t seccomp; |