-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update CI to QEMU 8.1.0. * Patch qemu to properly handle `O_LARGEFILE` on aarch64. * Remove a redundant ubuntu-1.63 from the CI. * Patch qemu to properly handle `TCGETS2` on powerpc. And in the libc backend, ensure that input_speed and output_speed are set after a `tcgetattr` call. And, work around the fact that even with the patches, QEMU is still not setting `input_speed`/`output_speed` in `TCGETS2`, so set them manually when we can.
- Loading branch information
1 parent
e1226f1
commit 9247191
Showing
7 changed files
with
441 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
From Dan Gohman <[email protected]> | ||
Subject: [PATCH] Correct the definition of `O_LARGEFILE` on aarch64 | ||
|
||
This fixes `fcntl` with `F_GETFL` from spuriously returning `O_NOFOLLOW` | ||
on hosts such as x86_64. | ||
|
||
diff -ur a/linux-user/aarch64/target_fcntl.h b/linux-user/aarch64/target_fcntl.h | ||
--- a/linux-user/aarch64/target_fcntl.h | ||
+++ b/linux-user/aarch64/target_fcntl.h | ||
@@ -11,6 +11,7 @@ | ||
#define TARGET_O_DIRECTORY 040000 /* must be a directory */ | ||
#define TARGET_O_NOFOLLOW 0100000 /* don't follow links */ | ||
#define TARGET_O_DIRECT 0200000 /* direct disk access hint */ | ||
+#define TARGET_O_LARGEFILE 0400000 | ||
|
||
#include "../generic/fcntl.h" | ||
#endif |
Oops, something went wrong.