Commit Graph

3251 Commits

Author SHA1 Message Date
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
Ulrich Drepper
b1ebd700c5 Don't document si_code used for raise() 2011-05-29 20:05:30 -04:00
Ulrich Drepper
d0478f0c81 Fix build for platforms with socketcall syscall 2011-05-28 13:18:57 -04:00
Ulrich Drepper
c738465a4c Add support for time syscall in vDSO 2011-05-28 01:53:26 -04:00
Ulrich Drepper
f1f929d74a Add sendmmsg syscall 2011-05-28 01:43:20 -04:00
Ulrich Drepper
ce67228d57 Set setns system call 2011-05-28 00:53:13 -04:00
Ulrich Drepper
a8509ca540 Use getcpu definition from vDSO on x86-64 2011-05-27 16:09:52 -04:00
Jakub Jelinek
ea486f691d Undo accidental change in x86-64 user.h 2011-05-25 16:57:13 -04:00
Ulrich Drepper
67f86a251e Define RLIMIT_RTTIME 2011-05-23 15:53:37 -04:00
Andreas Schwab
f50ef8f1ef Fix sysconf compilation for !HP_TIMING_AVAIL archs 2011-05-23 11:51:12 -04:00
Ulrich Drepper
05bb4a68ad Define CLOCK_REALTIME_ALARM and CLOCK_BOOTTIME_ALARM 2011-05-21 17:20:41 -04:00
Ulrich Drepper
d79a9c949c Cleanup x86-64 sys/user.h 2011-05-16 01:35:07 -04:00
Ulrich Drepper
94b7cc3711 Fix a few problems in fopen and freopen
fopen should set the FD_CLOEXEC flag if requested evenif the kernel does
not support an aotmic operation.

freopen should reuse the file descriptor for the stream.  This is
especially important for calls to change the standard streams (stin,
stdout, stderr).
2011-05-15 15:28:46 -04:00
Ulrich Drepper
3b85df2787 sysconf on Linux/ia64 reported outdate versions for some options
The code is also cleaned up to avoid inefficiencies.
2011-05-15 11:18:10 -04:00
Ulrich Drepper
15a856b109 Make stack canary value harder to read through read overflow 2011-05-15 10:59:07 -04:00
Ulrich Drepper
05f399e634 Use non-cancelable interfaces in setup code 2011-05-15 09:40:30 -04:00
Ulrich Drepper
f8a3b5bf8f Use mmap for allocation of buffers used for __abort_msg 2011-05-15 00:34:48 -04:00
Ulrich Drepper
6fb2dde3f1 Make complete getcwd work in rtld 2011-05-08 14:53:20 -04:00
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
Jonathan Nieder
9572119174 Actually undefine ARG_MAX from <linux/limits.h> 2011-05-07 13:20:33 -04:00