summaryrefslogtreecommitdiff
path: root/sys/compat/linux
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-02-10 08:04:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-02-10 08:04:27 +0000
commit05534d6c40cbe93cf6f40a3990d45b0ef7cb7488 (patch)
tree68b233d788838715e173ac58e30067d9c3cf4ada /sys/compat/linux
parent8f00a358005dd7b96cf6bc5db0e7b8f72dafa9a6 (diff)
more ioctl support
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/linux_socket.c22
1 files changed, 21 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_socket.c b/sys/compat/linux/linux_socket.c
index 68c6d8cbdcc..a8d7febecd5 100644
--- a/sys/compat/linux/linux_socket.c
+++ b/sys/compat/linux/linux_socket.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_socket.c,v 1.16 1999/02/10 08:04:04 deraadt Exp $ */
+/* $OpenBSD: linux_socket.c,v 1.17 1999/02/10 08:04:26 deraadt Exp $ */
/* $NetBSD: linux_socket.c,v 1.14 1996/04/05 00:01:50 christos Exp $ */
/*
@@ -995,6 +995,26 @@ linux_ioctl_socket(p, uap, retval)
retval[0] = 0;
switch (com) {
+ case LINUX_FIOSETOWN:
+ SCARG(&ia, com) = FIOSETOWN;
+ break;
+ case LINUX_SIOCSPGRP:
+ SCARG(&ia, com) = SIOCSPGRP;
+ break;
+ case LINUX_FIOGETOWN:
+ SCARG(&ia, com) = FIOGETOWN;
+ break;
+ case LINUX_SIOCGPGRP:
+ SCARG(&ia, com) = SIOCGPGRP;
+ break;
+ case LINUX_SIOCATMARK:
+ SCARG(&ia, com) = SIOCATMARK;
+ break;
+#if 0
+ case LINUX_SIOCGSTAMP:
+ SCARG(&ia, com) = SIOCGSTAMP;
+ break;
+#endif
case LINUX_SIOCGIFCONF:
SCARG(&ia, com) = OSIOCGIFCONF;
break;