diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-02-10 08:04:27 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-02-10 08:04:27 +0000 |
commit | 05534d6c40cbe93cf6f40a3990d45b0ef7cb7488 (patch) | |
tree | 68b233d788838715e173ac58e30067d9c3cf4ada /sys/compat/linux | |
parent | 8f00a358005dd7b96cf6bc5db0e7b8f72dafa9a6 (diff) |
more ioctl support
Diffstat (limited to 'sys/compat/linux')
-rw-r--r-- | sys/compat/linux/linux_socket.c | 22 |
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; |