add pmax
[unix-history] / usr / src / sys / kern / uipc_proto.c
index 73a9929..7287d8d 100644 (file)
@@ -1,10 +1,17 @@
-/*     uipc_proto.c    6.2     84/08/21        */
+/*-
+ * Copyright (c) 1982, 1986 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * %sccs.include.redist.c%
+ *
+ *     @(#)uipc_proto.c        7.6 (Berkeley) %G%
+ */
 
 
-#include "../h/param.h"
-#include "../h/socket.h"
-#include "../h/protosw.h"
-#include "../h/domain.h"
-#include "../h/mbuf.h"
+#include "param.h"
+#include "socket.h"
+#include "protosw.h"
+#include "domain.h"
+#include "mbuf.h"
 
 /*
  * Definitions of protocols supported in the UNIX domain.
 
 /*
  * Definitions of protocols supported in the UNIX domain.
@@ -15,7 +22,7 @@ int   raw_init(),raw_usrreq(),raw_input(),raw_ctlinput();
 extern struct domain unixdomain;               /* or at least forward */
 
 struct protosw unixsw[] = {
 extern struct domain unixdomain;               /* or at least forward */
 
 struct protosw unixsw[] = {
-{ SOCK_STREAM, &unixdomain,    0,              PR_CONNREQUIRED|PR_WANTRCVD,
+{ SOCK_STREAM, &unixdomain,    0,      PR_CONNREQUIRED|PR_WANTRCVD|PR_RIGHTS,
   0,           0,              0,              0,
   uipc_usrreq,
   0,           0,              0,              0,
   0,           0,              0,              0,
   uipc_usrreq,
   0,           0,              0,              0,