about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/kernel-features.h
Commit message (Collapse)AuthorAgeFilesLines
* Preserve errno across _PC_CHOWN_RESTRICTED call on XFSSiddhesh Poyarekar2013-04-031-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.
* FUTEX_*_REQUEUE_PI support for non-x86 codeSiddhesh Poyarekar2013-02-181-0/+5
| | | | | Add FUTEX_*_REQUEUE_PI support for the default C code and also add implementations for s-390 and ppc.
* Update copyright notices with scripts/update-copyrights.Joseph Myers2013-01-021-1/+1
|
* Remove __ASSUME_POSIX_CPU_TIMERS.Joseph Myers2012-09-011-3/+0
|
* Remove __ASSUME_STAT64_SYSCALL.Joseph Myers2012-08-271-27/+0
|
* Remove __ASSUME_FADVISE64_64_SYSCALL.Joseph Myers2012-08-211-8/+0
|
* Remove __ASSUME_SWAPCONTEXT_SYSCALL.Joseph Myers2012-08-201-7/+0
|
* Define __ASSUME_UTIMES for s390.Joseph Myers2012-08-201-2/+4
|
* Remove __ASSUME_MMAP2_SYSCALL.Joseph Myers2012-08-201-16/+3
|
* Remove __ASSUME_POSIX_TIMERS.Joseph Myers2012-08-161-4/+0
|
* Remove __ASSUME_CLONE_THREAD_FLAGS.Joseph Myers2012-08-141-11/+0
|
* Move Linux kernel version conditionals to kernel-features.h.Joseph Myers2012-08-101-0/+7
|
* Remove __ASSUME_TGKILL.Joseph Myers2012-08-081-7/+0
|
* Remove some pre-2.6.16 Linux kernel conditionals.Joseph Myers2012-08-071-17/+0
|
* Remove pre-2.6.16 Linux kernel support.Joseph Myers2012-08-071-40/+13
|
* Remove some pre-2.6.0 Linux kernel conditionals.Joseph Myers2012-08-031-18/+0
|
* Remove pre-2.6.0 Linux kernel support (bug 13717).Joseph Myers2012-08-031-37/+12
|
* Remove __ASSUME_FCNTL64.Joseph Myers2012-08-011-14/+0
|
* Remove __ASSUME_VFORK_SYSCALL (and some __NR_vfork conditionals).Joseph Myers2012-08-011-11/+0
|
* Remove pre-2.4.21 Linux kernel support.Joseph Myers2012-07-251-32/+5
|
* Remove pre-2.4.1 Linux kernel support.Joseph Myers2012-07-121-31/+8
|
* Remove __ASSUME_TRUNCATE64_SYSCALL.Joseph Myers2012-05-301-11/+3
|
* Remove __ASSUME_NEW_GETRLIMIT_SYSCALL.Joseph Myers2012-05-251-10/+0
|
* Remove pre-2.4 Linux kernel support.Joseph Myers2012-05-251-51/+12
|
* Remove pre-2.2 Linux kernel support.Joseph Myers2012-05-141-49/+5
|
* Add some missing sparc kernel-feature.h entries.David S. Miller2012-03-121-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.
* Replace FSF snail mail address with URLs.Paul Eggert2012-02-091-3/+2
|
* More IA-64 removalUlrich Drepper2012-01-071-1/+1
|
* Remove IA-64 support from kernel-features.hUlrich Drepper2012-01-071-8/+7
|
* Prefer real syscalls instead of vsyscalls on x86-64 outside libc.soUlrich Drepper2011-09-061-0/+5
|
* Add sendmmsg syscallUlrich Drepper2011-05-281-0/+5
|
* Fix a few problems in fopen and freopenUlrich Drepper2011-05-151-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).
* Use prlimit64 for 32-bit [gs]etrlimit64 implementation.Ulrich Drepper2010-12-251-0/+5
|
* f_flags in Linux statfs implementation.Ulrich Drepper2010-08-111-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.
* Implement recvmmsg also as socketcallAndreas Schwab2010-05-211-0/+5
|
* Remove unnecessary Alpha support.Ulrich Drepper2010-05-051-36/+14
|
* Fix comments and indentation.Ulrich Drepper2010-03-271-7/+7
|
* Fix F_GETOWN on some Linux archs.Ulrich Drepper2009-10-291-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.
* Compatibility of signalfd/eventfd with older kernels.Ulrich Drepper2009-07-261-0/+2
|
* Don't define __ASSUME_ACCEPT4 for IA-64.Ulrich Drepper2009-05-211-1/+1
|
* * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_AT_RANDOM.Ulrich Drepper2009-05-091-0/+5
|
* * sysdeps/unix/sysv/linux/kernel-features.h: All supportedUlrich Drepper2009-04-181-3/+1
| | | | architectures have preadv/pwritev in 2.6.30.
* * sysdeps/unix/sysv/linux/kernel-features.h: SH also hasUlrich Drepper2009-04-141-1/+1
| | | | preadv/pwritev.
* * sysdeps/unix/sysv/linux/kernel-features.h: SPARC and IA64 alsoUlrich Drepper2009-04-091-1/+2
| | | | have preadv/pwritev in 2.6.30.
* * sysdeps/unix/sysv/linux/kernel-features.h: Power also hasUlrich Drepper2009-04-071-1/+1
| | | | preadv/pwritev in 2.6.30.
* * misc/Makefile (routines): Add preadv, preadv64, pwritev, pwritev64.Ulrich Drepper2009-04-031-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.
* * sysdeps/unix/sysv/linux/kernel-features.h: DefineUlrich Drepper2009-04-031-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>
* * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: DefineUlrich Drepper2009-01-031-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.
* * sysdeps/unix/sysv/linux/kernel-features.hUlrich Drepper2009-01-031-0/+7
| | | | (__ASSUME_FUTEX_CLOCK_REALTIME): Define.
* * resolv/res_send.c (send_dg): Use correct guards for SOCK_CLOEXECUlrich Drepper2008-12-081-1/+1
| | | | | | | use. * sysdeps/unix/sysv/linux/kernel-features.h: Fix typo in accept4 handling.