Commit 57c521ce authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Linus Torvalds

ifdef struct task_struct::security

For those who don't care about CONFIG_SECURITY.
Signed-off-by: default avatarAlexey Dobriyan <>
Cc: "Serge E. Hallyn" <>
Cc: Casey Schaufler <>
Cc: James Morris <>
Cc: Stephen Smalley <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 20510f2f
......@@ -1044,8 +1044,9 @@ struct task_struct {
int (*notifier)(void *priv);
void *notifier_data;
sigset_t *notifier_mask;
void *security;
struct audit_context *audit_context;
seccomp_t seccomp;
......@@ -1079,7 +1079,9 @@ static struct task_struct *copy_process(unsigned long clone_flags,
p->real_start_time = p->start_time;
p->security = NULL;
p->io_context = NULL;
p->io_wait = NULL;
p->audit_context = NULL;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment