#
# PaX
#
CONFIG_PAX=y
#
# PaX Control
#
# CONFIG_PAX_SOFTMODE is not set
CONFIG_PAX_EI_PAX=y
CONFIG_PAX_PT_PAX_FLAGS=y
# CONFIG_PAX_NO_ACL_FLAGS is not set
CONFIG_PAX_HAVE_ACL_FLAGS=y
# CONFIG_PAX_HOOK_ACL_FLAGS is not set
#
# Non-executable pages
#
CONFIG_PAX_NOEXEC=y
# CONFIG_PAX_PAGEEXEC is not set
CONFIG_PAX_SEGMEXEC=y
CONFIG_PAX_EMUTRAMP=y
CONFIG_PAX_MPROTECT=y
# CONFIG_PAX_NOELFRELOCS is not set
#
# Address Space Layout Randomization
#
CONFIG_PAX_ASLR=y
CONFIG_PAX_RANDKSTACK=y
CONFIG_PAX_RANDUSTACK=y
CONFIG_PAX_RANDMMAP=y
CONFIG_PAX_NOVSYSCALL=y
CONFIG_KEYS=y
# CONFIG_KEYS_DEBUG_PROC_KEYS is not set
CONFIG_SECURITY=y
# CONFIG_SECURITY_NETWORK is not set
CONFIG_SECURITY_CAPABILITIES=y
# CONFIG_SECURITY_ROOTPLUG is not set
CONFIG_SECURITY_SECLVL=m
# CONFIG_SECURITY_SELINUX is not set
Wildfire wrote:@bani: This is probably not a PAX problem... does your 2.6.13 kernel work without grsecurity? My guess is, it doesnt... look in your other post for a more lengthy answer.
--- fs/proc/task_mmu.c 2005-10-12 10:49:43.000000000 +0000
+++ /usr/src/linux/fs/proc/task_mmu.c 2005-10-12 03:36:33.000000000 +0000
@@ -99,7 +99,7 @@
}
#ifdef CONFIG_GRKERNSEC_PROC_MEMMAP
-#define PAX_RAND_FLAGS(mm) (mm != NULL && mm != current->mm && \
+#define PAX_RAND_FLAGS(mm) (mm != NULL && \
(mm->pax_flags & MF_PAX_RANDMMAP || \
mm->pax_flags & MF_PAX_SEGMEXEC))
#endif
CC fs/proc/task_mmu.o
fs/proc/task_mmu.c: in function »show_map«:
fs/proc/task_mmu.c:126: error: structure has no member named `map'
fs/proc/task_mmu.c:127: error: structure has no member named `map'
fs/proc/task_mmu.c:138: error: structure has no member named `map'
make[2]: *** [fs/proc/task_mmu.o] error 1
make[1]: *** [fs/proc] error 2
make: *** [fs] error 2