Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern add PR_LISTEN for UNIX domain socket, SOCK_STREAM c...



details:   https://anonhg.NetBSD.org/src/rev/93565cc4759d
branches:  trunk
changeset: 474193:93565cc4759d
user:      itojun <itojun%NetBSD.org@localhost>
date:      Thu Jul 01 07:59:57 1999 +0000

description:
add PR_LISTEN for UNIX domain socket, SOCK_STREAM case.

diffstat:

 sys/kern/uipc_proto.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 66320d83bf0b -r 93565cc4759d sys/kern/uipc_proto.c
--- a/sys/kern/uipc_proto.c     Thu Jul 01 07:00:12 1999 +0000
+++ b/sys/kern/uipc_proto.c     Thu Jul 01 07:59:57 1999 +0000
@@ -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,



Home | Main Index | Thread Index | Old Index