aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/kernel-features.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-08-15 23:33:02 +0000
committerRoland McGrath <roland@gnu.org>2004-08-15 23:33:02 +0000
commita489c5298d5350e2b443af444e3303d01667e6a3 (patch)
tree8bd003a06dffca3decf417f0092a0758ce3e9850 /sysdeps/unix/sysv/linux/kernel-features.h
parent2d26a7173c076ff8f40c9bbdbff80166ff0c781d (diff)
downloadglibc-a489c5298d5350e2b443af444e3303d01667e6a3.tar
glibc-a489c5298d5350e2b443af444e3303d01667e6a3.tar.gz
glibc-a489c5298d5350e2b443af444e3303d01667e6a3.tar.bz2
glibc-a489c5298d5350e2b443af444e3303d01667e6a3.zip
[BZ #227]
2004-08-15 Roland McGrath <roland@redhat.com> [BZ #227] * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_BRK_PAGE_ROUNDED): New macro. * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk) [! __ASSUME_BRK_PAGE_ROUNDED]: Adjust the break up if it falls within the partial page after the dynamic linker's own data segment.
Diffstat (limited to 'sysdeps/unix/sysv/linux/kernel-features.h')
-rw-r--r--sysdeps/unix/sysv/linux/kernel-features.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h
index ee089d550b..6f19fc6360 100644
--- a/sysdeps/unix/sysv/linux/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/kernel-features.h
@@ -400,3 +400,9 @@
#if __LINUX_KERNEL_VERSION >= 132612
# define __ASSUME_GETDENTS32_D_TYPE 1
#endif
+
+/* Starting with version 2.5.3, the initial location returned by `brk'
+ after exec is always rounded up to the next page. */
+#if __LINUX_KERNEL_VERSION >= 132355
+# define __ASSUME_BRK_PAGE_ROUNDED 1
+#endif