commit 5510d44bea20bbf9941c4a56a6e67a22b237ebcd (HEAD -> gentoo/2.33)
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: Sat Feb 27 18:37:33 2021 +0100
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Sat Feb 27 20:22:58 2021 +0100

    Enable nss-systemd in nsswitch.conf
    
    See
    https://bugs.gentoo.org/768366
    https://www.freedesktop.org/software/systemd/man/nss-systemd.html
    
    Bug: https://bugs.gentoo.org/768366
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 nss/nsswitch.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit b97721d9de6f243a6fe995201fb0ac721585d3d5
Author:     Florian Weimer <fweimer@redhat.com>
AuthorDate: Fri Feb 19 13:29:00 2021 +0100
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Sat Feb 27 20:22:42 2021 +0100

    string: Work around GCC PR 98512 in rawmemchr
    
    (cherry picked from commit 044e603b698093cf48f6e6229e0b66acf05227e4)
    (cherry picked from commit 8d4241b8976273513e72cc1c5f6b1af3e11f0792)

 string/rawmemchr.c | 26 +++++++++++++++-----------
 1 file changed, 15 insertions(+), 11 deletions(-)

commit 6cf11b09307dc89b99b4e67eaf985564cc196a71
Author:     Stefan Liebler <stli@linux.ibm.com>
AuthorDate: Tue Feb 16 16:18:56 2021 +0100
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Sat Feb 27 20:22:25 2021 +0100

    S390: Add new hwcap values.
    
    The new hwcap values indicate support for arch14 architecture.
    
    (cherry picked from commit 25251c0707fe34f30a27381a5fabc35435a96621)
    (cherry picked from commit 6efa2d44c8a5aeb34bd1f26b707c1713aac5bdd4)

 sysdeps/s390/dl-procinfo.c                | 5 +++--
 sysdeps/s390/dl-procinfo.h                | 4 +++-
 sysdeps/unix/sysv/linux/s390/bits/hwcap.h | 2 ++
 3 files changed, 8 insertions(+), 3 deletions(-)

commit 22d1756397ed6452d2b3ee1f3d84de57bcb15e43
Author:     Siddhesh Poyarekar <siddhesh@sourceware.org>
AuthorDate: Fri Feb 5 14:09:24 2021 +0530
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Sat Feb 27 20:22:07 2021 +0100

    tunables: Disallow negative values for some tunables
    
    The glibc.malloc.mmap_max tunable as well as al of the INT_32 tunables
    don't have use for negative values, so pin the hardcoded limits in the
    non-negative range of INT.  There's no real benefit in any of those
    use cases for the extended range of unsigned, so I have avoided added
    a new type to keep things simple.
    
    (cherry picked from commit 228f30ab4724d4087d5f52018873fde22efea6e2)
    (cherry picked from commit c5e354589729c0ca63899923f18783fa6803462d)

 elf/dl-tunables.list           | 6 ++++++
 elf/tst-rtld-list-tunables.exp | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

commit 8342a6458fd06d8fe19b2d93b7d25690ca112ecb
Author:     Siddhesh Poyarekar <siddhesh@sourceware.org>
AuthorDate: Wed Feb 3 20:03:19 2021 +0530
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Sat Feb 27 20:21:51 2021 +0100

    x86: Use SIZE_MAX instead of (long int)-1 for tunable range value
    
    The tunable types are SIZE_T, so set the ranges to the correct maximum
    value, i.e. SIZE_MAX.
    
    (cherry picked from commit a1b8b06a55c1ee581d5ef860cec214b0c27a66f0)
    (cherry picked from commit 905fdc7071638612027739d74d63fc91debb0325)

 sysdeps/x86/dl-cacheinfo.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit 9c3229393d6dfdf4df186a5a28fcceb69751355f
Author:     Siddhesh Poyarekar <siddhesh@sourceware.org>
AuthorDate: Fri Feb 5 13:18:58 2021 +0530
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Sat Feb 27 20:21:34 2021 +0100

    tunables: Simplify TUNABLE_SET interface
    
    The TUNABLE_SET interface took a primitive C type argument, which
    resulted in inconsistent type conversions internally due to incorrect
    dereferencing of types, especialy on 32-bit architectures.  This
    change simplifies the TUNABLE setting logic along with the interfaces.
    
    Now all numeric tunable values are stored as signed numbers in
    tunable_num_t, which is intmax_t.  All calls to set tunables cast the
    input value to its primitive type and then to tunable_num_t for
    storage.  This relies on gcc-specific (although I suspect other
    compilers woul also do the same) unsigned to signed integer conversion
    semantics, i.e. the bit pattern is conserved.  The reverse conversion
    is guaranteed by the standard.
    
    (cherry picked from commit 61117bfa1b08ca048e6512c0652c568300fedf6a)
    (cherry picked from commit 15afd6b8d8263010ed41bca09e62fefec1b7b3f8)

 elf/dl-tunable-types.h                         |   4 +-
 elf/dl-tunables.c                              | 128 ++++++++-----------------
 elf/dl-tunables.h                              |  37 +++----
 manual/README.tunables                         |  16 ++--
 sysdeps/unix/sysv/linux/aarch64/cpu-features.c |   2 +-
 sysdeps/x86/dl-cacheinfo.h                     |  15 ++-
 6 files changed, 75 insertions(+), 127 deletions(-)

commit c47cd4d87549b9bb126fb0ca14bcd49b0d48a9b2 (gentoo/gentoo/2.33)
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: Fri Feb 5 07:32:18 2021 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: Sun Feb 7 22:28:01 2021 +0000

    nsswitch: return result when nss database is locked [BZ #27343]
    
    Before the change nss_database_check_reload_and_get() did not populate
    the '*result' value when it returned success in a case of chroot
    detection. This caused initgroups() to use garage pointer in the
    following test (extracted from unbound):
    
    ```
    
    int main() {
        // load some NSS modules
        struct passwd * pw = getpwnam("root");
    
        chdir("/tmp");
        chroot("/tmp");
        chdir("/");
        // access nsswitch.conf in a chroot
        initgroups("root", 0);
    }
    ```
    
    Reviewed-by: DJ Delorie <dj@redhat.com>
    (cherry picked from commit c3479fb7939898ec22c655c383454d6e8b982a67)

 nss/nss_database.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 015cb1dd0ed6630f1789c34afe69d7b219ebe861 (tag: gentoo/glibc-2.33-1)
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: Sat Jul 11 20:06:51 2020 +0300
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Mon Feb 1 22:21:57 2021 +0200

    Fix miscompilation on ia64's gcc-10
    
    Bug: https://bugs.gentoo.org/723268
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 sysdeps/unix/sysv/linux/ia64/dl-sysdep.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit c498b9de0d754c8c2b453963195596d1784ead63
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: Fri Dec 14 20:43:04 2018 +0100
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Mon Feb 1 22:21:54 2021 +0200

    Force -O0 in conform tests to survive $CC changes
    
    In bug #659030 Gentoo started passing user's CFLAGS via $CC variable.
    conform tests should but are not ready to handle -O1/-O2 yet.
    Tests fail to validate headers due to inlining of weak symbol aliases
    and other problems. Let's force it back to -O0 until it's fixed upstream.
    
    Original patch by Sergei, ported to the new python test framework by Andreas
    
    Bug: https://bugs.gentoo.org/659030
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 conform/conformtest.py   | 6 ++++--
 conform/linknamespace.py | 4 +++-
 2 files changed, 7 insertions(+), 3 deletions(-)

commit c50e825805e160dbb244156241c7188e973730c6
Author:     Mike FABIAN <mfabian@redhat.com>
AuthorDate: Mon Aug 10 15:58:12 2015 +0200
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Mon Feb 1 22:21:51 2021 +0200

    Add C.UTF-8 locale
    
    Source:
    https://src.fedoraproject.org/rpms/glibc/raw/master/f/glibc-c-utf8-locale.patch
    
    Notes from there:
    This patch needs to upstream as part of Carlos O'Donell
    <carlos@redhat.com>'s work on enabling upstream C.UTF-8 support. This
    work is currently blocked on cleaning up the test results to prove that
    full code-point sorting is working as intended.
    Note that this patch does not provide full code-point sorting as
    expected.
    This patch needs to upstream as soon as possible since it would be nice
    to have this in F29 and fixed.
    
    Further information:
    https://bugzilla.redhat.com/show_bug.cgi?id=902094
    https://sourceware.org/bugzilla/show_bug.cgi?id=17318
    https://bugs.gentoo.org/671024

 localedata/SUPPORTED |   1 +
 localedata/locales/C | 238 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 239 insertions(+)

commit bae37f242d23ac2135a37d4ac8346cb3230b630a
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: Mon Oct 22 22:34:13 2018 +0200
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Mon Feb 1 22:21:48 2021 +0200

    Adapt to Gentoo-specific /etc/mail/aliases
    
    Patch by pacho2
    
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
    (cherry picked from commit 4e616cda056f471b799beba2b1cedc787ad4ecc0)

 nss/nss_files/files-alias.c    |  2 +-
 nss/tst-nss-files-alias-leak.c | 18 +++++++++---------
 support/support_chroot.c       |  8 +++++++-
 3 files changed, 17 insertions(+), 11 deletions(-)

commit b5c305250e3f6ef97e4847544a5227dc1de2d674
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: Tue Aug 29 22:58:50 2017 +0200
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Mon Feb 1 22:21:45 2021 +0200

    Revert " * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r"
    
    This reverts commit 8479f23aa1d5e5477a37f46823856bdafaedfa46.
    
    See for the background
      https://sourceware.org/bugzilla/show_bug.cgi?id=16826
      https://bugs.gentoo.org/show_bug.cgi?id=600632
    
    This makes tst-nss-files-hosts-multi fail. Disable it.

 nss/Makefile                | 1 -
 sysdeps/posix/getaddrinfo.c | 9 ++-------
 2 files changed, 2 insertions(+), 8 deletions(-)

commit e33f15e2a4e1b5ae74b07836102e59c07175b2ae
Author:     Mike Frysinger <vapier@gentoo.org>
AuthorDate: Wed Apr 1 02:15:48 2009 -0400
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: Mon Feb 1 22:21:41 2021 +0200

    Disable ldconfig during install
    
    Do not bother running ldconfig on DESTDIR.  It's a waste of time as we
    won't use the result (portage will rebuild the cache after install).
    Also, the Gentoo sandbox does not currently catch chroot() behavior so
    we end up (incorrectly) flagging it as a violation as a write to /etc.
    
    http://sourceware.org/ml/libc-alpha/2012-08/msg00118.html
    https://bugs.gentoo.org/431038

 Makefile | 1 +
 1 file changed, 1 insertion(+)
