Commit Graph

12569 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
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
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
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
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
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
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
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
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
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
Ulrich Drepper
dedc7c7b05 Fix typo in cache information table for x86-{32,64}. 2011-04-03 09:32:31 -04:00
Ulrich Drepper
955ce8cf2d Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2011-04-02 15:28:16 -04:00
Ulrich Drepper
94521213b6 Define CLOCK_BOOTTIME. 2011-04-02 15:27:07 -04:00
Ulrich Drepper
81489b2ec3 Update comment about feature macros. 2011-04-02 08:25:30 -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
81a5726bd2 Add syncfs syscall. 2011-04-01 13:08:28 -04:00
Andreas Schwab
00e5419f8e Rename open_by_handle to open_by_handle_at. 2011-04-01 13:05:15 -04:00
Ulrich Drepper
658e451d8b Define O_PATH. 2011-04-01 11:46:10 -04:00
Ulrich Drepper
3167dad07c Also make x86 sync_file_range a cancellation point. 2011-04-01 11:33:14 -04:00
Ulrich Drepper
748876bf1c Really implement fallocate{,64} and sync_file_range as cancellation points. 2011-04-01 11:15:08 -04:00