mirror of
https://git.yoctoproject.org/poky
synced 2026-04-02 08:02:23 +02:00
rpm is close to release and give our release timings, update to the rc1 of 4.18. Includes fixes for CVE-2021-35937, CVE-2021-35938 and CVE-2021-35939 which can't be easily backported. Add a PACKAGECONFIG option for a new readline dependency and disable it by default since it pulls in GPLv3 and that breaks a number of our test configurations as things stand. Refresh patches and drop the error.h patch as error() no longer used. (From OE-Core rev: 4b31e4f2aea490bd5056c97742b5e25a8dcc8b36) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 lines
883 B
Diff
23 lines
883 B
Diff
Calling openat() on a fifo causes a pseudo hang for us (e.g. the fifo in psplash).
|
|
Avoid calling openat for fifos.
|
|
|
|
Introduced upstream with:
|
|
|
|
https://github.com/rpm-software-management/rpm/commit/96ec957e281220f8e137a2d5eb23b83a6377d556
|
|
|
|
Upstream-Status: Submitted [https://github.com/rpm-software-management/rpm/issues/2195]
|
|
|
|
Index: git/lib/fsm.c
|
|
===================================================================
|
|
--- git.orig/lib/fsm.c
|
|
+++ git/lib/fsm.c
|
|
@@ -1010,7 +1010,7 @@ int rpmPackageFilesInstall(rpmts ts, rpm
|
|
rc = RPMERR_UNKNOWN_FILETYPE;
|
|
}
|
|
|
|
- if (!rc && fd == -1 && !S_ISLNK(fp->sb.st_mode)) {
|
|
+ if (!rc && fd == -1 && !S_ISLNK(fp->sb.st_mode) && !S_ISFIFO(fp->sb.st_mode)) {
|
|
/* Only follow safe symlinks, and never on temporary files */
|
|
fd = fsmOpenat(di.dirfd, fp->fpath,
|
|
fp->suffix ? AT_SYMLINK_NOFOLLOW : 0, 0);
|