summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/kernel-features.h
AgeCommit message (Collapse)AuthorFilesLines
2013-04-03Preserve errno across _PC_CHOWN_RESTRICTED call on XFSSiddhesh Poyarekar1-0/+6
Fix BZ #15305. On kernel versions earlier than 2.6.29, the Linux kernel exported a sysctl called restrict_chown for xfs, which could be used to allow chown to users other than the owner. 2.6.29 removed this support, causing the open_not_cancel_2 to fail and thus modify errno. The fix is to save and restore errno so that the caller sees it as unmodified. Additionally, since the code to check the sysctl is not useful on newer kernels, we add an ifdef so that in future the code block gets rmeoved completely.
2013-02-18FUTEX_*_REQUEUE_PI support for non-x86 codeSiddhesh Poyarekar1-0/+5
Add FUTEX_*_REQUEUE_PI support for the default C code and also add implementations for s-390 and ppc.
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers1-1/+1
2012-09-01Remove __ASSUME_POSIX_CPU_TIMERS.Joseph Myers1-3/+0
2012-08-27Remove __ASSUME_STAT64_SYSCALL.Joseph Myers1-27/+0
2012-08-21Remove __ASSUME_FADVISE64_64_SYSCALL.Joseph Myers1-8/+0
2012-08-20Remove __ASSUME_SWAPCONTEXT_SYSCALL.Joseph Myers1-7/+0
2012-08-20Define __ASSUME_UTIMES for s390.Joseph Myers1-2/+4
2012-08-20Remove __ASSUME_MMAP2_SYSCALL.Joseph Myers1-16/+3
2012-08-16Remove __ASSUME_POSIX_TIMERS.Joseph Myers1-4/+0
2012-08-14Remove __ASSUME_CLONE_THREAD_FLAGS.Joseph Myers1-11/+0
2012-08-10Move Linux kernel version conditionals to kernel-features.h.Joseph Myers1-0/+7
2012-08-08Remove __ASSUME_TGKILL.Joseph Myers1-7/+0
2012-08-07Remove some pre-2.6.16 Linux kernel conditionals.Joseph Myers1-17/+0
2012-08-07Remove pre-2.6.16 Linux kernel support.Joseph Myers1-40/+13
2012-08-03Remove some pre-2.6.0 Linux kernel conditionals.Joseph Myers1-18/+0
2012-08-03Remove pre-2.6.0 Linux kernel support (bug 13717).Joseph Myers1-37/+12
2012-08-01Remove __ASSUME_FCNTL64.Joseph Myers1-14/+0
2012-08-01Remove __ASSUME_VFORK_SYSCALL (and some __NR_vfork conditionals).Joseph Myers1-11/+0
2012-07-25Remove pre-2.4.21 Linux kernel support.Joseph Myers1-32/+5
2012-07-12Remove pre-2.4.1 Linux kernel support.Joseph Myers1-31/+8
2012-05-30Remove __ASSUME_TRUNCATE64_SYSCALL.Joseph Myers1-11/+3
2012-05-25Remove __ASSUME_NEW_GETRLIMIT_SYSCALL.Joseph Myers1-10/+0
2012-05-25Remove pre-2.4 Linux kernel support.Joseph Myers1-51/+12
2012-05-14Remove pre-2.2 Linux kernel support.Joseph Myers1-49/+5
2012-03-12Add some missing sparc kernel-feature.h entries.David S. Miller1-9/+10
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later. (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify expression. (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and later.
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert1-3/+2
2012-01-07More IA-64 removalUlrich Drepper1-1/+1
2012-01-07Remove IA-64 support from kernel-features.hUlrich Drepper1-8/+7
2011-09-06Prefer real syscalls instead of vsyscalls on x86-64 outside libc.soUlrich Drepper1-0/+5
2011-05-28Add sendmmsg syscallUlrich Drepper1-0/+5
2011-05-15Fix a few problems in fopen and freopenUlrich Drepper1-1/+2
fopen should set the FD_CLOEXEC flag if requested evenif the kernel does not support an aotmic operation. freopen should reuse the file descriptor for the stream. This is especially important for calls to change the standard streams (stin, stdout, stderr).
2010-12-25Use prlimit64 for 32-bit [gs]etrlimit64 implementation.Ulrich Drepper1-0/+5
2010-08-11f_flags in Linux statfs implementation.Ulrich Drepper1-0/+5
The 2.6.36 kernel provides an additional field in the statfs results. Use this value in the statvfs emulation to avoid filling in f_flag the hard way.
2010-05-21Implement recvmmsg also as socketcallAndreas Schwab1-0/+5
2010-05-05Remove unnecessary Alpha support.Ulrich Drepper1-36/+14
2010-03-27Fix comments and indentation.Ulrich Drepper1-7/+7
2009-10-29Fix F_GETOWN on some Linux archs.Ulrich Drepper1-0/+5
The syscall conventions on some Linux archs prevented F_GETOWN from working correctly in some situations. This can be rectified when using the new F_GETOWN_EX command.
2009-07-26Compatibility of signalfd/eventfd with older kernels.Ulrich Drepper1-0/+2
2009-05-21Don't define __ASSUME_ACCEPT4 for IA-64.Ulrich Drepper1-1/+1
2009-05-09* sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_AT_RANDOM.Ulrich Drepper1-0/+5
2009-04-18* sysdeps/unix/sysv/linux/kernel-features.h: All supportedUlrich Drepper1-3/+1
architectures have preadv/pwritev in 2.6.30.
2009-04-14* sysdeps/unix/sysv/linux/kernel-features.h: SH also hasUlrich Drepper1-1/+1
preadv/pwritev.
2009-04-09* sysdeps/unix/sysv/linux/kernel-features.h: SPARC and IA64 alsoUlrich Drepper1-1/+2
have preadv/pwritev in 2.6.30.
2009-04-07* sysdeps/unix/sysv/linux/kernel-features.h: Power also hasUlrich Drepper1-1/+1
preadv/pwritev in 2.6.30.
2009-04-03* misc/Makefile (routines): Add preadv, preadv64, pwritev, pwritev64.Ulrich Drepper1-0/+7
* misc/Versions: Export preadv, preadv64, pwritev, pwritev64 for GLIBC_2.10. * misc/sys/uio.h: Declare preadv, preadv64, pwritev, pwritev64. * sysdeps/unix/sysv/linux/kernel-features.h: Add entries for preadv and pwritev. * misc/preadv.c: New file. * misc/preadv64.c: New file. * misc/pwritev.c: New file. * misc/pwritev64.c: New file. * sysdeps/posx/preadv.c: New file. * sysdeps/posx/preadv64.c: New file. * sysdeps/posx/pwritev.c: New file. * sysdeps/posx/pwritev64.c: New file. * sysdeps/unix/sysv/linux/preadv.c: New file. * sysdeps/unix/sysv/linux/preadv64.c: New file. * sysdeps/unix/sysv/linux/pwritev.c: New file. * sysdeps/unix/sysv/linux/pwritev64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/preadv64.c: New file. * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.c: New file.
2009-04-03* sysdeps/unix/sysv/linux/kernel-features.h: DefineUlrich Drepper1-0/+7
__ASSUME_COMPLETE_READV_WRITEV. * sysdeps/unix/sysv/linux/readv.c: No need for userlevel fallback with modern kernels. * sysdeps/unix/sysv/linux/writev.c: Likewise. * sysdeps/posix/readv.c: Since read is a cancellation point we have to free a possible malloced buffer in case of cancellation. * sysdeps/posix/writev.c: Likewise for write. c2009-04-01 Ulrich Drepper <drepper@redhat.com>
2009-01-03* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: DefineUlrich Drepper1-6/+4
FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY. * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise. * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise. * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2009-01-03* sysdeps/unix/sysv/linux/kernel-features.hUlrich Drepper1-0/+7
(__ASSUME_FUTEX_CLOCK_REALTIME): Define.
2008-12-08* resolv/res_send.c (send_dg): Use correct guards for SOCK_CLOEXECUlrich Drepper1-1/+1
use. * sysdeps/unix/sysv/linux/kernel-features.h: Fix typo in accept4 handling.