mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
[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.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user