1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-13 09:01:51 +03:00
Commit Graph

3130 Commits

Author SHA1 Message Date
d79a9c949c Cleanup x86-64 sys/user.h 2011-05-16 01:35:07 -04:00
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
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
15a856b109 Make stack canary value harder to read through read overflow 2011-05-15 10:59:07 -04:00
05f399e634 Use non-cancelable interfaces in setup code 2011-05-15 09:40:30 -04:00
f8a3b5bf8f Use mmap for allocation of buffers used for __abort_msg 2011-05-15 00:34:48 -04:00
6fb2dde3f1 Make complete getcwd work in rtld 2011-05-08 14:53:20 -04:00
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
9572119174 Actually undefine ARG_MAX from <linux/limits.h> 2011-05-07 13:20:33 -04:00
d08055417d Misplaced new line in last patch 2011-05-07 09:13:43 -04:00
8a35c9120f Add missing {__BEGIN,__END}_DECLS to sys/sysmacros.h 2011-05-07 09:03:36 -04:00
1bfbe0d335 Better use of open in pathconf. 2011-05-02 21:34:34 -04:00
6e04cbbe79 Fix pathconf(_PC_BUF_SIZE). 2011-05-02 20:59:51 -04:00
ded5b9b7c7 Remove doubled words. 2011-04-22 21:34:32 -04:00
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
f12a32e6f0 Make ppc sync_file_range cancelable. 2011-04-09 11:07:18 -04:00
38a7d692fc Fix typo in comment. 2011-04-09 11:01:37 -04:00
e451d22b22 Maintain stack alignment in ____longjmp_chk on x86_64 2011-04-07 16:23:52 -04:00
dedc7c7b05 Fix typo in cache information table for x86-{32,64}. 2011-04-03 09:32:31 -04:00
94521213b6 Define CLOCK_BOOTTIME. 2011-04-02 15:27:07 -04:00
00e5419f8e Rename open_by_handle to open_by_handle_at. 2011-04-01 13:05:15 -04:00
658e451d8b Define O_PATH. 2011-04-01 11:46:10 -04:00
3167dad07c Also make x86 sync_file_range a cancellation point. 2011-04-01 11:33:14 -04:00
748876bf1c Really implement fallocate{,64} and sync_file_range as cancellation points. 2011-04-01 11:15:08 -04:00
6e63d5e1ae Install bits/timex.h header. 2011-04-01 10:40:53 -04:00
158648c0bd Add support for name_to_handle_at and open_by_handle. 2011-04-01 10:33:37 -04:00
034c4e1503 Export new symbol. 2011-03-31 06:30:18 -04:00
83fe108b0a Add clock_adjtime syscall. 2011-03-30 22:00:57 -04:00
bb2420590c Last change caused infinite loops because of missing loop increment. 2011-03-22 01:52:43 -04:00
2a11560107 Implement x86 cpuid handling of leaf4 for cache information. 2011-03-20 08:14:30 -04:00
d55fd7a557 Fix INTERNAL_[V]SYSCALL_NCS macros to not cast return val to int. 2011-02-17 01:21:08 -05:00
e943389325 Remove use of ranlib. 2011-02-15 14:52:29 -05:00
edf9294e7a Update sysdeps/unix/sysv/linux/sparc/bits/socket.h 2011-02-07 22:48:55 -05:00
18ba70a559 Define MADV_NOHUGEPAGE. 2011-01-17 18:35:17 -05:00
32465c3ea0 Define MADV_HUGEPAGE. 2011-01-17 18:24:59 -05:00
a77e8cbc39 Add definitions for new socket protocols. 2011-01-17 14:21:02 -05:00
70181fddf1 Change setgroups to affect all the threads in the process. 2011-01-14 08:42:11 -05:00
8cf8ce1702 Clean up PLT use for getrlimit64. 2011-01-13 16:21:04 -05:00
1086d70d91 Fix handling of missing syscall in Linux mkdirat. 2011-01-13 12:42:06 -05:00
16c2895fea sparc64: Use i386 implementation for fxstat.
This was simply missed when Jakub converted all of the
other sparc64 xstat cases.
2011-01-04 12:22:41 -08:00
5bd6dc5c2c Use prlimit64 for 32-bit [gs]etrlimit64 implementation. 2010-12-25 20:12:27 -05:00
4a531bb0b3 Remove .ctors' and .dtors' output sections 2010-12-24 20:14:37 -05:00
db753e2cfb More accurate computatin of reclen in readdir_r.
Alignment issue can increase the reclen limit.
Make sure Linux 64-bit readdir_r also accounts for 64-bit alignment
in getdents.
2010-12-19 16:00:59 -05:00
cf7c9078a5 Define MAP_HUGETLB. 2010-11-19 09:35:39 -05:00
a1fb5e3ebe Define SWAP_FLAG_DISCARD. 2010-11-16 12:17:04 -05:00
0e516e0e14 Verify in ttyname() that the symlink is valid. 2010-11-03 00:25:45 -04:00
d0b9e94faf powerpc: PPCA2/A2 optimized memcpy function 2010-10-24 21:47:33 -04:00
5e908464b9 Implement accurate fma. 2010-10-13 22:27:03 -04:00
1751705d1c Linux getifaddrs might return entries with ->ifa_addr being NULL. 2010-10-11 09:38:00 -04:00
b8b4863d78 Fix last checkin. 2010-10-01 19:05:26 -04:00