ibcs2_other.c (139799) | ibcs2_other.c (141488) |
---|---|
1/*- 2 * Copyright (c) 1995 Steven Wallace 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 19 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 20 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 */ 24 25#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1995 Steven Wallace 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 19 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 20 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 */ 24 25#include <sys/cdefs.h> |
26__FBSDID("$FreeBSD: head/sys/i386/ibcs2/ibcs2_other.c 139799 2005-01-06 23:22:04Z imp $"); | 26__FBSDID("$FreeBSD: head/sys/i386/ibcs2/ibcs2_other.c 141488 2005-02-07 22:02:18Z jhb $"); |
27 28/* 29 * IBCS2 compatibility module. 30 */ 31 32#include "opt_spx_hack.h" 33 34#include <sys/param.h> --- 42 unchanged lines hidden (view full) --- 77 return (error); 78} 79 80#ifdef SPX_HACK 81#include <sys/socket.h> 82#include <sys/un.h> 83 84int | 27 28/* 29 * IBCS2 compatibility module. 30 */ 31 32#include "opt_spx_hack.h" 33 34#include <sys/param.h> --- 42 unchanged lines hidden (view full) --- 77 return (error); 78} 79 80#ifdef SPX_HACK 81#include <sys/socket.h> 82#include <sys/un.h> 83 84int |
85spx_open(struct thread *td, void *uap) | 85spx_open(struct thread *td) |
86{ 87 struct socket_args sock; 88 struct connect_args conn; 89 struct sockaddr_un *Xaddr; 90 int fd, error; 91 caddr_t sg = stackgap_init(); 92 93 /* obtain a socket. */ --- 30 unchanged lines hidden --- | 86{ 87 struct socket_args sock; 88 struct connect_args conn; 89 struct sockaddr_un *Xaddr; 90 int fd, error; 91 caddr_t sg = stackgap_init(); 92 93 /* obtain a socket. */ --- 30 unchanged lines hidden --- |