diff options
Diffstat (limited to 'DevTools/UserspaceEmulator/Emulator.cpp')
-rw-r--r-- | DevTools/UserspaceEmulator/Emulator.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/DevTools/UserspaceEmulator/Emulator.cpp b/DevTools/UserspaceEmulator/Emulator.cpp index 9b72aa5503..a8c36e516f 100644 --- a/DevTools/UserspaceEmulator/Emulator.cpp +++ b/DevTools/UserspaceEmulator/Emulator.cpp @@ -896,6 +896,9 @@ int Emulator::virt$ioctl(int fd, unsigned request, FlatPtr arg) mmu().copy_to_vm(arg, &ws, sizeof(winsize)); return 0; } + if (request == TIOCSPGRP) { + return syscall(SC_ioctl, fd, request, arg); + } dbg() << "Unsupported ioctl: " << request; dump_backtrace(); TODO(); |