mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:47:37 +00:00
UserspaceEmulator: Support ioctls TCSETSF and TCSETSW
This commit is contained in:
parent
1306fab711
commit
4eb5fdcfe0
1 changed files with 1 additions and 1 deletions
|
@ -1126,7 +1126,7 @@ int Emulator::virt$ioctl([[maybe_unused]] int fd, unsigned request, [[maybe_unus
|
|||
mmu().copy_to_vm(arg, &termios, sizeof(termios));
|
||||
return rc;
|
||||
}
|
||||
if (request == TCSETS) {
|
||||
if (request == TCSETS || request == TCSETSF || request == TCSETSW) {
|
||||
struct termios termios;
|
||||
mmu().copy_from_vm(&termios, arg, sizeof(termios));
|
||||
return syscall(SC_ioctl, fd, request, &termios);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue