brk: COMPAT_BRK: fix detection of randomized brk
[linux-flexiantxendom0-natty.git] / include / linux / sched.h
index dafb4ef..0ead90c 100644 (file)
@@ -1261,6 +1261,9 @@ struct task_struct {
 #endif
 
        struct mm_struct *mm, *active_mm;
+#ifdef CONFIG_COMPAT_BRK
+       unsigned brk_randomized:1;
+#endif
 #if defined(SPLIT_RSS_COUNTING)
        struct task_rss_stat    rss_stat;
 #endif