summaryrefslogtreecommitdiff
path: root/Userland/DevTools
diff options
context:
space:
mode:
authorRummskartoffel <Rummskartoffel@protonmail.com>2022-01-28 16:04:43 +0100
committerAndreas Kling <kling@serenityos.org>2022-01-29 11:22:43 +0100
commit2d67d141e6c2ed76e8510e1838c600004803a9cf (patch)
treed09f691d38073d83806d3761b0bdd5e73ac00f49 /Userland/DevTools
parente636e2abbeb6b43a8ce7042ab1ec34bc5fe68f15 (diff)
downloadserenity-2d67d141e6c2ed76e8510e1838c600004803a9cf.zip
UserspaceEmulator: Implement ioctl TIOCSTI
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 c9d97f59aa..cbb2f44a50 100644
--- a/Userland/DevTools/UserspaceEmulator/Emulator_syscalls.cpp
+++ b/Userland/DevTools/UserspaceEmulator/Emulator_syscalls.cpp
@@ -1159,6 +1159,8 @@ int Emulator::virt$ioctl([[maybe_unused]] int fd, unsigned request, [[maybe_unus
case TIOCNOTTY:
case TIOCSCTTY:
return syscall(SC_ioctl, fd, request, 0);
+ case TIOCSTI:
+ return -EIO;
case FB_IOCTL_GET_PROPERTIES: {
size_t size = 0;
auto rc = syscall(SC_ioctl, fd, request, &size);