Commit Graph

17753 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
28377d1bf5 Optimize fdopendir a bit.
Don't call fcntl(F_SETFD) unnecessarily.
2011-05-08 00:48:30 -04:00
Alan Modra
66bdbaa452 static tls memory leak on TLS_DTV_AT_TP archs 2011-05-07 21:27:51 -04:00
Ulrich Drepper
c1e9ea3517 Doc fixes. 2011-05-07 13:30:39 -04:00
Jonathan Nieder
9572119174 Actually undefine ARG_MAX from <linux/limits.h> 2011-05-07 13:20:33 -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
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
acd41f47ea Report if no record is found by initgroups in nss_files. 2011-05-06 12:54:12 -04:00
Ulrich Drepper
a044697649 Update. 2011-05-06 07:47:33 -04:00
Andreas Schwab
597df64714 Install rpc/netdb.h again 2011-05-06 07:46:42 -04:00
Paul Pluzhnikov
b9af13014f Use --{start,end}-group to handle circular dependency between libgcc.a and libc.a. 2011-05-05 15:37:07 -07:00
Ulrich Drepper
018b9e368d Explain header situation after RPC removal in NEWS 2011-05-05 07:39:34 -04:00
Andreas Schwab
4e34d5f589 Don't use removed rpc headers 2011-05-05 07:36:40 -04:00
Andreas Schwab
00ee369c1c ldconfig: don't crash on empty path in config file 2011-05-03 13:44:25 -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
6fdb1ce876 Update NEWS 2011-05-01 21:37:24 -04:00
Bruno Haible
e4ecafe004 Fix getnameinfo flags parameter type. 2011-05-01 21:36:43 -04:00
Ulrich Drepper
125ee683b3 Add finer grained control for initgroups lookups to NSS. 2011-04-29 11:16:30 -04:00
Eric Blake
b722481ac2 Use al possible bytes from fopen mode string. 2011-04-22 23:40:57 -04:00
H.J. Lu
4df46dbda7 Fix "make xcheck" in sunrpc. 2011-04-22 23:31:52 -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
Ulrich Drepper
e84142d2a9 Fix reallocation bug in last nss_files change. 2011-04-21 12:07:52 -04:00
Ulrich Drepper
877175d8ea Fix build problem in sunrpc. 2011-04-20 14:02:41 -04:00
Ulrich Drepper
00401ad5b0 Fix little issue with last change. 2011-04-19 17:16:11 -04:00
Ulrich Drepper
ab8eed78a6 Define initgroups callback for nss_files. 2011-04-19 13:43:03 -04:00
Richard Sandiford
e3d8f58414 elf.h: Define R_ARM_IRELATIVE reloc type. 2011-04-19 09:38:42 -07:00
Ulrich Drepper
af190f4565 Update Russian translation. 2011-04-19 07:27:42 -04:00
Ulrich Drepper
53cf59efd8 Add before-compile to dependencies for librpc_compat_pic objects. 2011-04-17 22:52:11 -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
Justin P. Mattock
795934a60e Fix a comment. 2011-04-17 20:55:16 -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
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
Andreas Schwab
34fe483e12 Don't leave empty element in rpath when skipping an element 2011-04-09 14:55:26 -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
Andreas Schwab
821ae7137b Revert "Fix strncmp page test to limit length to size of object"
This reverts commit e513f34605.
2011-04-07 08:21:00 +02:00
Andreas Schwab
e513f34605 Fix strncmp page test to limit length to size of object 2011-04-05 13:45:23 +02:00
Ulrich Drepper
8cb700c0f3 Fix typo in CL. 2011-04-05 06:44:05 -04:00