]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/linux/sched.h
sched, task_struct: stack_canary is not needed without CC_STACKPROTECTOR
[mirror_ubuntu-artful-kernel.git] / include / linux / sched.h
index 195d72d5c102bb43ecd9c9f10391485ca5476941..7bc2d9290837abda7c440bce40c3adcde7eaf790 100644 (file)
@@ -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,