Joseph Myers
b36137f1d6
Remove __ASSUME_TGKILL.
2012-08-08 23:22:53 +00:00
Joseph Myers
93df14eee8
Remove some pre-2.6.16 Linux kernel conditionals.
2012-08-07 23:03:35 +00:00
Joseph Myers
6dad2c0688
Remove pre-2.6.16 Linux kernel support.
2012-08-07 16:40:32 +00:00
Joseph Myers
85fe199795
Remove some pre-2.6.0 Linux kernel conditionals.
2012-08-03 19:54:08 +00:00
Joseph Myers
7aab07e4e5
Remove pre-2.6.0 Linux kernel support (bug 13717).
2012-08-03 13:42:47 +00:00
Joseph Myers
23bddc0668
Remove __ASSUME_FCNTL64.
2012-08-01 21:27:58 +00:00
Joseph Myers
a9f1039f0a
Remove __ASSUME_VFORK_SYSCALL (and some __NR_vfork conditionals).
2012-08-01 20:49:45 +00:00
Joseph Myers
89b4b02f42
Remove pre-2.4.21 Linux kernel support.
2012-07-25 21:19:13 +00:00
Joseph Myers
ec332e944f
Remove pre-2.4.1 Linux kernel support.
2012-07-12 12:31:32 +00:00
Joseph Myers
3a85279c0b
Remove __ASSUME_TRUNCATE64_SYSCALL.
2012-05-30 14:52:34 +00:00
Joseph Myers
a82392228a
Remove __ASSUME_NEW_GETRLIMIT_SYSCALL.
2012-05-25 22:30:06 +00:00
Joseph Myers
21708942c9
Remove pre-2.4 Linux kernel support.
2012-05-25 19:19:30 +00:00
Joseph Myers
ffb7875d03
Remove pre-2.2 Linux kernel support.
2012-05-14 14:11:02 +00:00
David S. Miller
b4b2eb5eae
Add some missing sparc kernel-feature.h entries.
...
* 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-03-12 15:51:15 -07:00
Paul Eggert
59ba27a63a
Replace FSF snail mail address with URLs.
2012-02-09 23:18:22 +00:00
Ulrich Drepper
664f8cb9d5
More IA-64 removal
2012-01-07 12:55:20 -05:00
Ulrich Drepper
b13b98854e
Remove IA-64 support from kernel-features.h
2012-01-07 12:23:45 -05:00
Ulrich Drepper
ef60624956
Prefer real syscalls instead of vsyscalls on x86-64 outside libc.so
2011-09-06 00:12:18 -04:00
Ulrich Drepper
f1f929d74a
Add sendmmsg syscall
2011-05-28 01:43:20 -04:00
Ulrich Drepper
94b7cc3711
Fix a few problems in fopen and freopen
...
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).
2011-05-15 15:28:46 -04:00
Ulrich Drepper
5bd6dc5c2c
Use prlimit64 for 32-bit [gs]etrlimit64 implementation.
2010-12-25 20:12:27 -05:00
Ulrich Drepper
3cdaa6adb1
f_flags in Linux statfs implementation.
...
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-08-11 14:07:28 -07:00
Andreas Schwab
3d04ff3a5d
Implement recvmmsg also as socketcall
2010-05-21 12:11:28 -07:00
Ulrich Drepper
3155f06621
Remove unnecessary Alpha support.
2010-05-05 00:26:14 -07:00
Ulrich Drepper
463ed2f0be
Fix comments and indentation.
2010-03-27 04:48:18 -07:00
Ulrich Drepper
81c84bd902
Fix F_GETOWN on some Linux archs.
...
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-10-29 10:12:59 -07:00
Ulrich Drepper
aa7492d20e
Compatibility of signalfd/eventfd with older kernels.
2009-07-26 12:55:03 -07:00
Ulrich Drepper
3533b1a6a6
Don't define __ASSUME_ACCEPT4 for IA-64.
2009-05-21 18:23:57 -07:00
Ulrich Drepper
4300afc169
* sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_AT_RANDOM.
2009-05-09 06:54:31 +00:00
Ulrich Drepper
11cad88ce9
* sysdeps/unix/sysv/linux/kernel-features.h: All supported
...
architectures have preadv/pwritev in 2.6.30.
2009-04-18 02:37:43 +00:00
Ulrich Drepper
b8a3bd8256
* sysdeps/unix/sysv/linux/kernel-features.h: SH also has
...
preadv/pwritev.
2009-04-14 18:31:03 +00:00
Ulrich Drepper
28b2771a4b
* sysdeps/unix/sysv/linux/kernel-features.h: SPARC and IA64 also
...
have preadv/pwritev in 2.6.30.
2009-04-09 18:52:57 +00:00
Ulrich Drepper
1a2ec17ba6
* sysdeps/unix/sysv/linux/kernel-features.h: Power also has
...
preadv/pwritev in 2.6.30.
2009-04-07 17:38:50 +00:00
Ulrich Drepper
e109c6124f
* misc/Makefile (routines): Add preadv, preadv64, pwritev, pwritev64.
...
* 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 19:57:16 +00:00
Ulrich Drepper
2dbe6afe7c
* sysdeps/unix/sysv/linux/kernel-features.h: Define
...
__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-04-03 17:23:13 +00:00
Ulrich Drepper
7dd650d7fc
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Define
...
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 03:45:07 +00:00
Ulrich Drepper
ebb2788e97
* sysdeps/unix/sysv/linux/kernel-features.h
...
(__ASSUME_FUTEX_CLOCK_REALTIME): Define.
2009-01-03 01:52:29 +00:00
Ulrich Drepper
200da00a7c
* resolv/res_send.c (send_dg): Use correct guards for SOCK_CLOEXEC
...
use.
* sysdeps/unix/sysv/linux/kernel-features.h: Fix typo in accept4
handling.
2008-12-08 04:08:51 +00:00
Ulrich Drepper
f93fc0b75a
* socket/sys/socket.h: Declare accept4.
...
* 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-12-03 04:23:18 +00:00
Ulrich Drepper
7e1b29c64a
* sysdeps/unix/sysv/linux/kernel-features.h: s390 has the new
...
syscalls, too.
2008-08-01 21:51:11 +00:00
Ulrich Drepper
42fa1f67d4
* sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): We cannot
...
use the AT_EXECFN value if it is no absolute path.
* sysdeps/unix/sysv/linux/kernel-features.h: Never define
__ASSUME_AT_EXECFN.
2008-08-01 18:03:57 +00:00
Ulrich Drepper
46bc5d4393
* sysdeps/unix/sysv/linux/kernel-features.h: Define
...
__ASSUME_O_CLOEXEC.
2008-07-31 20:12:34 +00:00
Ulrich Drepper
bd7f48571d
* nscd/connections.c (nscd_init): Type if preprocessor directive.
...
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PACCEPT):
Define.
2008-07-30 16:33:19 +00:00
Ulrich Drepper
d6e0c2a67d
* sysdeps/unix/sysv/linux/syscalls.list: Add __pipe2 alias.
...
* 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-27 18:26:13 +00:00
Ulrich Drepper
bdd24a302e
* sysdeps/unix/sysv/linux/kernel-features.h: IA-64 and SPARC have
...
the new syscalls, too.
2008-07-26 05:44:56 +00:00
Ulrich Drepper
b5c0b5e431
* sysdeps/unix/sysv/linux/kernel-features.h: IA-64 has the new
...
syscalls, too.
2008-07-26 05:41:16 +00:00
Ulrich Drepper
bb0277bff5
* sysdeps/unix/sysv/linux/kernel-features.h: PPC has the new
...
syscalls, too.
2008-07-25 21:03:16 +00:00
Ulrich Drepper
3ff2c948be
* sysdeps/unix/sysv/linux/kernel-features.h: Define
...
__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-25 05:30:10 +00:00
Ulrich Drepper
0e077a7eea
* elf/elf.h: Define AT_EXECFN.
...
* 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.
2008-07-24 18:33:44 +00:00
Ulrich Drepper
ae18718f58
* sysdeps/unix/sysv/linux/adjtime.c: Use ADJ_OFFSET_SS_READ if
...
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-12-10 23:51:42 +00:00