Commit Graph

3370 Commits

Author SHA1 Message Date
Joseph Myers 599af3ca61 Split architecture-specific parts of sys/epoll.h into bits/epoll.h. 2012-02-21 00:32:30 +00:00
Joseph Myers 0e4997508d Split architecture-specific parts of sys/timerfd.h into bits/timerfd.h. 2012-02-21 00:29:13 +00:00
Andreas Schwab 7638c0fda5 Add support for Linux error EHWPOISON 2012-02-19 18:27:02 +01:00
David S. Miller dd54084dd9 Rework sparc PIC macros so crt{i,n}.S can use them too.
* sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
	(SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
	%o7 across the call.
	(SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
	instead.
	* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
	SETUP_PIC_REG_LEAF.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
	* sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
	* sysdeps/sparc/crtn.S: Likewise.
2012-02-18 22:31:42 -08:00
Aurelien Jarno 8dee4833c5 Include <time.h> in clock_settime.c. 2012-02-17 17:46:56 +01:00
David S. Miller fb59b3a4f5 Add O_FSYNC define to sparc just like other platforms. 2012-02-16 14:56:54 -08:00
Mike Frysinger df6a4a4aec Include sys/param.h in getcwd.c. 2012-02-15 20:39:49 +00:00
Joseph Myers 8e475601f6 Split architecture-specific parts of sys/signalfd.h into bits/signalfd.h. 2012-02-15 20:11:20 +00:00
Joseph Myers 2a979d3a14 Split architecture-specific parts of sys/inotify.h into bits/inotify.h. 2012-02-14 00:13:47 +00:00
Joseph Myers 2a418ac326 Split architecture-specific parts of sys/eventfd.h into bits/eventfd.h. 2012-02-13 20:27:59 +00:00
Paul Eggert 59ba27a63a Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
Richard Henderson af850b1c97 Use <> for include of kernel-features.h. 2012-02-09 11:21:47 -08:00
Joseph Myers d8e0ca509a Use macro for PIC setup in inline asm. 2012-02-05 14:34:14 +00:00
Joseph Myers b1da7dd99d Use macros for x86 PIC thunk names. 2012-02-03 23:24:19 +00:00
Roland McGrath ee3c3be688 Merge remote-tracking branch 'origin/cmetcalf/tile_epoll_pwait'
Conflicts:
	ChangeLog
2012-01-30 09:50:40 -08:00
Roland McGrath de9298c991 Merge remote-tracking branch 'origin/cmetcalf/tile_not_cancel_h'
Conflicts:
	ChangeLog
2012-01-30 09:49:39 -08:00
Chris Metcalf 3601428fb0 Call __fxstatat64 from faccessat() to avoid PLT in -Os builds. 2012-01-28 12:07:46 -05:00
Chris Metcalf 463de86252 Use include/sys/epoll.h to provide libc_hidden_proto for epoll_pwait(). 2012-01-28 12:00:12 -05:00
Chris Metcalf 540d7568ae Use <> brackets for not-cancel.h in sysdeps/unix/sysv/linux/grantpt.c. 2012-01-28 11:51:44 -05:00
Joseph Myers 965a54a4ee Remove __STDC__ conditionals from non-installed headers. 2012-01-26 23:31:37 +00:00
Will Schmidt 929d11c7cf Powerpc: correct duplicate label issue with multiple passes through context code 2012-01-12 17:05:03 -05:00
Will Schmidt d1f741e912 Fix typo in Linux/PPC32 getcontext 2012-01-08 21:32:57 -05:00
Ulrich Drepper d9a216c037 Add checking versions of poll and ppoll 2012-01-08 11:55:32 -05:00
Ulrich Drepper a0da5fe1e4 More fallout from supporting only ELF 2012-01-08 00:45:01 -05:00
Ulrich Drepper a784e50247 Remove pre-ISO C support
No more __const.
2012-01-07 23:57:22 -05:00
Ulrich Drepper 00bbd29b35 Update ABI information 2012-01-07 19:23:45 -05:00
Ulrich Drepper a2693a0e2e Remove m68k support from Linux configure 2012-01-07 13:06:38 -05:00
Ulrich Drepper 664f8cb9d5 More IA-64 removal 2012-01-07 12:55:20 -05:00
Ulrich Drepper 7ae81d88f1 Linux configure cleanup 2012-01-07 12:44:28 -05:00
Ulrich Drepper b13b98854e Remove IA-64 support from kernel-features.h 2012-01-07 12:23:45 -05:00
Ulrich Drepper f03fe7f932 More ia64 removal changes 2012-01-07 11:39:33 -05:00
Ulrich Drepper d75a0a62b1 Remove IA-64 support 2012-01-07 11:19:05 -05:00
Ulrich Drepper 74033a2507 Implement timespec_get 2012-01-01 07:17:21 -05:00
Joseph Myers 154bfc1622 Support building bits/syscall.h for any number of subarch variants. 2011-12-22 18:22:50 +00:00
Ulrich Drepper 4920765eb4 Define EPOLLONESHOT and EPOLLET using unsigned values 2011-12-21 22:14:05 -05:00
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
Ulrich Drepper 298711ffe4 Fix typos in pretty much unused code in sched.h header. 2011-07-18 20:19:14 -04:00
Ulrich Drepper 319b9ad4bc Generalize framework to register monitoring of files in nscd
nscd can clear caches when certain files change.  The list of files
was hardcoded so far and worked for nss_files and nss_dns and those
modules which need no monitoring.  nss_db, for instance, has its
own set of files to monitor.  Now the NSS modules themselves can
request that certain files are monitored.
2011-07-11 14:50:24 -04:00
Ulrich Drepper 4e5f31c847 Handle ext4 in {,f}pathconf
ext4 has a higher LINK_MAX limit than ext2/3.  Unfortunately it is
not easy to distinguish the filesystems from userlevel.
2011-07-07 10:53:16 -04:00
Andreas Dilger de283087c7 Handle Lustre filesystem 2011-07-07 00:20:32 -04:00
Ulrich Drepper ecaddd6699 Rebuild configure scripts 2011-07-06 21:29:02 -04:00
Ulrich Drepper 4902da17c8 Add missing HAVE_SENDFILE definition 2011-06-27 12:29:04 -04:00
H.J. Lu c2344f56e4 Use __gettimeofday instead of gettimeofday 2011-06-26 03:08:01 -04:00
Ulrich Drepper d5495a116c Work around limit in writev in 2.6.38+ kernels 2011-06-24 14:59:17 -04:00
Ulrich Drepper 84e2a551a7 Use a /sys/devices/system/cpu/online for _SC_NPROCESSORS_ONLN implementation 2011-06-22 10:32:07 -04:00
Ulrich Drepper 852eb34d5c Rate limit expensive _SC_NPROCESSORS_ONLN computation 2011-06-22 09:50:39 -04:00
Ulrich Drepper 6e502e1945 Clean up after kernel sigcontext header mess 2011-06-22 08:32:55 -04:00
Andreas Schwab ee22793dd0 Improve 64-bit build
An imperfect version of fxstatat64 was used in ld.so.
2011-06-15 21:46:20 -04:00
Andreas Jaeger c71ca1f89c Quash two memset undeclared warnings. 2011-06-14 13:11:39 -07:00
Ulrich Drepper 8c29731192 Fix typo in stack guard setup code for old kernels 2011-05-31 14:23:01 -04:00
Ulrich Drepper 80e2212d8e Same change for the other siginfi.h files 2011-05-29 20:12:15 -04:00