Ulrich Drepper [Thu, 24 Dec 2009 21:34:05 +0000 (13:34 -0800)]
Remove tst-sigcontext test.
It's bogus in many places.
Maciej W. Rozycki [Thu, 24 Dec 2009 21:22:33 +0000 (13:22 -0800)]
Additional setcontext(), etc. conformance tests.
H.J. Lu [Thu, 24 Dec 2009 04:22:46 +0000 (20:22 -0800)]
Enable multiarch whenever possible.
Ulrich Drepper [Thu, 24 Dec 2009 03:31:50 +0000 (19:31 -0800)]
Fix isomac test after recent header change.
Ulrich Drepper [Thu, 24 Dec 2009 02:50:11 +0000 (18:50 -0800)]
Merge branch 'master' of ssh://sources.redhat.com/git/glibc
Ulrich Drepper [Thu, 24 Dec 2009 02:46:03 +0000 (18:46 -0800)]
Fix up ChangeLog.
Samuel Thibault [Tue, 22 Dec 2009 19:51:44 +0000 (11:51 -0800)]
Hurd: Fix possibly uninitialized variable in _hurd_locked_install_cttyid.
Samuel Thibault [Tue, 22 Dec 2009 19:47:13 +0000 (11:47 -0800)]
Hurd: Fix spurious mach_port_deallocate in getcwd.
Thomas Schwinge [Tue, 22 Dec 2009 16:37:33 +0000 (08:37 -0800)]
Fix s390 startup code in libpthread.
Martin Schwidefsky [Tue, 22 Dec 2009 16:34:07 +0000 (08:34 -0800)]
Implement handling of the needed S390 relocations.
Ulrich Drepper [Mon, 21 Dec 2009 22:08:05 +0000 (14:08 -0800)]
Handle AT_FDCWD in futimens.
Ulrich Drepper [Thu, 17 Dec 2009 21:49:36 +0000 (13:49 -0800)]
Small optimization of pthread_rwlock_init.
Ulrich Drepper [Tue, 15 Dec 2009 21:05:14 +0000 (13:05 -0800)]
Update poll.h header for POSIX 2008.
Ulrich Drepper [Tue, 15 Dec 2009 20:32:27 +0000 (12:32 -0800)]
Avoid ELF lookup race.
On some architectures the update of the l_used field in the lookup
functions races with setting the other bits in the bitfield. Simply
avoid this and optimize use of l_used in general.
H.J. Lu [Sun, 13 Dec 2009 23:23:02 +0000 (15:23 -0800)]
Define bit_SSE2 and index_SSE2.
Ulrich Drepper [Sun, 13 Dec 2009 19:52:28 +0000 (11:52 -0800)]
More whitespace fixes.
Ulrich Drepper [Sun, 13 Dec 2009 19:51:54 +0000 (11:51 -0800)]
Fix whitespaces.
Dinakar Guniguntala [Sun, 13 Dec 2009 19:50:16 +0000 (11:50 -0800)]
Add Requeue-PI support for x86 arch.
H.J. Lu [Sun, 13 Dec 2009 17:47:02 +0000 (09:47 -0800)]
Define bit_XXX and index_XXX.
This patch defines bit_XXX and index_XXX and use them to check processor
feature in assembly code. It can prevent typos in processor feature
check.
Kaz Kojima [Sun, 13 Dec 2009 17:43:51 +0000 (09:43 -0800)]
Update sysdeps/sh/elf/initfini.c.
Mike Frysinger [Sun, 13 Dec 2009 17:42:52 +0000 (09:42 -0800)]
Provide a __set_fpscr prototype.
Ulrich Drepper [Sat, 12 Dec 2009 19:06:23 +0000 (11:06 -0800)]
Invalid timeouts in i386 sem_timedwait.
We adjusted nwaiters even though this isn't necessary.
Ulrich Drepper [Sat, 12 Dec 2009 07:00:49 +0000 (23:00 -0800)]
Redefine O_SYNC and O_DSYNC to match 2.6.33+ kernels.
Ulrich Drepper [Thu, 10 Dec 2009 23:44:26 +0000 (15:44 -0800)]
Fix a few error cases in *name4_r lookup handling.
Ulrich Drepper [Wed, 9 Dec 2009 16:34:48 +0000 (08:34 -0800)]
Fix kernel version check in recent ptsname change.
Bruno Haible [Wed, 9 Dec 2009 16:30:38 +0000 (08:30 -0800)]
Add more warnings to exec functions.
Ulrich Drepper [Wed, 9 Dec 2009 04:10:46 +0000 (20:10 -0800)]
Add recvmmsg interface.
Andreas Krebbel [Tue, 8 Dec 2009 01:27:45 +0000 (17:27 -0800)]
Add even more cfi to s390 asm files.
Ulrich Drepper [Tue, 8 Dec 2009 01:00:43 +0000 (17:00 -0800)]
Ignore *.rej and *.orig files in git operations.
Andreas Schwab [Wed, 2 Dec 2009 13:31:54 +0000 (14:31 +0100)]
Remove build related ignore patterns
Ulrich Drepper [Mon, 30 Nov 2009 16:24:59 +0000 (08:24 -0800)]
Define SCHED_IDLE and SCHED_RESET_ON_FORK for Linux.
Thomas Schwinge [Mon, 30 Nov 2009 14:24:22 +0000 (06:24 -0800)]
SH calling __gmon_start__ from pt-initfini.c.
Andreas Schwab [Sat, 28 Nov 2009 05:37:30 +0000 (21:37 -0800)]
Fix infloop in __pthread_disable_asynccancel on x86_64
Ulrich Drepper [Thu, 26 Nov 2009 16:47:56 +0000 (08:47 -0800)]
Avoid handling long-obsolete old BSD PTY handling in ptsname.
Support for this type of PTY was removed in the 2.1.115 kernel. Just
use __LINUX_KERNEL_VERSION to determine when we can drop the compat code.
Ulrich Drepper [Wed, 25 Nov 2009 04:22:44 +0000 (20:22 -0800)]
Fix comments in random_r.c.
Ulrich Drepper [Wed, 25 Nov 2009 02:50:32 +0000 (18:50 -0800)]
Optimize grantpt.
grantpt was performing two consecutive calls to stat with the same
file name. Avoid this by creating a special version of the ptsname
function which allows to pass the stat result back to the caller.
Ulrich Drepper [Wed, 25 Nov 2009 02:47:26 +0000 (18:47 -0800)]
Avoid local PLTs.
Ulrich Drepper [Wed, 25 Nov 2009 02:24:14 +0000 (18:24 -0800)]
Prevent unintended file desriptor leak in grantpt.
The pt_chown program is completely transparently called. It might
not be able to live with the various file descriptors the program
has open at the time of the call (e.g., under SELinux). Close all
but the needed descriptor and connect stdin, stdout, and stderr
with /dev/null. pt_chown shouldn't print anything when called to
do real work.
Ulrich Drepper [Wed, 25 Nov 2009 02:22:30 +0000 (18:22 -0800)]
Once again forgot to add new test file.
Ulrich Drepper [Wed, 25 Nov 2009 01:50:27 +0000 (17:50 -0800)]
Don't get tty group info multiple times in grantpt.
This is a minor optimization. The tty group mustn't change so a
successful call to getgrnam will always return the same information.
Cache it and reuse it.
Ulrich Drepper [Wed, 25 Nov 2009 00:37:29 +0000 (16:37 -0800)]
New NPTL POSIX semaphore test.
Ulrich Drepper [Tue, 24 Nov 2009 19:17:06 +0000 (11:17 -0800)]
Fix startup to security-relevant statically linked binaries.
Before the change they crash on startup. Perform IREL relocations
earlier to prevent this.
Ulrich Drepper [Tue, 24 Nov 2009 18:00:28 +0000 (10:00 -0800)]
Define week, first_weekday, and first_workday for hsb_DE locale.
Ulrich Drepper [Tue, 24 Nov 2009 00:16:26 +0000 (16:16 -0800)]
Define week, first_weekday, and first_workday for en_DK locale.
Andreas Schwab [Mon, 23 Nov 2009 15:10:27 +0000 (07:10 -0800)]
Use struct timespec for timestamps in struct stat also if __USE_XOPEN2K8.
POSIX.1-2008 made stat.st_[acm]tim mandatory.
Ulrich Drepper [Mon, 23 Nov 2009 03:07:52 +0000 (19:07 -0800)]
Try harder to re-exec nscd in paranoia mode.
Roland McGrath [Mon, 23 Nov 2009 01:49:21 +0000 (17:49 -0800)]
Use #include instead of duplication for i386 vs i686 dl-sysdep.h in NPTL.
Ulrich Drepper [Mon, 23 Nov 2009 00:54:45 +0000 (16:54 -0800)]
Fix week information for nl_NL locale.
Ulrich Drepper [Sun, 22 Nov 2009 19:43:57 +0000 (11:43 -0800)]
Reinitialize _create_xid state after fork.
Programs forking and using RPC in the forks would use the same XIDs.
Ulrich Drepper [Sun, 22 Nov 2009 19:07:04 +0000 (11:07 -0800)]
Update ntp_gettime for Linux.
The ntp_gettime implementation of NTP exports the tai field the kernel
now produces. This requires an ABI change since the ntptimeval structure
changed. Upstream kept the same name, there is nothing to do. This
patch changes the ntptimeval structure but keeps the old ntp_gettime
definition. A new ntp_gettimex function which is transparently invoked
through the old name is introduced. This has the advantage that even
object files can remain compatible. This wouldn't be the case if
symbol versioning would be used to overload the name ntp_gettime.
Ulrich Drepper [Sun, 22 Nov 2009 18:23:12 +0000 (10:23 -0800)]
Fix up <sys/timex.h> a bit more for recent API changes.
H.J. Lu [Fri, 20 Nov 2009 16:30:20 +0000 (08:30 -0800)]
Properly recover from shorter read.
Ulrich Drepper [Thu, 19 Nov 2009 18:29:16 +0000 (10:29 -0800)]
Fix getwc* and putwc* on non-wide streams.
Ulrich Drepper [Thu, 19 Nov 2009 18:03:46 +0000 (10:03 -0800)]
Avoid warnings in CPU_* macros when using const bitsets.
Ulrich Drepper [Thu, 19 Nov 2009 14:38:31 +0000 (06:38 -0800)]
Follow kernel F_OWNER_{GID -> PGRP} change.
But maintain compatiblity for 2.11.
Ulrich Drepper [Wed, 18 Nov 2009 14:40:25 +0000 (06:40 -0800)]
Minor optimizations and cleanups of x86 cond_broadcast.
Dinakar Guniguntala [Wed, 18 Nov 2009 14:33:23 +0000 (06:33 -0800)]
Update cfi offsets for pthread_cond_broadcast and signal fir x86.
Ulrich Drepper [Wed, 18 Nov 2009 07:13:39 +0000 (23:13 -0800)]
Merge branch 'master' of ssh://sources.redhat.com/git/glibc
Ulrich Drepper [Wed, 18 Nov 2009 06:55:55 +0000 (22:55 -0800)]
Minimal unwind section size reduction.
Ulrich Drepper [Wed, 18 Nov 2009 06:55:55 +0000 (22:55 -0800)]
Minial unwind section size reduction.
Ulrich Drepper [Wed, 18 Nov 2009 02:10:56 +0000 (18:10 -0800)]
Change misleading names of parameters of sync_file_range.
Jakub Jelinek [Wed, 18 Nov 2009 02:04:51 +0000 (18:04 -0800)]
Fix sync_file_range on ppc/ppc64.
I've noticed that sync_file_range is a stub on ppc/ppc64.
The kernel on these arches provides sync_file_range2 syscall with swapped
parameters.
The following completely untested patch ought to fix this.
Ulrich Drepper [Wed, 18 Nov 2009 01:59:33 +0000 (17:59 -0800)]
Use cfi directives in x86 pthread_cond_{,timed}wait.
Ulrich Drepper [Wed, 18 Nov 2009 00:24:26 +0000 (16:24 -0800)]
Whitespace fixes.
Ulrich Drepper [Wed, 18 Nov 2009 00:23:57 +0000 (16:23 -0800)]
Add missing test files.
Paolo Bonzini [Wed, 18 Nov 2009 00:23:24 +0000 (16:23 -0800)]
Fix ranges with multibyte characters as endpoints.
This is another bug in computing the fastmap. It was reported by a user
of sed because it usually does not happen with !_LIBC. However, it is
there in that case too.
The bug is that whenever we have a range at the beginning of the regex,
the regex must be tested on any possible multibyte character. The reason
why _LIBC masks it, is that in general there is a collation symbol for
each possible multibyte-character lead byte, so all the lead bytes are
in general already part of the fastmap.
The tests use cyrillic characters as an example. With _LIBC, they pass
without the patch too, but you can make them fail by removing collation
symbols handling.
Ulrich Drepper [Tue, 17 Nov 2009 17:37:31 +0000 (09:37 -0800)]
Handle LC_GLOBAL_LOCALE in duplocale.
Ulrich Drepper [Tue, 17 Nov 2009 17:18:11 +0000 (09:18 -0800)]
Fix _NC_LOCALE_NAME definition.
Ulrich Drepper [Tue, 17 Nov 2009 14:43:39 +0000 (06:43 -0800)]
Add missing Linux MADV_* definitions.
H.J. Lu [Sun, 15 Nov 2009 03:20:19 +0000 (19:20 -0800)]
Use a simple loop on data shorter than software pipeline.
When data is shorter than software pipeline, recovery may fail. This
patch avoids it by using a simple loop on data shorter than software
pipeline.
Mike Frsyinger [Sun, 15 Nov 2009 03:16:49 +0000 (19:16 -0800)]
Missing CL.
Mike Frsyinger [Sun, 15 Nov 2009 03:16:01 +0000 (19:16 -0800)]
Fix building on x86 with older kernel headers.
Fix building on x86 when older linux headers lack __NR_fallocate define.
Mike Frsyinger [Sun, 15 Nov 2009 03:11:44 +0000 (19:11 -0800)]
Add missing stdio.h include.
Ulrich Drepper [Sat, 14 Nov 2009 18:20:25 +0000 (10:20 -0800)]
Add support for new Linux error ERFKILL.
Ulrich Drepper [Sat, 14 Nov 2009 16:28:40 +0000 (08:28 -0800)]
Fix F_SETOWN_EX and F_GETOWN_EX definitions.
Ulrich Drepper [Thu, 12 Nov 2009 16:46:19 +0000 (08:46 -0800)]
Start 2.12 development.
Andreas Schwab [Tue, 10 Nov 2009 15:36:50 +0000 (07:36 -0800)]
Handle running out of buffer space with IPv6 mapping enabled.
With big DNS answers like the one you get for goodtimesdot.com you can
get a truncated address list if IPv6 mapping is enabled. Instead tell
the caller to resize the buffer.
Caolan McNamara [Tue, 10 Nov 2009 14:29:13 +0000 (06:29 -0800)]
Avoid memset warning in one case.
Ulrich Drepper [Fri, 6 Nov 2009 17:34:23 +0000 (09:34 -0800)]
Fix up whitespaces.
Philippe De Muyter [Fri, 6 Nov 2009 17:33:27 +0000 (09:33 -0800)]
Fix spelling of (Newton-)Raphson
Holger Hans Peter Freyther [Fri, 6 Nov 2009 17:32:06 +0000 (09:32 -0800)]
Fix spelling in memusagestat.c
H.J. Lu [Fri, 6 Nov 2009 17:30:56 +0000 (09:30 -0800)]
Properly handle STT_GNU_IFUNC symbols in do_sym.
do_sym should use DL_FIXUP_VALUE_XXX macros to call IFUNC function.
Otherwise, it won't compile on ia64. This patch fixes it and adds
a test.
Andreas Schwab [Fri, 6 Nov 2009 17:29:24 +0000 (09:29 -0800)]
Correct readahead syscall wrapper on powerpc32.
Due to alignment of 64bit parameters there is a dummy second argument.
But other than that the syscall arguments are directly mapped to the
function arguments.
Jakub Jelinek [Fri, 6 Nov 2009 17:27:41 +0000 (09:27 -0800)]
Fix R_PPC64_{JMP_IREL,IRELATIVE} handling in dl-conflict.c.
I've just committed STT_GNU_IFUNC ppc/ppc64 support into prelink,
and this patch is needed on the glibc side. Without it ld.so segfaults,
as in dl-conflict.c sym_map is always NULL. While dl-machine.h could use
RESOLVE_CONFLICT_FIND_MAP macro to compute it, it doesn't make sense,
because with prelink we know it is already properly relocated (all relative
relocations are applied by prelink).
Jakub Jelinek [Fri, 6 Nov 2009 17:26:31 +0000 (09:26 -0800)]
Fix preadv, pwritev and fallocate for -D_FILE_OFFSET_BITS=64.
As reported in http://bugzilla.redhat.com/533063 , preadv/pwritev prototypes
are wrong on 32-bit arches with -D_FILE_OFFSET_BITS=64 and as I've just
found, fallocate is wrong too.
The problem is that only off_t is remapped to the 64-bit type transparently,
__off_t is not.
Andreas Schwab [Tue, 3 Nov 2009 22:52:01 +0000 (23:52 +0100)]
Make name of libgcc_s library configurable
Ulrich Drepper [Sun, 1 Nov 2009 15:27:00 +0000 (07:27 -0800)]
Restore locking in free_check.
This code is only used when MALLOC_CHECK_ is used. Then some bogus
crashes and/or assert could result from the locking changes. The code
ain't fast.
Ulrich Drepper [Fri, 30 Oct 2009 17:17:08 +0000 (10:17 -0700)]
2.11 release.
Ulrich Drepper [Fri, 30 Oct 2009 16:35:20 +0000 (09:35 -0700)]
Fix aliasing problem in tst-sem11.
Ulrich Drepper [Fri, 30 Oct 2009 16:26:00 +0000 (09:26 -0700)]
Add cast in tst-execstack to avoid warning.
Ulrich Drepper [Fri, 30 Oct 2009 16:23:24 +0000 (09:23 -0700)]
Avoid warning in scanf test.
Ulrich Drepper [Fri, 30 Oct 2009 16:22:34 +0000 (09:22 -0700)]
Avoid two warnings in strtol{,l} tests.
Ulrich Drepper [Fri, 30 Oct 2009 15:36:41 +0000 (08:36 -0700)]
Mentin new my_MM locale in NEWS.
Ulrich Drepper [Fri, 30 Oct 2009 15:15:20 +0000 (08:15 -0700)]
Fix whitespaces.
Ulrich Drepper [Fri, 30 Oct 2009 15:14:29 +0000 (08:14 -0700)]
Fix last change to it_CH and it_IT.
Keith Stribley [Fri, 30 Oct 2009 15:14:02 +0000 (08:14 -0700)]
Implement Burmese language locale for Myanmar.
Ulrich Drepper [Fri, 30 Oct 2009 15:02:30 +0000 (08:02 -0700)]
Implement mkostemps and mkostemps64.
Ulrich Drepper [Fri, 30 Oct 2009 14:18:24 +0000 (07:18 -0700)]
Fix first weekday for ast_ES locale.
Andreas Schwab [Fri, 30 Oct 2009 14:15:12 +0000 (07:15 -0700)]
Add missing declarations.
Andreas Schwab [Fri, 30 Oct 2009 13:14:31 +0000 (14:14 +0100)]
Fix typo in readlinkat