summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>1997-12-10 13:35:54 +0000
committerNiels Provos <provos@cvs.openbsd.org>1997-12-10 13:35:54 +0000
commit0ae7e5fa8b7f094176b069ae446d390aeebbc690 (patch)
treebb94aeb21dcadc1d64bb270575a180e999f98ae8 /sys
parentc6a131d52823d0a366610dfa95c73104de76d593 (diff)
emulate set controlling tty ioctl
Diffstat (limited to 'sys')
-rw-r--r--sys/compat/linux/linux_termios.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_termios.c b/sys/compat/linux/linux_termios.c
index 0dad771c5d5..61bb9d13282 100644
--- a/sys/compat/linux/linux_termios.c
+++ b/sys/compat/linux/linux_termios.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_termios.c,v 1.4 1996/10/16 12:25:37 deraadt Exp $ */
+/* $OpenBSD: linux_termios.c,v 1.5 1997/12/10 13:35:53 provos Exp $ */
/* $NetBSD: linux_termios.c,v 1.3 1996/04/05 00:01:54 christos Exp $ */
/*
@@ -623,6 +623,9 @@ linux_ioctl_termios(p, uap, retval)
case LINUX_TIOCNXCL:
SCARG(&ia, com) = TIOCNXCL;
break;
+ case LINUX_TIOCSCTTY:
+ SCARG(&ia, com) = TIOCSCTTY;
+ break;
case LINUX_TIOCCONS:
SCARG(&ia, com) = TIOCCONS;
break;