It's not specified what AF_UNIX 'raw' sockets mean anyway. FreeBSD and 
NetBSD have removed this entry in unixsw[], so it's clear it's not being 
used in the ecosystem, so let's kill it too.

ok?

Philip Guenther

Index: kern/uipc_proto.c
===================================================================
RCS file: /data/src/openbsd/src/sys/kern/uipc_proto.c,v
retrieving revision 1.10
diff -u -p -r1.10 uipc_proto.c
--- kern/uipc_proto.c   23 Jan 2017 16:31:24 -0000      1.10
+++ kern/uipc_proto.c   4 Feb 2017 20:19:28 -0000
@@ -64,11 +64,6 @@ struct protosw unixsw[] = {
   uipc_usrreq,
   0,           0,              0,              0,
 },
-{ 0,           0,              0,              0,
-  0,           0,              0,              0,
-  raw_usrreq,
-  raw_init,    0,              0,              0,
-}
 };
 
 struct domain unixdomain =

Reply via email to