diff options
| author | Bruce M Simpson <bms@FreeBSD.org> | 2004-02-19 12:38:12 +0000 |
|---|---|---|
| committer | Bruce M Simpson <bms@FreeBSD.org> | 2004-02-19 12:38:12 +0000 |
| commit | a1166f24396ed27270c7b8590a49e115393afc7b (patch) | |
| tree | 84cacf338a15e3ffdfe6ac35496f0d7340ba46ff /sys/compat/linux/linux_ioctl.c | |
| parent | 1b2f42a9c72d04d2fd9b3445ce372e4dcfd9fd77 (diff) | |
Notes
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 bc6f0d855d93..1fd5ac90e57b 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; |
