Commit Graph

3205 Commits

Author SHA1 Message Date
Will Schmidt 91d2a8453f Simplify code for accessing powerpc GOT 2011-12-17 15:07:31 -05:00
Ulrich Drepper f101631bfd SH atomic asms fix for gcc 4.7 2011-12-02 08:19:50 -05:00
Andreas Schwab 6257af2d05 Truncate time values in Linux futimes when falling back to utime 2011-12-01 14:24:08 +01:00
Andreas Schwab 446514f97e Fix clock_gettime for assumed kernel >= 2.6.12 2011-11-15 15:17:15 +01:00
Ulrich Drepper a501a01e06 Pretty printing 2011-11-15 07:18:15 -05:00
Andreas Schwab 09f93bd3d6 Fix reference counting in network interface information cache 2011-11-15 10:58:00 +01:00
Ulrich Drepper 312be3f9f5 Clean up internal fopen uses
No need to ever not use c and e.
2011-11-15 04:24:42 -05:00
Ulrich Drepper 7edb22eff5 Fix wanings in clock_gettime 2011-11-12 02:54:34 -05:00
Ulrich Drepper 294ce12680 Avoid warning from shifting 2011-11-12 01:31:29 -05:00
Ulrich Drepper e35f65ea8d unsigned long it better for the size arguments
The new syscalls should use unsigned long not size_t.  The parameters
are not a direct measure of memory size.
2011-11-01 10:38:00 -04:00
Ulrich Drepper 78239589cd New Linux syscalls process_vm_readv and process_vm_writev 2011-11-01 09:59:32 -04:00
Ulrich Drepper 3a2c02424d Cache network interface information
Whenever getaddrinfo needed network interface information it used the
netlink interface to read the information every single time.  The
problem is that this information can change at any time.

The patch implements monitoring of the network interfaces through
nscd.  If no change is detected the previously read information can
be reused (which is the norm).  This timestamp information is also
made available to other processes using the shared memory segment
between nscd and those processes.
2011-10-31 01:51:16 -04:00
Ulrich Drepper 636064eb4c Fix potential double close in __check_fd if OOM 2011-10-30 14:22:57 -04:00
Ulrich Drepper fd5bdc0924 Optimize access to isXYZ and toXYZ tables
The functions to get the pointers can now depend on the TLS variable
be initialized.
2011-10-15 16:27:08 -04:00
Roland McGrath 5060422095 Conditionalize unnecessary #include. 2011-10-08 15:28:21 -07:00
Ulrich Drepper 2840865d5a Define IP_MULTICAST_ALL 2011-09-15 18:09:53 -04:00
Roland McGrath b402e91af4 Use HIDDEN_JUMPTARGET rather than spelling out its effects, for ____longjmp_chk implementations. 2011-09-15 12:26:08 -07:00
Andreas Schwab a7c8e6a147 Fix invalid conversion in __cmsg_nxthdr 2011-09-12 15:48:12 +02:00
Andreas Schwab 0f31fe7791 Prepend $(..) to $(ldd-rewrite-script) if non-absolute 2011-09-11 20:34:57 +02:00
Ulrich Drepper 02d46fc4b9 Simplify malloc initialization
Singificantly reduce the code needed at malloc initialization.  In
the process getpagesize is simplified by always initializing
GLRO(dl_pagesize).
2011-09-10 21:47:36 -04:00
Ulrich Drepper d063d16433 Remove support for !USE___THREAD 2011-09-10 16:50:28 -04:00
Ulrich Drepper f19009c155 Use (void*) instead of 0 for return value pointer in __cmsg_nexthdr 2011-09-09 21:46:08 -04:00
Andreas Schwab 59178ef977 Revert "Fix semid_ds for x86-64"
This reverts commit 2f0ad8f3a4.
2011-09-07 14:29:53 +02:00
Ulrich Drepper e38ba7ab6a Make sure __vdso_clock_gettime always contains a valid pointer 2011-09-07 00:07:08 -04:00
Ulrich Drepper fc8bffcccf Fix handling of __vdso_clock_gettime 2011-09-06 23:50:04 -04:00
Ulrich Drepper a77d3c17dc Don't unconditionally use clock_gettime vsyscall on x86-64 2011-09-06 21:34:11 -04:00
Ulrich Drepper d53a73acdb Avoid gettimeofday vsyscall 2011-09-06 20:22:37 -04:00
Andreas Schwab a8f84144c9 Fix missing declaration 2011-09-06 11:20:51 +02:00
Ulrich Drepper ef60624956 Prefer real syscalls instead of vsyscalls on x86-64 outside libc.so 2011-09-06 00:12:18 -04:00
David S. Miller 15c95c5d1a Fixes and optimizations for 32-bit sparc fabs*(). 2011-09-05 10:06:15 -07:00
Ulrich Drepper 3b142ce572 Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2011-09-05 12:46:12 -04:00
Ulrich Drepper 2f0ad8f3a4 Fix semid_ds for x86-64 2011-09-05 12:44:22 -04:00
David S. Miller 3ba575169a Fix sparc localplt testcase failures. 2011-08-31 17:30:41 -07:00
David S. Miller 25ad0df13b Bug fixes for ____longjmp_chk on sparc. 2011-08-22 16:53:57 -07:00
Andreas Schwab 70538b7fe6 Fix missing declaration 2011-08-22 12:17:05 +02:00
Ulrich Drepper 91b392a4ba Use ifuncs for time and gettimeofday on x86-64 2011-08-21 13:52:28 -04:00
Andreas Schwab 3b41ae4d7d Remove the file< 2011-08-20 08:38:58 -04:00
Andreas Schwab 51ccffa074 Use correct scandir64 implementation on ppc64 2011-08-20 08:33:42 -04:00
David S. Miller c27714f111 Fix tst-writev on non-4K page size 2011-08-17 21:51:21 -04:00
David S. Miller 9c96ff2385 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
2011-08-14 04:09:28 -07:00
Ulrich Drepper 2df1f7be58 Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2011-08-11 13:02:45 -04:00
Andreas Schwab 14d9678512 Clean up PLT use for scandirat 2011-08-11 11:41:09 -04:00
David S. Miller 6761ac045d * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
enum.
	* sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
	* sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2011-08-10 23:09:24 -07:00
Ulrich Drepper c55fbd1ea7 Implement scandirat function 2011-08-09 09:57:55 -04:00
Ulrich Drepper 879165f25a Avoid multiple definitions of identical scandir cancellation handler 2011-08-08 13:49:37 -04:00
Ulrich Drepper 8accd4dccc Define AF_NFC and PF_NFC 2011-07-23 20:06:48 -04:00
Ulrich Drepper cbff0d9689 Update ptrace constants 2011-07-23 19:10:18 -04:00
Andreas Schwab bfc9dc9bcf Fix missing include 2011-07-20 14:12:57 -04:00
Marek Polacek 295e904fe6 Add const attr to gnu_dev_{major,minor,makedev} 2011-07-20 12:35:29 -04:00
Andreas Krebbel 19df733e64 S/390: Don't use r11 in INTERNAL_VSYSCALL_NCS macro 2011-07-19 20:29:27 -04:00