diff options
Diffstat (limited to 'sys/compat/linux/linux_ioctl.c')
-rw-r--r-- | sys/compat/linux/linux_ioctl.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c index bc6f0d8..1fd5ac9 100644 --- a/sys/compat/linux/linux_ioctl.c +++ b/sys/compat/linux/linux_ioctl.c @@ -886,6 +886,16 @@ linux_ioctl_termio(struct thread *td, struct linux_ioctl_args *args) /* LINUX_TIOCGLCKTRMIOS */ /* LINUX_TIOCSLCKTRMIOS */ + case LINUX_TIOCSBRK: + args->cmd = TIOCSBRK; + error = (ioctl(td, (struct ioctl_args *)args)); + break; + + case LINUX_TIOCCBRK: + args->cmd = TIOCCBRK; + error = (ioctl(td, (struct ioctl_args *)args)); + break; + default: error = ENOIOCTL; break; |