Commit Graph

305 Commits

Author SHA1 Message Date
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
c1e9ea3517 Doc fixes. 2011-05-07 13:30:39 -04:00
Ulrich Drepper
f87dfb1f11 Backport BIND code to query name as TLD. 2011-05-07 13:05:19 -04:00
Ulrich Drepper
47c3cd7a74 Allow $ORIGIN to reference trusted directoreis in SUID binaries. 2011-05-07 11:44:26 -04:00
Ulrich Drepper
a044697649 Update. 2011-05-06 07:47:33 -04:00
Ulrich Drepper
018b9e368d Explain header situation after RPC removal in NEWS 2011-05-05 07:39: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
6fdb1ce876 Update NEWS 2011-05-01 21:37:24 -04:00
Eric Blake
b722481ac2 Use al possible bytes from fopen mode string. 2011-04-22 23:40:57 -04:00
Mike Frysinger
4c559bcdf3 Fix static linking with checking x86/x86-64 memcpy. 2011-04-17 22:20:47 -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
Ulrich Drepper
7b57bfe598 Obsolete RPC implementation in libc. 2011-04-16 21:59:36 -04:00
Ulrich Drepper
e6c6149412 Fix memory leak in TLS of loaded objects. 2011-04-10 22:43:01 -04:00
Ulrich Drepper
c6489db3bd Update NEWS. 2011-04-10 07:03:18 -04:00
Ulrich Drepper
38a7d692fc Fix typo in comment. 2011-04-09 11:01:37 -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
Ulrich Drepper
8593482f5e Fix visibility of declarations of wcpcpy and wcpncpy. 2011-04-01 18:36:07 -04:00
Andreas Schwab
00e5419f8e Rename open_by_handle to open_by_handle_at. 2011-04-01 13:05:15 -04:00
Ulrich Drepper
158648c0bd Add support for name_to_handle_at and open_by_handle. 2011-04-01 10:33:37 -04:00
Ulrich Drepper
83fe108b0a Add clock_adjtime syscall. 2011-03-30 22:00:57 -04:00
H.J. Lu
c97a1282a4 Handle page boundaries in x86 SSE4.2 strncmp. 2011-03-21 05:35:38 -04:00
Ulrich Drepper
2a11560107 Implement x86 cpuid handling of leaf4 for cache information. 2011-03-20 08:14:30 -04:00
Ulrich Drepper
042c49c681 Add BZ info. 2011-03-18 05:30:17 -04:00
Ulrich Drepper
028478fa40 Fix copy relocations handling of unique objects. 2011-03-10 12:51:33 -05:00
Andreas Schwab
4bff6e0175 Fix memory leak in dlopen with RTLD_NOLOAD. 2011-02-25 20:49:48 -05:00
Ulrich Drepper
661b9e2014 Update BZ list 2011-02-25 16:52:43 -05:00
Ulrich Drepper
071f805ea3 Update with BZ number. 2011-02-20 08:00:55 -05:00
Andreas Schwab
e23fe25b33 Move setting variable in relro data earlier in ld.so. 2011-02-20 07:24:56 -05:00
Ulrich Drepper
d4720230b5 Update bug list. 2011-02-17 00:59:58 -05:00
Ulrich Drepper
dded88cd54 Fix typo in NEWS 2011-02-02 19:35:25 -05:00
Ulrich Drepper
0c156ec9d0 Update bz list 2011-02-02 19:29:23 -05:00
Ulrich Drepper
9f94d2ea71 Patch followup. 2011-01-19 16:00:11 -05:00
Ulrich Drepper
bc425b339b Signal temporary host lookup errors in nscd as such to the requester. 2011-01-15 11:10:11 -05:00
Ulrich Drepper
70181fddf1 Change setgroups to affect all the threads in the process. 2011-01-14 08:42:11 -05:00
Ulrich Drepper
794c3ad3a4 FIx handling of unterminated [ expression in fnmatch. 2011-01-14 08:06:22 -05:00
Ulrich Drepper
1086d70d91 Fix handling of missing syscall in Linux mkdirat. 2011-01-13 12:42:06 -05:00
Ulrich Drepper
451f001b50 Handle long lines in host lookups in the right place. 2011-01-13 11:28:17 -05:00
Ulrich Drepper
f57e41a5b8 Fix grouping when rounding increases number of integer digits. 2011-01-12 20:37:51 -05:00
David S. Miller
16c2895fea sparc64: Use i386 implementation for fxstat.
This was simply missed when Jakub converted all of the
other sparc64 xstat cases.
2011-01-04 12:22:41 -08:00
Jim Meyering
2543fef229 Fix infloop on persistent failing calloc in regex. 2010-12-27 18:19:56 -05:00
Ulrich Drepper
db014c1269 Update BZs. 2010-12-26 13:54:08 -05:00
H.J. Lu
8ca52c6e3b Fix one exit path in x86-64 SSE4.2 str{,n}casecmp. 2010-11-10 03:05:37 -05:00
Ulrich Drepper
69da074d7a Fix warnings in __bswap_16. 2010-11-10 02:38:35 -05:00
Ulrich Drepper
c0dde15b5d 32bit memset-sse2.S fails with uneven cache size
32bit memset-sse2.S assumes cache size is multiple of 128 bytes.  If
it isn't true, memset-sse2.S will fail.  For example, a processor can
have 24576 KB L3 cache and 20 cores. That is 2516582 byte per core. Half
of it is 1258291, which isn't helpful for vector instructions.  This
patch rounds cache sizes to multiple of 256 bytes and adds "raw" cache
sizes.
2010-11-05 07:57:46 -04:00
Miklos Szeredi
0e516e0e14 Verify in ttyname() that the symlink is valid. 2010-11-03 00:25:45 -04:00
Richard Li
dbf3a06904 Fix x86-64 strchr propagation of search byte into all bytes of SSE register 2010-10-25 14:13:17 -04:00
Ulrich Drepper
fdc0f374bc Fix perturbing in malloc on free. 2010-10-24 22:37:00 -04:00
H.J. Lu
f90681487d Fix alignment of AVX safe area on x86-64. 2010-10-13 22:12:03 -04:00
Ulrich Drepper
a129c80d54 Fix memory leak for some invalid regular expressions. 2010-10-11 11:46:22 -04:00