Red Hat Bugzilla – Bug 160097
2 issues with linux-2.6.11-exec-shield.patch in 1.33 kernel
Last modified: 2015-01-04 17:20:07 EST
@@ -164,6 +164,15 @@ static inline void clear_in_cr4 (unsigne
#define TASK_SIZE (0x800000000000UL)
+#define TASK_SIZE_64 (0x800000000000)
+#define TASK_SIZE (test_thread_flag(TIF_IA32) ? IA32_PAGE_OFFSET : TASK_SIZE_64)
+extern unsigned long arch_align_stack(unsigned long sp);
/* This decides where the kernel will search for a free chunk of vm
* space during mmap's.
It leads to
In file included from include/linux/spinlock.h:16,
include/asm/processor.h:169:1: warning: "TASK_SIZE" redefined
include/asm/processor.h:165:1: warning: this is the location of the previous
What is wrong with `UL'? Shouldn't the first "TASK_SIZE" be deleted?
What version of the FC3 kernel are you comparing this to?
I saw it in today's 2.6.11-1.33_FC3.
fixed in CVS, will be in .34 later today