Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[qemu-usermode] linux-user: Support f_flags in statfs64 when availabl…
…e. JB#48738
- Loading branch information
Showing
19 changed files
with
66 additions
and
36 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
rpm/0001-Revert-linux-user-Use-safe_syscall-for-open-and-open.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
4 changes: 2 additions & 2 deletions
4
rpm/0002-Revert-linux-user-Use-safe_syscall-for-execve-syscal.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
4 changes: 2 additions & 2 deletions
4
rpm/0003-Revert-linux-user-Use-safe_syscall-wrapper-for-send-.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
4 changes: 2 additions & 2 deletions
4
rpm/0004-Revert-linux-user-Use-safe_syscall-wrapper-for-accep.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
4 changes: 2 additions & 2 deletions
4
rpm/0005-Revert-linux-user-Use-safe_syscall-for-wait-system-c.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
4 changes: 2 additions & 2 deletions
4
rpm/0006-Revert-linux-user-Use-safe_syscall-wrapper-for-conne.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
4 changes: 2 additions & 2 deletions
4
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
4 changes: 2 additions & 2 deletions
4
rpm/0008-Revert-target-arm-Use-vector-operations-for-saturati.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
4 changes: 2 additions & 2 deletions
4
rpm/0009-linux-user-Also-ignore-attempts-to-block-SIGTERM-SIG.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
4 changes: 2 additions & 2 deletions
4
rpm/0010-Revert-tcg-i386-Fix-dupi-dupm-for-avx1-and-32-bit-ho.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
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
4 changes: 2 additions & 2 deletions
4
rpm/0013-crypto-check-if-getrandom-is-available-properly.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
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
6 changes: 3 additions & 3 deletions
6
...e-sure-mode-is-passed-to-openat-if-.patch → ...-passed-to-openat-if-O_TMPFILE-is-s.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
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
4 changes: 2 additions & 2 deletions
4
rpm/0017-Revert-linux-user-Use-safe_syscall-wrapper-for-fcntl.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
28 changes: 28 additions & 0 deletions
28
rpm/0018-linux-user-Support-f_flags-in-statfs64-when-availabl.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,28 @@ | ||
From e03a3b91c40ba4d1fae1bd4325c784f797d4c7db Mon Sep 17 00:00:00 2001 | ||
From: Frajo Haider <f_haider@gmx.at> | ||
Date: Thu, 30 Jan 2020 12:17:16 +0000 | ||
Subject: [PATCH 18/18] linux-user: Support f_flags in statfs64 when available. | ||
|
||
--- | ||
linux-user/syscall.c | 5 +++++ | ||
1 file changed, 5 insertions(+) | ||
|
||
diff --git a/linux-user/syscall.c b/linux-user/syscall.c | ||
index 859cce2..709770b 100644 | ||
--- a/linux-user/syscall.c | ||
+++ b/linux-user/syscall.c | ||
@@ -8985,6 +8985,11 @@ static abi_long do_syscall1(void *cpu_env, int num, abi_long arg1, | ||
__put_user(stfs.f_fsid.__val[1], &target_stfs->f_fsid.val[1]); | ||
__put_user(stfs.f_namelen, &target_stfs->f_namelen); | ||
__put_user(stfs.f_frsize, &target_stfs->f_frsize); | ||
+#ifdef _STATFS_F_FLAGS | ||
+ __put_user(stfs.f_flags, &target_stfs->f_flags); | ||
+#else | ||
+ __put_user(0, &target_stfs->f_flags); | ||
+#endif | ||
memset(target_stfs->f_spare, 0, sizeof(target_stfs->f_spare)); | ||
unlock_user_struct(target_stfs, arg3, 1); | ||
} | ||
-- | ||
1.8.3-rc3 | ||
|
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