--- smage/trunk/core/eglibc/eglibc-2.12.2_20110125-r1.smage2 2011/01/25 18:28:17 1067 +++ smage/trunk/core/eglibc/eglibc-2.12.2_20110125-r1.smage2 2011/01/25 18:45:14 1068 @@ -70,7 +70,7 @@ [[ -z ${ALT_HEADERS} ]] && export ALT_HEADERS="/usr/include" # kernel support -export ENABLE_KERNEL=2.6.18 +export ENABLE_KERNEL=2.6.27 SPLIT_PACKAGES="eglibc eglibc-dev" @@ -282,6 +282,12 @@ # see: http://www.exploit-db.com/exploits/15274/ mpatch glibc-2.12.2-ignore-origin-of-privileged-program.patch || die + # http://sourceware.org/bugzilla/show_bug.cgi?id=12403 + if [[ ${ARCH} = x86_64 ]] + then + sed -i '/__ASSUME_PRIVATE_FUTEX/d' glibc/sysdeps/unix/sysv/linux/kernel-features.h || die + fi + # fix permissions on some of the scripts chmod u+x ${SRCDIR}/scripts/*.sh || die