Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'jb45765_for420' into 'master'
[qemu-usermode] Update to 4.2.0. JB#45765 See merge request mer-core/qemu-usermode!11
- Loading branch information
Showing
20 changed files
with
1,008 additions
and
307 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
rpm/0007-Revert-linux-user-Use-direct-syscall-for-utimensat.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
From 3ecf0acf5bc0e7be754bcd69f0535c3dadb2b8ae Mon Sep 17 00:00:00 2001 | ||
From: Frajo Haider <f_haider@gmx.at> | ||
Date: Wed, 29 Jan 2020 12:49:43 +0200 | ||
Subject: [PATCH 07/18] Revert "linux-user: Use direct syscall for utimensat" | ||
|
||
This reverts commit 700fa58e4b9100d6bd77df06d2e5d1f457720c4d. | ||
--- | ||
linux-user/syscall.c | 11 ++++++++++- | ||
1 file changed, 10 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/linux-user/syscall.c b/linux-user/syscall.c | ||
index d5bc5b8..12ea401 100644 | ||
--- a/linux-user/syscall.c | ||
+++ b/linux-user/syscall.c | ||
@@ -388,7 +388,16 @@ static int sys_openat(int dirfd, const char *pathname, int flags, mode_t mode) | ||
} | ||
|
||
#ifdef TARGET_NR_utimensat | ||
-#if defined(__NR_utimensat) | ||
+#ifdef CONFIG_UTIMENSAT | ||
+static int sys_utimensat(int dirfd, const char *pathname, | ||
+ const struct timespec times[2], int flags) | ||
+{ | ||
+ if (pathname == NULL) | ||
+ return futimens(dirfd, times); | ||
+ else | ||
+ return utimensat(dirfd, pathname, times, flags); | ||
+} | ||
+#elif defined(__NR_utimensat) | ||
#define __NR_sys_utimensat __NR_utimensat | ||
_syscall4(int,sys_utimensat,int,dirfd,const char *,pathname, | ||
const struct timespec *,tsp,int,flags) | ||
-- | ||
1.8.3-rc3 | ||
|
Oops, something went wrong.