diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-04-25 05:47:36 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-04-25 05:47:36 +0000 |
commit | 3fb0589280d174a460fe47ac4a800c0ac5608aed (patch) | |
tree | 744dbf3e0846f9e00fe1327f5b6d097504078098 /sys | |
parent | c7c131bd701fa8a61c03b6267145b2925c1d14c2 (diff) |
Aparently the socketpair bug is fixed in current Linux kernels so
back out my last change.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/compat/linux/linux_socket.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/compat/linux/linux_socket.c b/sys/compat/linux/linux_socket.c index 7ae3b82e965..7514628620f 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.12 1998/04/25 00:12:45 millert Exp $ */ +/* $OpenBSD: linux_socket.c,v 1.13 1998/04/25 05:47:35 millert Exp $ */ /* $NetBSD: linux_socket.c,v 1.14 1996/04/05 00:01:50 christos Exp $ */ /* @@ -488,14 +488,6 @@ linux_shutdown(p, uap, retval) if ((error = copyin((caddr_t) uap, (caddr_t) &lsa, sizeof lsa))) return error; - /* - * XXX - Linux gets the ``how'' argument wrong. It is reversed! - * Hopefully they will fix this someday. - */ - if (lsa.how == SHUT_RD) - lsa.how = SHUT_WR; - else if (lsa.how == SHUT_WR) - lsa.how = SHUT_RD; SCARG(&bsa, s) = lsa.s; SCARG(&bsa, how) = lsa.how; |