mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
UserspaceEmulator: Support ioctls TCSETSF and TCSETSW
This commit is contained in:
committed by
Brian Gianforcaro
parent
1306fab711
commit
4eb5fdcfe0
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user