mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:57:45 +00:00
UserspaceEmulator: Implement ioctl TCFLSH
This commit is contained in:
parent
a92719fc72
commit
e636e2abbe
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue