Skip to content

Commit

Permalink
UserspaceEmulator: Implement ioctl TIOCSTI
Browse files Browse the repository at this point in the history
  • Loading branch information
Rummskartoffel authored and awesomekling committed Jan 29, 2022
1 parent e636e2a commit 2d67d14
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Userland/DevTools/UserspaceEmulator/Emulator_syscalls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2d67d14

Please sign in to comment.