diff options
author | wollman <wollman@FreeBSD.org> | 1995-05-11 00:13:26 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1995-05-11 00:13:26 +0000 |
commit | 37660997fe63e18311e879f7d973edfeb03a28f5 (patch) | |
tree | 300274f99668c935a329a2380c568f8de35d4eb3 /sys/kern/uipc_usrreq.c | |
parent | 78ce3864de28cf6df1d35bae1167167384cc0d42 (diff) | |
download | FreeBSD-src-37660997fe63e18311e879f7d973edfeb03a28f5.zip FreeBSD-src-37660997fe63e18311e879f7d973edfeb03a28f5.tar.gz |
Make networking domains drop-ins, through the magic of GNU ld. (Some day,
there may even be LKMs.) Also, change the internal name of `unixdomain'
to `localdomain' since AF_LOCAL is now the preferred name of this family.
Declare netisr correctly and in the right place.
Diffstat (limited to 'sys/kern/uipc_usrreq.c')
-rw-r--r-- | sys/kern/uipc_usrreq.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/uipc_usrreq.c b/sys/kern/uipc_usrreq.c index 41116de..f425526 100644 --- a/sys/kern/uipc_usrreq.c +++ b/sys/kern/uipc_usrreq.c @@ -30,8 +30,8 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#)uipc_usrreq.c 8.3 (Berkeley) 1/4/94 - * $Id: uipc_usrreq.c,v 1.6 1995/02/07 02:01:16 wollman Exp $ + * From: @(#)uipc_usrreq.c 8.3 (Berkeley) 1/4/94 + * $Id: uipc_usrreq.c,v 1.7 1995/02/15 11:30:35 davidg Exp $ */ #include <sys/param.h> @@ -59,7 +59,7 @@ * rethink name space problems * need a proper out-of-band */ -struct sockaddr sun_noname = { sizeof(sun_noname), AF_UNIX }; +struct sockaddr sun_noname = { sizeof(sun_noname), AF_LOCAL }; ino_t unp_ino; /* prototype for fake inode numbers */ /*ARGSUSED*/ @@ -696,7 +696,7 @@ unp_internalize(control, p) } int unp_defer, unp_gcing; -extern struct domain unixdomain; +extern struct domain localdomain; void unp_gc() @@ -729,7 +729,7 @@ unp_gc() if (fp->f_type != DTYPE_SOCKET || (so = (struct socket *)fp->f_data) == 0) continue; - if (so->so_proto->pr_domain != &unixdomain || + if (so->so_proto->pr_domain != &localdomain || (so->so_proto->pr_flags&PR_RIGHTS) == 0) continue; #ifdef notdef |