diff --git a/include/linux/sched.h b/include/linux/sched.h index 195d72d5c102bb43ecd9c9f10391485ca5476941..7bc2d9290837abda7c440bce40c3adcde7eaf790 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1237,8 +1237,10 @@ struct task_struct { pid_t pid; pid_t tgid; +#ifdef CONFIG_CC_STACKPROTECTOR /* Canary value for the -fstack-protector gcc feature */ unsigned long stack_canary; +#endif /* * pointers to (original) parent process, youngest child, younger sibling,