mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-11 03:40:06 +00:00
* sysdeps/unix/sysv/linux/arm/kernel-features.h: Add conditionals
for __ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL, __ASSUME_STAT64_SYSCALL, __ASSUME_FCNTL64, and __ASSUME_VFORK_SYSCALL.
This commit is contained in:
parent
31e69e34ab
commit
023a0de155
@ -1,3 +1,10 @@
|
|||||||
|
2006-05-30 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/arm/kernel-features.h: Add conditionals
|
||||||
|
for __ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL,
|
||||||
|
__ASSUME_STAT64_SYSCALL, __ASSUME_FCNTL64, and
|
||||||
|
__ASSUME_VFORK_SYSCALL.
|
||||||
|
|
||||||
2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
|
2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/arm/bits/mman.h: Update error message
|
* sysdeps/unix/sysv/linux/arm/bits/mman.h: Update error message
|
||||||
|
@ -28,4 +28,22 @@
|
|||||||
#define __ASSUME_NEW_GETRLIMIT_SYSCALL 1
|
#define __ASSUME_NEW_GETRLIMIT_SYSCALL 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* On ARM the truncate64/ftruncate64/mmap2/stat64/lstat64/fstat64
|
||||||
|
syscalls were introduced in 2.3.35. */
|
||||||
|
#if __LINUX_KERNEL_VERSION >= 131875
|
||||||
|
# define __ASSUME_TRUNCATE64_SYSCALL 1
|
||||||
|
# define __ASSUME_MMAP2_SYSCALL 1
|
||||||
|
# define __ASSUME_STAT64_SYSCALL 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Arm got fcntl64 in 2.4.4. */
|
||||||
|
#if __LINUX_KERNEL_VERSION >= 132100
|
||||||
|
# define __ASSUME_FCNTL64 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* The vfork syscall on arm was definitely available in 2.4. */
|
||||||
|
#if __LINUX_KERNEL_VERSION >= 132097 && defined __i386__
|
||||||
|
# define __ASSUME_VFORK_SYSCALL 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#include_next <kernel-features.h>
|
#include_next <kernel-features.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user