diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-04-30 14:52:51 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-12 06:26:15 +0100 |
commit | ad454e026632604fd344147639e0b69ee10f11b7 (patch) | |
tree | c8dd131239fc25bffa081c119ed34c57557b5300 /meta/recipes-core/glibc/glibc/0008-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch | |
parent | 77ce05bd36cf71db9a2cc5b0ebffde7bd11c20f3 (diff) | |
download | poky-ad454e026632604fd344147639e0b69ee10f11b7.tar.gz |
glibc: Upgrade to 2.34 release
bump localedef to get __attr_access_none and __attr_access definitions
replace /bin/bash instead of @BASH@ in ldd as @BASH@ has been substituted with /bin/bash now
package libc_malloc_debug.so.0
Detailed changelog [1]
[1] https://sourceware.org/pipermail/libc-alpha/2021-August/129718.html
(From OE-Core rev: af4e1306a78cf8c508dd911f02c103af81bc1af5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc/glibc/0008-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch')
-rw-r--r-- | meta/recipes-core/glibc/glibc/0008-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc/0008-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch b/meta/recipes-core/glibc/glibc/0008-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch new file mode 100644 index 0000000000..f4fc1d68c4 --- /dev/null +++ b/meta/recipes-core/glibc/glibc/0008-nativesdk-glibc-Fall-back-to-faccessat-on-faccess2-r.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From 2761400989bcbf11e10bc85f90c3a2ba1305c4ae Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 6 Mar 2021 14:48:56 -0800 | ||
4 | Subject: [PATCH] nativesdk-glibc: Fall back to faccessat on faccess2 returns | ||
5 | EPERM | ||
6 | |||
7 | Fedora-specific workaround for systemd-nspawn | ||
8 | |||
9 | Upstream-Status: Inappropriate [Distro Specific] | ||
10 | |||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | sysdeps/unix/sysv/linux/faccessat.c | 6 +++++- | ||
14 | 1 file changed, 5 insertions(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/sysdeps/unix/sysv/linux/faccessat.c b/sysdeps/unix/sysv/linux/faccessat.c | ||
17 | index 13160d3249..ee3ddc9b79 100644 | ||
18 | --- a/sysdeps/unix/sysv/linux/faccessat.c | ||
19 | +++ b/sysdeps/unix/sysv/linux/faccessat.c | ||
20 | @@ -30,7 +30,11 @@ __faccessat (int fd, const char *file, int mode, int flag) | ||
21 | #if __ASSUME_FACCESSAT2 | ||
22 | return ret; | ||
23 | #else | ||
24 | - if (ret == 0 || errno != ENOSYS) | ||
25 | + /* Fedora-specific workaround: | ||
26 | + As a workround for a broken systemd-nspawn that returns | ||
27 | + EPERM when a syscall is not allowed instead of ENOSYS | ||
28 | + we must check for EPERM here and fall back to faccessat. */ | ||
29 | + if (ret == 0 || !(errno == ENOSYS || errno == EPERM)) | ||
30 | return ret; | ||
31 | |||
32 | if (flag & ~(AT_SYMLINK_NOFOLLOW | AT_EACCESS)) | ||