From: Oliver J. <oli...@mo...> - 2004-01-16 10:11:43
|
prepare build hangs in make oldconfig waiting for the configuration of pax.... with this patch, the values are set.. (perhaps too restrictive)... but they need to be set... Index: scripts/prepare =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/prepare,v retrieving revision 1.37 diff -u -r1.37 prepare --- scripts/prepare 16 Jan 2004 01:47:55 -0000 1.37 +++ scripts/prepare 16 Jan 2004 09:59:32 -0000 @@ -123,8 +123,20 @@ if [ ! -f devil-linux-pax-kernel-patches.done ]; then touch devil-linux-pax-kernel-patches.done bzcat $DL_DIR/src/pax-linux-${CONFIG_LINUX_VERSION}*patch.bz2 | patch -p1 || exit 1 - cat $KERNEL_CONFIG_DIR/config_pax >> $KERNELDIR/.config || exit 1 fi + add_kernel_options $KERNEL_CONFIG_DIR/config_pax || exit 1 + set_kernel_option CONFIG_PAX y + set_kernel_option CONFIG_PAX_EMUTRAMP n + set_kernel_option CONFIG_PAX_NOEXEC y + set_kernel_option CONFIG_PAX_SEGMEXEC y + set_kernel_option CONFIG_PAX_EMUTRAP n + set_kernel_option CONFIG_PAX_MPROTECT y + set_kernel_option CONFIG_PAX_NOELFRELOCS y + set_kernel_option CONFIG_PAX_PT_GNU_HEAP y + set_kernel_option CONFIG_PAX_ASLR y + set_kernel_option CONFIG_PAX_RANDUSTACK y + set_kernel_option CONFIG_PAX_RANDMMAP y + set_kernel_option CONFIG_PAX_RANDEXEC y else if [ "$CONFIG_EXEC_SHIELD" == "y" ]; then if [ ! -f devil-linux-exec-shield-kernel-patches.done ]; then |