70 |
[[ -z ${ALT_HEADERS} ]] && export ALT_HEADERS="/usr/include" |
[[ -z ${ALT_HEADERS} ]] && export ALT_HEADERS="/usr/include" |
71 |
|
|
72 |
# kernel support |
# kernel support |
73 |
export ENABLE_KERNEL=2.6.18 |
export ENABLE_KERNEL=2.6.27 |
74 |
|
|
75 |
SPLIT_PACKAGES="eglibc eglibc-dev" |
SPLIT_PACKAGES="eglibc eglibc-dev" |
76 |
|
|
282 |
# see: http://www.exploit-db.com/exploits/15274/ |
# see: http://www.exploit-db.com/exploits/15274/ |
283 |
mpatch glibc-2.12.2-ignore-origin-of-privileged-program.patch || die |
mpatch glibc-2.12.2-ignore-origin-of-privileged-program.patch || die |
284 |
|
|
285 |
|
# http://sourceware.org/bugzilla/show_bug.cgi?id=12403 |
286 |
|
if [[ ${ARCH} = x86_64 ]] |
287 |
|
then |
288 |
|
sed -i '/__ASSUME_PRIVATE_FUTEX/d' glibc/sysdeps/unix/sysv/linux/kernel-features.h || die |
289 |
|
fi |
290 |
|
|
291 |
# fix permissions on some of the scripts |
# fix permissions on some of the scripts |
292 |
chmod u+x ${SRCDIR}/scripts/*.sh || die |
chmod u+x ${SRCDIR}/scripts/*.sh || die |
293 |
|
|