From 9765602d90691610d9a664d382721284a2a84a47 Mon Sep 17 00:00:00 2001 From: itojun Date: Thu, 1 Jul 1999 07:59:57 +0000 Subject: [PATCH] add PR_LISTEN for UNIX domain socket, SOCK_STREAM case. --- sys/kern/uipc_proto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/uipc_proto.c b/sys/kern/uipc_proto.c index c6393ec92b99..5b9b2c22042b 100644 --- a/sys/kern/uipc_proto.c +++ b/sys/kern/uipc_proto.c @@ -1,4 +1,4 @@ -/* $NetBSD: uipc_proto.c,v 1.11 1998/07/18 05:04:37 lukem Exp $ */ +/* $NetBSD: uipc_proto.c,v 1.12 1999/07/01 07:59:57 itojun Exp $ */ /*- * Copyright (c) 1982, 1986, 1993 @@ -53,7 +53,7 @@ extern struct domain unixdomain; /* or at least forward */ struct protosw unixsw[] = { -{ SOCK_STREAM, &unixdomain, 0, PR_CONNREQUIRED|PR_WANTRCVD|PR_RIGHTS, +{ SOCK_STREAM, &unixdomain, 0, PR_CONNREQUIRED|PR_WANTRCVD|PR_RIGHTS|PR_LISTEN, 0, 0, 0, uipc_ctloutput, uipc_usrreq, 0, 0, 0, 0,