chromiumos/third_party/glibc.git
3 years agoFix race in qsort_r initialization. 83/7483/1 cros-2.11 factory-2475.B factory-2569.B factory-2717.B factory-2723.14.B factory-2846.B factory-2848.B factory-2914.B factory-2985.B factory-2993.B factory-3004.B firmware-butterfly-2788.B firmware-link-2695.2.B firmware-link-2695.B firmware-parrot-2685.B firmware-snow-2695.90.B firmware-snow-2695.B firmware-stout-2817.B master release-R22-2723.B release-R23-2913.B stabilize stabilize-daisy stabilize-link stabilize-link-2913.278
Raymes Khoury [Thu, 9 Dec 2010 17:12:58 +0000 (12:12 -0500)]
Fix race in qsort_r initialization.

(cherry picked from commit fb88ac72c2dcbbd979c8798e4ea497818bb3e171)

BUG=chromium:84726
TEST=Build toolchain for x86-alex. Booted image.

3 years agoForward-port local glibc security patch. 87/6587/2
Raymes Khoury [Wed, 24 Aug 2011 16:37:30 +0000 (09:37 -0700)]
Forward-port local glibc security patch.

This forward-ports the patch glibc-2.10-no-expand-origin.patch from:
http://git.chromium.org/gitweb/?p=chromiumos/overlays/chromiumos-overlay.git;a=commit;h=889a14f4351f86af94eba27c9d57d79d51a19660
into glibc-2.11.1

This patch doesn't seem to be upstreamed.

BUG=chromium-os:19436
TEST=emerge glibc

Change-Id: I0e376080673adff25b01d03ef8f572ad2684f257

3 years agoRequire suid bit on audit objects in privileged programs 83/6583/2
Raymes Khoury [Wed, 24 Aug 2011 16:02:59 +0000 (09:02 -0700)]
Require suid bit on audit objects in privileged programs

Backport for 2.11.1.
(cherry-picked from commit 8e9f92e9d5d7737afdacf79b76d98c4c42980508)

BUG=chromium-os:19436
TEST=emerge glibc

Change-Id: I9234597f06aebd2f2769a1c4fde5267967c8fe03

3 years agoAlign x86 TCB to 64 bytes (cache line size), important for Atom. 81/6581/2
Raymes Khoury [Wed, 24 Aug 2011 15:45:57 +0000 (08:45 -0700)]
Align x86 TCB to 64 bytes (cache line size), important for Atom.

(cherry-picked from commit 5744c68d78f6ca6c6500e2c8d3d85b3a31f4ed2a)

BUG=chromium-os:19436
TEST=emerge glibc

Change-Id: Iba0baeac85b51deb6a3154050d601717aea63cd4

3 years agoFix -D_FORTIFY_SOURCE memmove and bcop 84/6584/2
Raymes Khoury [Wed, 24 Aug 2011 16:21:27 +0000 (09:21 -0700)]
Fix -D_FORTIFY_SOURCE memmove and bcop

Backport for 2.11.1.
(cherry-picked from change 42acbb92c861e97a6e1293ea853db88342a1bf53)

BUG=chromium-os:19436
TEST=emerge glibc

Change-Id: I172ea3028c6cf3d1d35b2f9486e3c1e72c557f45

3 years agoAdd -fno-asynchronous-unwind-tables to initfini.s for i386 74/6574/2
Raymes Khoury [Wed, 24 Aug 2011 04:56:36 +0000 (21:56 -0700)]
Add -fno-asynchronous-unwind-tables to initfini.s for i386

(cherry-picked from commit f8392f40049cf6faedcf4f26736227d9a7a04b9e)

BUG=chromium-os:19436
TEST=emerge glibc

Change-Id: Id9a76c84cbfe9d14f663eeecac7dfc5e8a4df4eb

4 years agoglibc 2.11.1 release glibc-2.11.1
Petr Baudis [Tue, 8 Dec 2009 20:10:20 +0000 (21:10 +0100)]
glibc 2.11.1 release

4 years agoFix infloop in __pthread_disable_asynccancel on x86_64
Andreas Schwab [Sat, 28 Nov 2009 05:37:30 +0000 (21:37 -0800)]
Fix infloop in __pthread_disable_asynccancel on x86_64

(cherry picked from commit b55ec98c6490b944593243c7da54dda1796e3f84)

4 years agoAvoid local PLTs.
Ulrich Drepper [Wed, 25 Nov 2009 02:47:26 +0000 (18:47 -0800)]
Avoid local PLTs.

(cherry picked from commit 0f622686af3ae5a8f03dae886b08c260b38bda16)

4 years agoPrevent unintended file desriptor leak in grantpt.
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.

(cherry picked from commit 139ee080b6b428240bf49f3e6361f3ac729f891a)

4 years agoFix startup to security-relevant statically linked binaries.
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.

(cherry picked from commit 1c3c269b55c84c29ec1e2c70f122c5e33fef4257)

4 years agoDefine week, first_weekday, and first_workday for hsb_DE locale.
Ulrich Drepper [Tue, 24 Nov 2009 18:00:28 +0000 (10:00 -0800)]
Define week, first_weekday, and first_workday for hsb_DE locale.

(cherry picked from commit ee5a5ba6725ee949483f043cd0cf2a1579b6b509)

4 years agoDefine week, first_weekday, and first_workday for en_DK 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.

(cherry picked from commit 49c7f27194d16976a6bb9c5b7be186662ec7a6e6)

4 years agoFix week information for nl_NL locale.
Ulrich Drepper [Mon, 23 Nov 2009 00:54:45 +0000 (16:54 -0800)]
Fix week information for nl_NL locale.

(cherry picked from commit 6503cfe2de2105e83456fb04fdeb5d4e2323e9b4)

4 years agoReinitialize _create_xid state after fork.
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.

(cherry picked from commit c5a8b997e2de005697a992d8db5c54995bd361a8)

5 years agoProperly recover from shorter read.
H.J. Lu [Fri, 20 Nov 2009 16:30:20 +0000 (08:30 -0800)]
Properly recover from shorter read.

(cherry picked from commit 66221417957963c1d2df8d79f43573e328df2275)

5 years agoFix sync_file_range on ppc/ppc64.
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.
(cherry picked from commit 8ad81b316bc158746aee18aa7d7df44d3eb61871)

5 years agoFix getwc* and putwc* on non-wide streams.
Ulrich Drepper [Thu, 19 Nov 2009 18:29:16 +0000 (10:29 -0800)]
Fix getwc* and putwc* on non-wide streams.

(cherry picked from commit df1934daa7788ca5f19d82efb02cdf9b9c495b1a)

5 years agoAvoid warnings in CPU_* macros when using const bitsets.
Ulrich Drepper [Thu, 19 Nov 2009 18:03:46 +0000 (10:03 -0800)]
Avoid warnings in CPU_* macros when using const bitsets.

(cherry picked from commit 03ebadd9eaa4663f58bd3fa6fe8283f255925632)

5 years agoWhitespace fixes.
Ulrich Drepper [Wed, 18 Nov 2009 00:24:26 +0000 (16:24 -0800)]
Whitespace fixes.

(cherry picked from commit 3933378fd3cbe49c1e0ca42844f959eb12f05f60)

5 years agoAdd missing test files.
Ulrich Drepper [Wed, 18 Nov 2009 00:23:57 +0000 (16:23 -0800)]
Add missing test files.

(cherry picked from commit 3a00b16da491d5c869795251e1ad4f43b3ba1469)

5 years agoFix ranges with multibyte characters as endpoints.
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.

(cherry picked from commit 815d8147a3418334ffa91e2384c6e159f0809d65)

5 years agoHandle LC_GLOBAL_LOCALE in duplocale.
Ulrich Drepper [Tue, 17 Nov 2009 17:37:31 +0000 (09:37 -0800)]
Handle LC_GLOBAL_LOCALE in duplocale.

(cherry picked from commit 7443244740724babd575943ee33c45da326afbe7)

5 years agoFix _NC_LOCALE_NAME definition.
Ulrich Drepper [Tue, 17 Nov 2009 17:18:11 +0000 (09:18 -0800)]
Fix _NC_LOCALE_NAME definition.

(cherry picked from commit 4fb9241e4edbe238de8ba251f4448e31e8b1baf4)

5 years agoAdd missing Linux MADV_* definitions.
Ulrich Drepper [Tue, 17 Nov 2009 14:43:39 +0000 (06:43 -0800)]
Add missing Linux MADV_* definitions.

(cherry picked from commit 2866eeb1b70c989591293d37ae292e71def16775)

5 years agoMissing CL.
Mike Frsyinger [Sun, 15 Nov 2009 03:16:49 +0000 (19:16 -0800)]
Missing CL.

(cherry picked from commit fabe43aba8fb46614eb2a74b2916bfbbf8fec10e)

5 years agoFix building on x86 with older kernel headers.
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.

(cherry picked from commit f9a7bd536e0b1693db32e1330bbd96108ca63c42)

5 years agoAdd missing stdio.h include.
Mike Frsyinger [Sun, 15 Nov 2009 03:11:44 +0000 (19:11 -0800)]
Add missing stdio.h include.

(cherry picked from commit 5ec794b4b537bc507010af28d2d93bb76d0972ac)

5 years agoFix F_SETOWN_EX and F_GETOWN_EX definitions.
Ulrich Drepper [Sat, 14 Nov 2009 16:28:40 +0000 (08:28 -0800)]
Fix F_SETOWN_EX and F_GETOWN_EX definitions.

(cherry picked from commit 8964681064db9f13ee4ec7f46c53f04d66a04b99)

5 years agoHandle running out of buffer space with IPv6 mapping enabled.
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.

5 years agoAvoid memset warning in one case.
Caolan McNamara [Tue, 10 Nov 2009 14:29:13 +0000 (06:29 -0800)]
Avoid memset warning in one case.

5 years agoFix up whitespaces.
Ulrich Drepper [Fri, 6 Nov 2009 17:34:23 +0000 (09:34 -0800)]
Fix up whitespaces.

5 years agoFix spelling of (Newton-)Raphson
Philippe De Muyter [Fri, 6 Nov 2009 17:33:27 +0000 (09:33 -0800)]
Fix spelling of (Newton-)Raphson

5 years agoFix spelling in memusagestat.c
Holger Hans Peter Freyther [Fri, 6 Nov 2009 17:32:06 +0000 (09:32 -0800)]
Fix spelling in memusagestat.c

5 years agoProperly handle STT_GNU_IFUNC symbols in do_sym.
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.

5 years agoCorrect readahead syscall wrapper on powerpc32.
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.

5 years agoFix R_PPC64_{JMP_IREL,IRELATIVE} handling in dl-conflict.c.
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).

5 years agoFix preadv, pwritev and fallocate for -D_FILE_OFFSET_BITS=64.
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.

5 years agoMake name of libgcc_s library configurable
Andreas Schwab [Tue, 3 Nov 2009 22:52:01 +0000 (23:52 +0100)]
Make name of libgcc_s library configurable

5 years agoRestore locking in free_check.
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.

5 years ago2.11 release. glibc-2.11
Ulrich Drepper [Fri, 30 Oct 2009 17:17:08 +0000 (10:17 -0700)]
2.11 release.

5 years agoFix aliasing problem in tst-sem11.
Ulrich Drepper [Fri, 30 Oct 2009 16:35:20 +0000 (09:35 -0700)]
Fix aliasing problem in tst-sem11.

5 years agoAdd cast in tst-execstack to avoid warning.
Ulrich Drepper [Fri, 30 Oct 2009 16:26:00 +0000 (09:26 -0700)]
Add cast in tst-execstack to avoid warning.

5 years agoAvoid warning in scanf test.
Ulrich Drepper [Fri, 30 Oct 2009 16:23:24 +0000 (09:23 -0700)]
Avoid warning in scanf test.

5 years agoAvoid two warnings in strtol{,l} tests.
Ulrich Drepper [Fri, 30 Oct 2009 16:22:34 +0000 (09:22 -0700)]
Avoid two warnings in strtol{,l} tests.

5 years agoMentin new my_MM locale in NEWS.
Ulrich Drepper [Fri, 30 Oct 2009 15:36:41 +0000 (08:36 -0700)]
Mentin new my_MM locale in NEWS.

5 years agoFix whitespaces.
Ulrich Drepper [Fri, 30 Oct 2009 15:15:20 +0000 (08:15 -0700)]
Fix whitespaces.

5 years agoFix last change to it_CH and it_IT.
Ulrich Drepper [Fri, 30 Oct 2009 15:14:29 +0000 (08:14 -0700)]
Fix last change to it_CH and it_IT.

5 years agoImplement Burmese language locale for Myanmar.
Keith Stribley [Fri, 30 Oct 2009 15:14:02 +0000 (08:14 -0700)]
Implement Burmese language locale for Myanmar.

5 years agoImplement mkostemps and mkostemps64.
Ulrich Drepper [Fri, 30 Oct 2009 15:02:30 +0000 (08:02 -0700)]
Implement mkostemps and mkostemps64.

5 years agoFix first weekday for ast_ES locale.
Ulrich Drepper [Fri, 30 Oct 2009 14:18:24 +0000 (07:18 -0700)]
Fix first weekday for ast_ES locale.

5 years agoAdd missing declarations.
Andreas Schwab [Fri, 30 Oct 2009 14:15:12 +0000 (07:15 -0700)]
Add missing declarations.

5 years agoFix typo in readlinkat
Andreas Schwab [Fri, 30 Oct 2009 13:14:31 +0000 (14:14 +0100)]
Fix typo in readlinkat

5 years agoNew simplified make dist using git archive.
Roland McGrath [Wed, 28 Oct 2009 22:27:43 +0000 (15:27 -0700)]
New simplified make dist using git archive.

5 years agoFix races in setXid implementation.
Daniel Jacobowitz [Fri, 30 Oct 2009 08:00:44 +0000 (01:00 -0700)]
Fix races in setXid implementation.

5 years agoUglify IFUNC tests for PPC.
Alan Modra [Fri, 30 Oct 2009 07:48:54 +0000 (00:48 -0700)]
Uglify IFUNC tests for PPC.

5 years agoMention IFUNC for PPC.
Ulrich Drepper [Fri, 30 Oct 2009 07:41:33 +0000 (00:41 -0700)]
Mention IFUNC for PPC.

5 years agoImplement IFUNC for PPC.
Alan Modra [Fri, 30 Oct 2009 07:39:38 +0000 (00:39 -0700)]
Implement IFUNC for PPC.

5 years agoDefine am_pm , t_fmt_ampm, first_weekday for es_CO locale.
Jorge Guerrero [Fri, 30 Oct 2009 07:31:32 +0000 (00:31 -0700)]
Define am_pm , t_fmt_ampm, first_weekday for es_CO locale.

5 years agoAdd a few defines to <netinet/udp.h>.
Ulrich Drepper [Fri, 30 Oct 2009 07:27:27 +0000 (00:27 -0700)]
Add a few defines to <netinet/udp.h>.

5 years agoFix accents in shs_CA locale.
Neskie Manuel [Fri, 30 Oct 2009 07:22:34 +0000 (00:22 -0700)]
Fix accents in shs_CA locale.

5 years agoImplement mkstemps and mkstemps64.
Ulrich Drepper [Fri, 30 Oct 2009 07:11:07 +0000 (00:11 -0700)]
Implement mkstemps and mkstemps64.

5 years agoAdd sml entry to ISO 639 list.
Ulrich Drepper [Fri, 30 Oct 2009 06:21:18 +0000 (23:21 -0700)]
Add sml entry to ISO 639 list.

5 years agoInitialize local variable in resolver.
Ulrich Drepper [Fri, 30 Oct 2009 06:01:58 +0000 (23:01 -0700)]
Initialize local variable in resolver.

When the DNS server doesn't reply at all we possibly tested
an unitialized variable.

5 years agoFix date_fmt for it_IT and it_CH locales.
Nicolo' Chieffo [Fri, 30 Oct 2009 05:49:17 +0000 (22:49 -0700)]
Fix date_fmt for it_IT and it_CH locales.

5 years agoFix IA-64 and S390 sigevent definitions.
Ulrich Drepper [Fri, 30 Oct 2009 05:43:08 +0000 (22:43 -0700)]
Fix IA-64 and S390 sigevent definitions.

5 years agoDefine yesstr and nostr for a few locales.
Petr Machata [Fri, 30 Oct 2009 05:30:25 +0000 (22:30 -0700)]
Define  yesstr and nostr for a few locales.

5 years agoFix first day of week and a few spellings in crh_UA locale.
Reþat SABIQ [Fri, 30 Oct 2009 05:21:58 +0000 (22:21 -0700)]
Fix first day of week and a few spellings in crh_UA locale.

5 years agoFix a few asserts and IO calls in nscd.
Anders Johansson [Fri, 30 Oct 2009 05:18:26 +0000 (22:18 -0700)]
Fix a few asserts and IO calls in nscd.

The nscd/*cache.c files contain assert()s, writeall() and sendfileall() calls
that invalidly use together &dataset->resp and total where either dataset or
dataset->head.recsize should be used instead one of the components. In the
writeall() and sendfileall() cases, it is unlikely to matter in practice, but
the assertions can fail sometimes without a proper reason.

5 years agoFix nss_files if /etc/hosts is missing.
Steve Langasek [Fri, 30 Oct 2009 05:04:58 +0000 (22:04 -0700)]
Fix nss_files if /etc/hosts is missing.

5 years agoFix typos in format strings of malloc_info.
John Sullivan [Fri, 30 Oct 2009 04:50:35 +0000 (21:50 -0700)]
Fix typos in format strings of malloc_info.

5 years agoBump timeout for utmp operations to 10s.
Ulrich Drepper [Fri, 30 Oct 2009 04:41:19 +0000 (21:41 -0700)]
Bump timeout for utmp operations to 10s.

5 years agoFix compat handling in *at functions.
Ulrich Drepper [Fri, 30 Oct 2009 04:33:26 +0000 (21:33 -0700)]
Fix compat handling in *at functions.

When passed an empty string for the filename, the compat code
using /proc in all *at functions did the wrong thing.

5 years agoFix AIO when thread creation failed.
Ulrich Drepper [Fri, 30 Oct 2009 04:01:24 +0000 (21:01 -0700)]
Fix AIO when thread creation failed.

Several bugs fixed when we needed to create a thread to work on AIO
requests but failed and there is not one running.

5 years agoFix error handling in NIS.
Joe Landers [Fri, 30 Oct 2009 02:59:59 +0000 (19:59 -0700)]
Fix error handling in NIS.

A buffer was freed even though it wasn't allocated as expected.  Do
this only when !batch_read.

5 years agoFix memory leak in NIS grp database handling.
Joe Landers [Thu, 29 Oct 2009 23:22:01 +0000 (16:22 -0700)]
Fix memory leak in NIS grp database handling.

5 years agoFix return value of puts for very long strings.
Ulrich Drepper [Thu, 29 Oct 2009 23:03:07 +0000 (16:03 -0700)]
Fix return value of puts for very long strings.

5 years agoFix repairing of memusage trace files.
Ulrich Drepper [Thu, 29 Oct 2009 21:19:33 +0000 (14:19 -0700)]
Fix repairing of memusage trace files.

5 years agoPrint timestamp in nscd debug messages.
Ulrich Drepper [Thu, 29 Oct 2009 20:45:10 +0000 (13:45 -0700)]
Print timestamp in nscd debug messages.

5 years agoFix errno handling in posix_openpt.
Andreas Schwab [Thu, 29 Oct 2009 18:27:53 +0000 (11:27 -0700)]
Fix errno handling in posix_openpt.

The implementation of posix_openpt on Linux can fail in a few extra
ways if the appropriate pseudo filesystems are not mounted etc.  In
some of these cases we have to explicitly set errno.

5 years agoFix wrap-around in memusage.
Andreas Schwab [Thu, 29 Oct 2009 18:25:20 +0000 (11:25 -0700)]
Fix wrap-around in memusage.

5 years agoFix getttyname on Linux when called for different devices.
Ulrich Drepper [Thu, 29 Oct 2009 18:02:34 +0000 (11:02 -0700)]
Fix getttyname on Linux when called for different devices.

If a second call to ttyname is not for the same type of device (e.g.,
serial vs ptty) the prefix of the buffer was wrong.  Don't rely on
the previous content, always reinitialize it.

5 years agoAdd macros for DSCP markings.
Philip Prindeville [Thu, 29 Oct 2009 17:40:55 +0000 (10:40 -0700)]
Add macros for DSCP markings.

5 years agoFix F_GETOWN on some Linux archs.
Ulrich Drepper [Thu, 29 Oct 2009 17:12:59 +0000 (10:12 -0700)]
Fix F_GETOWN on some Linux archs.

The syscall conventions on some Linux archs prevented F_GETOWN from working
correctly in some situations.  This can be rectified when using the new
F_GETOWN_EX command.

5 years agoDefine F_OWNER_* and f_owner_ex for Linux targets.
Ulrich Drepper [Thu, 29 Oct 2009 15:48:17 +0000 (08:48 -0700)]
Define F_OWNER_* and f_owner_ex for Linux targets.

5 years agoAllow compat handling of getutmp.
Ulrich Drepper [Thu, 29 Oct 2009 15:33:12 +0000 (08:33 -0700)]
Allow compat handling of getutmp.

5 years agoFix mixing IPv4 and IPv6 name server in resolv.conf.
Petar Bogdanovic [Thu, 29 Oct 2009 15:17:48 +0000 (08:17 -0700)]
Fix mixing IPv4 and IPv6 name server in resolv.conf.

5 years agoReadd definition of __expl in ldbl-128
Joseph S. Myers [Sat, 24 Oct 2009 00:07:32 +0000 (00:07 +0000)]
Readd definition of __expl in ldbl-128

5 years agoFix range checks in coshl.
Jakub Jelinek [Tue, 27 Oct 2009 20:46:08 +0000 (13:46 -0700)]
Fix range checks in coshl.

5 years agoFix whitespaces.
Ulrich Drepper [Fri, 23 Oct 2009 05:50:00 +0000 (22:50 -0700)]
Fix whitespaces.

5 years agoImplement SSE4.2 optimized strchr and strrchr.
H.J. Lu [Fri, 23 Oct 2009 05:47:12 +0000 (22:47 -0700)]
Implement SSE4.2 optimized strchr and strrchr.

5 years agoMerge branch 'master' of ssh://sources.redhat.com/git/glibc
Ulrich Drepper [Fri, 23 Oct 2009 05:42:13 +0000 (22:42 -0700)]
Merge branch 'master' of ssh://sources.redhat.com/git/glibc

5 years agoHandle IFUNC symbols in dlsym.
Andreas Schwab [Wed, 21 Oct 2009 13:23:42 +0000 (06:23 -0700)]
Handle IFUNC symbols in dlsym.

5 years agoCorrect errno handling in expm1.
Andreas Schwab [Tue, 20 Oct 2009 04:23:15 +0000 (21:23 -0700)]
Correct errno handling in expm1.

5 years agoMention ps_AF locale as new.
Ulrich Drepper [Thu, 15 Oct 2009 13:54:25 +0000 (06:54 -0700)]
Mention ps_AF locale as new.

5 years agoAdd ps_AF locale.
Ulrich Drepper [Thu, 15 Oct 2009 13:53:24 +0000 (06:53 -0700)]
Add ps_AF locale.

5 years agoAfghan locale definition for Pashto language.
Sayamindu Dasgupta [Thu, 15 Oct 2009 13:51:37 +0000 (06:51 -0700)]
Afghan locale definition for Pashto language.

Mostly by Sayamindu Dasgupta, fixed up by Pravin Satpute <psatpute@redhat.com>.

5 years agoAdd ____longjmp_chk for sparc
David S. Miller [Wed, 14 Oct 2009 12:52:42 +0000 (14:52 +0200)]
Add ____longjmp_chk for sparc

tst-longjmp_chk passes, tst-longjmp_chk2 fails but that is because
of some limitations of kernel signal delivery on sparc that I need
to fix, it has nothing to do with the longjmp_chk implementation.

(The problem with tst-longjmp_chk2 is that it tries to do a stack
 fault SIGSEGV within a stack fault SIGSEGV , and the Linux kernel
 will refuse to setup the signal stack and deliver the signal if the
 register windows can't be written out to the stack first)

5 years agoFix USE_MULTIARCH conditional
Andreas Schwab [Tue, 13 Oct 2009 14:12:47 +0000 (16:12 +0200)]
Fix USE_MULTIARCH conditional

5 years agoRemove duplicate __set_errno call in random_r.c.
Ulrich Drepper [Thu, 8 Oct 2009 20:46:47 +0000 (13:46 -0700)]
Remove duplicate __set_errno call in random_r.c.