Ulrich Drepper
5ae958d741
Handle too-small buffers in Linux getlogin_r.
2010-05-05 09:44:50 -07:00
Ulrich Drepper
3155f06621
Remove unnecessary Alpha support.
2010-05-05 00:26:14 -07:00
Andreas Schwab
5a2a1d7504
Don't deadlock in __dl_iterate_phdr while (un)loading objects.
2010-05-03 08:08:28 -07:00
Bruno Haible
8c0677fe5d
BZ #11538 : Fix ttyname_r callers not to expect errno was set.
2010-04-28 15:00:14 -07:00
Bruno Haible
6cffee3611
BZ #11537 : Hurd: Fix ttyname_r error return value.
2010-04-26 10:07:15 -07:00
H.J. Lu
6cc2b8a6df
Fix bugs in x86-32 strcmp-sse4.S and strcmp-ssse3.S
2010-04-15 07:49:30 -07:00
Ulrich Drepper
94a27fabeb
Whitespace fix.
2010-04-14 22:29:51 -07:00
H.J. Lu
a11ec63713
Add x86-32 FMA support
2010-04-14 22:27:59 -07:00
H.J. Lu
df87f54923
Check DATA_CACHE_SIZE_HALF
2010-04-14 22:18:27 -07:00
H.J. Lu
dd37cd1a12
Optimie x86-64 SSE4 memcmp for unaligned data.
2010-04-14 17:53:44 -07:00
H.J. Lu
404a6e3201
x86-64 SSE4 optimized memcmp
...
This is 64bit SSE4 optimized memcmp. It improves memcmp by upto 3X
on Intel Core i7.
2010-04-14 00:12:53 -07:00
Ulrich Drepper
bbbdd77809
Update x86-64 cpu multiarch selection header.
2010-04-13 19:17:10 -07:00
Andreas Schwab
0dabf204ef
Fix makecontext on s390/s390x
2010-04-13 10:23:22 -07:00
Ulrich Drepper
aa6436d6ad
Fix reading loginuid file in getlogin{,_r}.
2010-04-08 19:04:33 -07:00
Andreas Schwab
de240a05b3
Fix fallocate error return on i386.
2010-04-08 15:44:55 -07:00
Ulrich Drepper
88e236a627
Fix cproj implmentation.
2010-04-08 15:32:51 -07:00
Roland McGrath
f571a994ce
Move unwind-resume code from NPTL to sysdeps/gnu.
2010-04-05 20:07:39 -07:00
Ulrich Drepper
cb652f30b0
Handle POSIX-compliant errno value of unlink in remove.
2010-04-04 02:08:37 -07:00
Ulrich Drepper
22f4f44b67
Fix concurrent handling of __cpu_features.
2010-04-04 00:25:46 -07:00
Ulrich Drepper
1a81139728
Handle unnecessary padding in getdents64.
...
The getdents64 syscall adds on 32-but platforms padding which isn't needed
and not included in the userlevel data structure definition. We have to
avoid copying those padding bytes in the readdir64_r function.
2010-04-03 23:51:40 -07:00
Ulrich Drepper
b8b14c4cc3
Fix changes to interface list during getifaddrs calls.
2010-04-03 20:36:59 -07:00
Ryan S. Arnold
3ed8e24122
Remove incorrect paring of /proc/stat etc.
2010-04-03 19:20:29 -07:00
David S. Miller
960af486d2
Fix build of mmap64.
2010-03-31 14:07:39 -07:00
Ulrich Drepper
6d28d423b2
Define MSG_WAITFORONE.
2010-03-29 22:31:44 -07:00
Ulrich Drepper
ab61c641c2
Fix typos from last patch.
2010-03-29 18:43:06 -07:00
Thomas Schwinge
bc58236c65
Handle platforms without aux vector
2010-03-29 15:13:53 -07:00
Ulrich Drepper
8f4a5048ee
Optimize __getpagesize a bit.
2010-03-27 06:19:50 -07:00
Ulrich Drepper
463ed2f0be
Fix comments and indentation.
2010-03-27 04:48:18 -07:00
Ulrich Drepper
62f8db6e49
Define miss_F_GETOWN_EX only if needed.
...
When doing i686-unknown-linux-gnu build configured with --enable-kernel=2.6.24,
there are several warnings like this:
../sysdeps/unix/sysv/linux/i386/fcntl.c:36:12: warning: ‘miss_F_GETOWN_EX’ defined but not used
2010-03-27 04:11:14 -07:00
Richard Henderson
d09580b1e6
Mark _dl_random attribute_relro in the header file.
...
It's already so marked in dl-sysdep.c. Failure to so mark
in the header file leads the compiler to believe that the
variable should be addressable via the .sdata section.
Signed-off-by: Richard Henderson <rth@twiddle.net>
2010-03-26 09:51:57 -07:00
Richard Henderson
b1c1949e60
Don't take the address of a void object.
...
GCC 4.5 warns about "extern void _end; &end;".
Use char[] instead, as that also doesn't fall foul
of a target's .sdata optimizations.
Signed-off-by: Richard Henderson <rth@twiddle.net>
2010-03-26 09:16:21 -07:00
Ulrich Drepper
07f9ca32a9
Fix one case of last checkin.
...
If the v4 lookup failed but v6 succeeded we treat this as a success.
2010-03-26 05:52:39 -07:00
Ulrich Drepper
7c9302908e
Don't abort immediately on successful lookup in getaddrinfo.
...
When not using gethostbyname4 methods we immediately aborted the loop
over the nss modules on the first successful lookup. While this is
almost always what is wanted the nsswitch.conf file allows to select
something different.
2010-03-26 05:40:27 -07:00
Andreas Schwab
c3dfadb87e
Fix spurious UNAVAIL status is getaddrinfo
2010-03-26 05:35:50 -07:00
Ulrich Drepper
70c90289ff
Merge branch 'master' of ssh://sources.redhat.com/git/glibc
...
Conflicts:
ChangeLog
2010-03-25 19:45:20 -07:00
Ulrich Drepper
89a4419cc3
Add support for new clocks.
...
Recent Linux kernels added support for the CLOCK_MONOTONIC_RAW,
CLOCK_REALTIME_COARSE, and CLOCK_MONOTONIC_COARSE clocks.
2010-03-25 04:01:33 -07:00
Andreas Schwab
34b514dff6
Fix typo in cuserid
2010-03-25 11:36:02 +01:00
Ulrich Drepper
c8727fa6e5
Fix Linux getlogin{_r,} implementation
...
The old implementation uses fd 0 to determine the login TTY. This
was needed because using /dev/tty it is not possible to deduce the
login TTY. For some time now there is the pseudo-file
/proc/self/loginuid which directly helps us to find the user. Prefer
using this file. It also works if stdin is closed, redirected, or
re-opened.
2010-03-24 17:02:57 -07:00
Jonathan Geisler
fd8ccb0427
calls to cuserid() can result in buffer overruns and/or overflows
2010-03-24 16:02:15 -07:00
Ulrich Drepper
085f930b8f
Allow variable shift values in mmap2.
2010-03-24 14:59:43 -07:00
H.J. Lu
7d9335ecd7
Don't define __strpbrk_sse42 in static library
2010-03-24 12:16:24 -07:00
H.J. Lu
b170ff0f8f
Fix sysdeps/i386/i686/multiarch/memcmp-ssse3.S
2010-03-18 11:40:46 -07:00
Ulrich Drepper
d8c47894ca
Extended ELF ABI version handling only for Linux.
...
If the OSABI is generic we should not allow the ABI version to be nonzero.
Move all the new functionality into Linux-specific files.
2010-03-16 23:34:59 -07:00
Ulrich Drepper
8ed9a2b18b
Also update Linux-specific VALID_ELF_ABIVERSION definition.
2010-03-16 14:39:45 -07:00
Ulrich Drepper
94db8db8e8
Define UMOUNT_NOFOLLOW.
2010-03-12 08:44:10 -08:00
Ulrich Drepper
b8907dfd8b
Fix whitespace issues.
2010-03-10 07:28:04 -08:00
Luis Machado
fb084e5e80
power7-optimized 64-bit and 32-bit memcpy
2010-03-10 07:14:16 -08:00
David S. Miller
462a5227b0
sparc: Optimize strlen using techniques from powerpc implementation.
2010-03-09 06:42:53 -08:00
David S. Miller
2fe000dfd6
sparc32: Fix non-v9 build failure in memcpy.
2010-03-09 06:37:45 -08:00
David S. Miller
d6d1c4c87c
sparc64: Fix handling of R_SPARC_TLS_LE_* relocations.
2010-03-09 03:48:24 -08:00