summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/kernel-features.h
AgeCommit message (Collapse)AuthorFilesLines
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.
2008-12-03* socket/sys/socket.h: Declare accept4.Ulrich Drepper1-1/+7
* socket/accept4.c: New file. * sysdeps/unix/sysv/linux/accept4.c: New file. * sysdeps/unix/sysv/linux/i386/accept4.S: New file. * socket/Makefile (routines): Add accept4. * socket/Versions: Export accept4 with version GLIBC_2.10. * socket/paccept.c: Removed. * sysdeps/unix/sysv/linux/paccept.c: Removed. * sysdeps/unix/sysv/linux/i386/paccept.S: Removed. * Versions.def: Define GLIBC_2.10 for libc. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_ACCEPT4. * nscd/connections.c: Use accept4. * sysdeps/unix/sysv/linux/i386/socket.S: Fix comment.
2008-08-01* sysdeps/unix/sysv/linux/kernel-features.h: s390 has the newUlrich Drepper1-1/+1
syscalls, too.
2008-08-01* sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): We cannotUlrich Drepper1-5/+0
use the AT_EXECFN value if it is no absolute path. * sysdeps/unix/sysv/linux/kernel-features.h: Never define __ASSUME_AT_EXECFN.
2008-07-31* sysdeps/unix/sysv/linux/kernel-features.h: DefineUlrich Drepper1-0/+8
__ASSUME_O_CLOEXEC.
2008-07-30* nscd/connections.c (nscd_init): Type if preprocessor directive.Ulrich Drepper1-0/+1
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PACCEPT): Define.
2008-07-27* sysdeps/unix/sysv/linux/syscalls.list: Add __pipe2 alias.Ulrich Drepper1-1/+1
* io/pipe2.c: Likewise. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PIPE2 instead of __ASSUME_PACCEPT. * include/unistd.h: Declare __have_pipe2. * libio/iopopen.c: Implement "e" flag. * libio/Makefile (tests): Add tst-popen1. * libio/tst-popen1.c: New file.
2008-07-26* sysdeps/unix/sysv/linux/kernel-features.h: IA-64 and SPARC haveUlrich Drepper1-2/+2
the new syscalls, too.
2008-07-26* sysdeps/unix/sysv/linux/kernel-features.h: IA-64 has the newUlrich Drepper1-3/+4
syscalls, too.
2008-07-25* sysdeps/unix/sysv/linux/kernel-features.h: PPC has the newUlrich Drepper1-1/+1
syscalls, too.
2008-07-25* sysdeps/unix/sysv/linux/kernel-features.h: DefineUlrich Drepper1-0/+9
__ASSUME_PACCEPT, __ASSUME_IN_NONBLOCK, and __ASSUME_PACCEPT if appropriate. * nscd/connections.c: Avoid fcntl calls to set close-on-exec flag and non-blocking mode by using socket, paccept, and inotify_init1.
2008-07-24* elf/elf.h: Define AT_EXECFN.Ulrich Drepper1-1/+6
* elf/rtld.c [!__ASSUME_AT_EXECFN] (process_envvars): Don't handle LD_ORIGIN_PATH. * elf/dl-sysdep.c (_dl_sysdep_start): Handle AT_EXECFN. * elf/dl-support.c: Define _dl_execfn. Don't define _dl_origin_path if __ASSUME_AT_EXECFN is defined. (_dl_aux_init): Handle AT_EXECFN. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_AT_EXECFN for 2.6.27 and up. * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_execfn. Don't define _dl_origin_path if __ASSUME_AT_EXECFN is defined. * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): Use _dl_execfn if available and avoid compatibility code if __ASSUME_AT_EXECFN is defined.
2007-12-10* sysdeps/unix/sysv/linux/adjtime.c: Use ADJ_OFFSET_SS_READ ifUlrich Drepper1-0/+5
possible. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_ADJ_OFFSET_SS_READ): Define for 2.6.24. * sysdeps/unix/sysv/linux/sys/timex.h (ADJ_OFFSET_SS_READ): Define.
2007-08-14* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PSELECT,Ulrich Drepper1-18/+32
__ASSUME_PPOLL, __ASSUME_ATFCTS, __ASSUME_SET_ROBUST_LIST, __ASSUME_UTIMENSAT, __ASSUME_FALLOCATE): Update per-arch conditions when each feature was introduced. * sysdeps/unix/sysv/linux/dl-vdso.c: Don't include dl-hash.h. * sysdeps/unix/sysv/linux/dl-vdso.h: Don't include dl-hash.h if NDEBUG. (CHECK_HASH): New macro. (PREPARE_VERSION): Use it. * sysdeps/unix/sysv/linux/pselect.c (__generic_pselect): Only provide prototype if not __ASSUME_PSELECT. * sysdeps/unix/sysv/linux/ppoll.c (__generic_ppoll): Only provide prototype if not __ASSUME_PPOLL. * sysdeps/unix/sysv/linux/dl-osinfo.h (ROUND): #undef after use. * sysdeps/unix/clock_settime.c (freq, __pthread_clock_settime, hp_timing_settime): Don't define or declare if HANDLED_CPUTIME is defined.
2007-07-23* io/Makefile (tests): Add tst-posix_fallocate.Ulrich Drepper1-0/+5
* io/tst-posix_fallocate.c: New file. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_FALLOCATE.
2007-05-19(__ASSUME_PRIVATE_FUTEX): Define for kernel >= 2.6.22.Ulrich Drepper1-1/+6
2007-05-10* sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Define UTIME_NOW andUlrich Drepper1-0/+5
UTIME_OMIT. * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_UTIMENSAT. * io/sys/stat.h: Declare utimensat, futimens. * io/utimensat.c: New file. * io/futimens.c: New file. * sysdeps/unix/sysv/linux/utimensat.c: New file. * sysdeps/unix/sysv/linux/futimens.c: New file. * io/Makefile (routines): Add utimensat, futimens. * io/Versions: Add utimensat, futimens to GLIBC_2.6. * sysdeps/unix/sysv/linux/lutimes.c: New file. * sysdeps/unix/sysv/linux/futimes.c: Use utimensat syscall if available. * include/sys/cdefs.h: Redefine __nonnull so that test for incorrect parameters in the libc code itself are not omitted.
2006-07-29* sysdeps/unix/sysv/linux/kernel-features.h: DefineUlrich Drepper1-8/+9
__ASSUME_FUTEX_LOCK_PI. * include/time.h: Declare __nanosleep_nocancel. * include/unistd.h: Declare __pause_nocancel.
2006-04-19* sysdeps/unix/sysv/linux/kernel-features.h: DefineUlrich Drepper1-0/+6
__ASSUME_PROC_SELF_FD_SYMLINK. * sysdeps/unix/sysv/linux/ttyname.c: Cleanups. Avoid compatibility code is possible. Move compatibility code in .text.compat section. * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2006-03-28* sysdeps/unix/sysv/linux/kernel-features.h: Remove support forUlrich Drepper1-27/+4
architectures which moved to ports.
2006-03-28* sysdeps/unix/sysv/linux/kernel-features.h: AddUlrich Drepper1-0/+6
__ASSUME_SET_ROBUST_LIST.
2006-03-162004-12-09 Randolph Chung <tausq@debian.org>Roland McGrath1-1/+1
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Don't define for hppa, which doesn't support this syscall.
2006-02-22* sysdeps/unix/sysv/linux/kernel-features.hRoland McGrath1-13/+7
(__ASSUME_CLONE_THREAD_FLAGS): Consolidate definitions. 2006-02-03 Jakub Jelinek <jakub@redhat.com> * manual/filesys.texi (futimes): Fix prototype.
2006-02-21[BZ #2329]Roland McGrath1-14/+1
2006-02-20 Roland McGrath <roland@redhat.com> * sysdeps/mips: Directory removed, saved in ports repository. * sysdeps/unix/mips: Likewise. * sysdeps/unix/sysv/linux/mips: Likewise. * sysdeps/mach/mips: Likewise. * sysdeps/mach/hurd/mips: Likewise. * shlib-versions: Remove mips matches, now in ports fragment. * sysdeps/unix/sysv/linux/kernel-features.h: Likewise. * configure.in (machine): Likewise. * configure: Regenerated. 2006-02-15 Thomas Schwinge <tschwinge@gnu.org> [BZ #2329] * include/unistd.h (__getresuid, __getresgid, __setresuid) (__setresgid): Fix argument name order in prototypes. * posix/unistd.h (getresuid, getresgid, setresuid, setresgid): Likewise. * posix/getresuid.c (__getresuid): Fix argument order in definition. * posix/getresgid.c (__getresgid): Likewise. * posix/setresuid.c (__setresuid): Likewise. * posix/setresgid.c (__setresgid): Likewise. * sysdeps/mach/hurd/getresuid.c (__getresuid): Likewise. * sysdeps/mach/hurd/getresgid.c (__getresgid): Likewise. * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise. * sysdeps/mach/hurd/setresgid.c (__setresgid): Likewise. Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>.
2006-01-20* include/fcntl.h: Declare __have_atfcts.Ulrich Drepper1-0/+24
* sysdeps/unix/sysv/linux/faccessat.c: Use syscall if available. * sysdeps/unix/sysv/linux/fchmodat.c: Likewise. * sysdeps/unix/sysv/linux/fchownat.c: Likewise. * sysdeps/unix/sysv/linux/futimesat.c: Likewise. * sysdeps/unix/sysv/linux/linkat.c: Likewise. * sysdeps/unix/sysv/linux/mkdirat.c: Likewise. * sysdeps/unix/sysv/linux/openat.c: Likewise. * sysdeps/unix/sysv/linux/readlinkat.c: Likewise. * sysdeps/unix/sysv/linux/renameat.c: Likewise. * sysdeps/unix/sysv/linux/symlinkat.c: Likewise. * sysdeps/unix/sysv/linux/unlinkat.c: Likewise. * sysdeps/unix/sysv/linux/xmknodat.c: Likewise. * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PSELECT, __ASSUME_PPOLL, and __ASSUME_ATFCTS if possible. * io/ppoll.c: New file. * io/Makefile (routines): Add ppoll. (CFLAGS-ppoll.c): Define. * io/Versions: Export ppoll for GLIBC_2.4. * io/sys/poll.h: Declare ppoll. * sysdeps/unix/sysv/linux/ppoll.c: New file. * misc/pselect.c: Make it possible to include this file to define the generic code as a static function. * sysdeps/unix/sysv/linux/pselect.c: New file.