Ulrich Drepper
7ae22829af
Restore _res correctly
...
getaddrinfo works around the resolver functionality to avoid automatic
IPv6 lookups. The restoring didn't allow for the resolver to set
additional bits in _res.
2011-05-29 23:49:49 -04:00
Ulrich Drepper
80e2212d8e
Same change for the other siginfi.h files
2011-05-29 20:12:15 -04:00
Ulrich Drepper
b1ebd700c5
Don't document si_code used for raise()
2011-05-29 20:05:30 -04:00
Ulrich Drepper
d0478f0c81
Fix build for platforms with socketcall syscall
2011-05-28 13:18:57 -04:00
Ulrich Drepper
c738465a4c
Add support for time syscall in vDSO
2011-05-28 01:53:26 -04:00
Ulrich Drepper
f1f929d74a
Add sendmmsg syscall
2011-05-28 01:43:20 -04:00
Ulrich Drepper
ce67228d57
Set setns system call
2011-05-28 00:53:13 -04:00
Ulrich Drepper
a8509ca540
Use getcpu definition from vDSO on x86-64
2011-05-27 16:09:52 -04:00
Jakub Jelinek
ea486f691d
Undo accidental change in x86-64 user.h
2011-05-25 16:57:13 -04:00
Ulrich Drepper
67f86a251e
Define RLIMIT_RTTIME
2011-05-23 15:53:37 -04:00
Andreas Schwab
f50ef8f1ef
Fix sysconf compilation for !HP_TIMING_AVAIL archs
2011-05-23 11:51:12 -04:00
Ulrich Drepper
05bb4a68ad
Define CLOCK_REALTIME_ALARM and CLOCK_BOOTTIME_ALARM
2011-05-21 17:20:41 -04:00
Ulrich Drepper
34a9094f49
Don't unconditionally use alloca in gaih_inet
2011-05-20 23:46:03 -04:00
Ryan S. Arnold
457bddfc2a
Prevent Altivec and VSX insns on PowerPC64 when no FPRs or VRs are avail.
...
(cherry picked from commit 4749a0058b
)
Conflicts:
ChangeLog
2011-05-20 06:34:48 -04:00
H.J. Lu
8db736347c
Fix typo in x86-64 powl
2011-05-18 19:50:48 -04:00
Ulrich Drepper
d79a9c949c
Cleanup x86-64 sys/user.h
2011-05-16 01:35:07 -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
3b85df2787
sysconf on Linux/ia64 reported outdate versions for some options
...
The code is also cleaned up to avoid inefficiencies.
2011-05-15 11:18:10 -04:00
Ulrich Drepper
15a856b109
Make stack canary value harder to read through read overflow
2011-05-15 10:59:07 -04:00
Ulrich Drepper
05f399e634
Use non-cancelable interfaces in setup code
2011-05-15 09:40:30 -04:00
Ulrich Drepper
f8a3b5bf8f
Use mmap for allocation of buffers used for __abort_msg
2011-05-15 00:34:48 -04:00
Ulrich Drepper
2fc54d6f9f
Fix initialization of optimization values for AIO
2011-05-14 19:30:37 -04:00
Ulrich Drepper
32ad1972a8
Fix typo in comment
2011-05-14 11:16:18 -04:00
Ulrich Drepper
da3c19ef5a
Fix potential problem with out-of-scope buffer
2011-05-14 11:13:31 -04:00
Ulrich Drepper
d6f67f7d83
Handle recursive calls in backtrace better
2011-05-14 10:46:17 -04:00
Ulrich Drepper
f574184a0e
Fix sched_setscheduler call in spawn implementation
2011-05-11 23:58:02 -04:00
Ulrich Drepper
6fb2dde3f1
Make complete getcwd work in rtld
2011-05-08 14:53:20 -04:00
Ulrich Drepper
7fb90fb89b
Fix Linux getcwd for long paths
...
The getcwd syscall (so far?) can only handle path up to one page
in size. There is no limit about directory hierarchy depth, though,
and the POSIX getcwd is supposed to handle this. In that case fall
back to the generic getcwd.
Additionally, optimize the generic getcwd to use openat when possible
to change the asymptotic performance from O(N^2) to O(n).
2011-05-08 08:37:19 -04:00
Ulrich Drepper
28377d1bf5
Optimize fdopendir a bit.
...
Don't call fcntl(F_SETFD) unnecessarily.
2011-05-08 00:48:30 -04:00
Jonathan Nieder
9572119174
Actually undefine ARG_MAX from <linux/limits.h>
2011-05-07 13:20:33 -04:00
Ulrich Drepper
d08055417d
Misplaced new line in last patch
2011-05-07 09:13:43 -04:00
Paul Pluzhnikov
8a35c9120f
Add missing {__BEGIN,__END}_DECLS to sys/sysmacros.h
2011-05-07 09:03:36 -04:00
Ulrich Drepper
1bfbe0d335
Better use of open in pathconf.
2011-05-02 21:34:34 -04:00
Maciej Babinski
0b592a30f5
getaddrinfo(AF_INET6) does not return scope_id info provided by NSS modules
2011-05-02 21:11:17 -04:00
Ulrich Drepper
6e04cbbe79
Fix pathconf(_PC_BUF_SIZE).
2011-05-02 20:59:51 -04:00
Ulrich Drepper
7a41d99a35
Fix whitespaces.
2011-04-22 21:38:13 -04:00
Jim Meyering
ded5b9b7c7
Remove doubled words.
2011-04-22 21:34:32 -04:00
Mike Frysinger
4c559bcdf3
Fix static linking with checking x86/x86-64 memcpy.
2011-04-17 22:20:47 -04:00
Andreas Schwab
4420675c9d
Fix POWER4/POWER7 optimized strncmp to not read past differing bytes
2011-04-17 22:03:53 -04:00
Ulrich Drepper
75ea32abcd
Fix FPU context handling in getcontext on x86-64.
...
fnstenv on x86-64 seems to clear the state. Work around.
2011-04-17 21:51:26 -04:00
Justin P. Mattock
94409c736b
Typo fix appproximated.
2011-04-17 20:56:07 -04:00
Andreas Krebbel
2739047682
Use .machine to prevent AS from complaining about z9-109 instructions in iconv modules
2011-04-17 20:43:59 -04:00
Andreas Krebbel
1044270502
Skip extra zeroes when searching auxv on s390
2011-04-17 20:41:45 -04:00
Ulrich Drepper
e6c6149412
Fix memory leak in TLS of loaded objects.
2011-04-10 22:43:01 -04:00
Andreas Schwab
f12a32e6f0
Make ppc sync_file_range cancelable.
2011-04-09 11:07:18 -04:00
Ulrich Drepper
38a7d692fc
Fix typo in comment.
2011-04-09 11:01:37 -04:00
Andreas Schwab
e451d22b22
Maintain stack alignment in ____longjmp_chk on x86_64
2011-04-07 16:23:52 -04:00
Ulrich Drepper
dedc7c7b05
Fix typo in cache information table for x86-{32,64}.
2011-04-03 09:32:31 -04:00
Ulrich Drepper
94521213b6
Define CLOCK_BOOTTIME.
2011-04-02 15:27:07 -04:00
H.J. Lu
0354e35501
Work around old buggy program which cannot cope with memcpy semantics.
2011-04-01 19:38:21 -04:00