summaryrefslogtreecommitdiff
path: root/Tests/Kernel/fuzz-syscalls.cpp
diff options
context:
space:
mode:
authorsin-ack <sin-ack@users.noreply.github.com>2022-10-01 13:21:20 +0000
committerAndrew Kaster <andrewdkaster@gmail.com>2022-12-11 19:55:37 -0700
commit9b425b860cde2fd5b94b0191689161652363d272 (patch)
treeeaffc2700b978e0b837ad1a6e3fae39106a3036c /Tests/Kernel/fuzz-syscalls.cpp
parent70337f3a4b07e6d6c2be357187e37653f74ac772 (diff)
downloadserenity-9b425b860cde2fd5b94b0191689161652363d272.zip
Kernel+LibC+Tests: Implement `pwritev(2)`
While this isn't really POSIX, it's needed by the Zig port and was simple enough to implement.
Diffstat (limited to 'Tests/Kernel/fuzz-syscalls.cpp')
-rw-r--r--Tests/Kernel/fuzz-syscalls.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/Kernel/fuzz-syscalls.cpp b/Tests/Kernel/fuzz-syscalls.cpp
index 8a1239ebc3..2ca2878bd0 100644
--- a/Tests/Kernel/fuzz-syscalls.cpp
+++ b/Tests/Kernel/fuzz-syscalls.cpp
@@ -44,7 +44,7 @@ static bool is_bad_idea(int fn, size_t const* direct_sc_args, size_t const* fake
// FIXME: Known bug: https://github.com/SerenityOS/serenity/issues/5328
return direct_sc_args[0] == 1;
case SC_write:
- case SC_writev:
+ case SC_pwritev:
// FIXME: Known bug: https://github.com/SerenityOS/serenity/issues/5328
return direct_sc_args[0] == 0;
case SC_pledge: