summaryrefslogtreecommitdiff
path: root/Userland/DevTools
diff options
context:
space:
mode:
authorRummskartoffel <Rummskartoffel@protonmail.com>2022-01-27 17:51:22 +0100
committerAndreas Kling <kling@serenityos.org>2022-01-29 11:22:43 +0100
commite636e2abbeb6b43a8ce7042ab1ec34bc5fe68f15 (patch)
treef67d39a057de398480b21f169d0cf44125b48a4b /Userland/DevTools
parenta92719fc72f1f7cbcd948f49d6db5b128db5b61d (diff)
downloadserenity-e636e2abbeb6b43a8ce7042ab1ec34bc5fe68f15.zip
UserspaceEmulator: Implement ioctl TCFLSH
Diffstat (limited to 'Userland/DevTools')
-rw-r--r--Userland/DevTools/UserspaceEmulator/Emulator_syscalls.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/DevTools/UserspaceEmulator/Emulator_syscalls.cpp b/Userland/DevTools/UserspaceEmulator/Emulator_syscalls.cpp
index 11cab6b7d1..c9d97f59aa 100644
--- a/Userland/DevTools/UserspaceEmulator/Emulator_syscalls.cpp
+++ b/Userland/DevTools/UserspaceEmulator/Emulator_syscalls.cpp
@@ -1154,6 +1154,8 @@ int Emulator::virt$ioctl([[maybe_unused]] int fd, unsigned request, [[maybe_unus
mmu().copy_from_vm(&termios, arg, sizeof(termios));
return syscall(SC_ioctl, fd, request, &termios);
}
+ case TCFLSH:
+ return syscall(SC_ioctl, fd, request, arg);
case TIOCNOTTY:
case TIOCSCTTY:
return syscall(SC_ioctl, fd, request, 0);