summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2006-04-09 16:29:47 +0000
committerrwatson <rwatson@FreeBSD.org>2006-04-09 16:29:47 +0000
commita7901a2d9c1eb64a943e9fb8460fab9c713999a3 (patch)
tree04ccbda288101ab51eca0bbf4933b6493c4715d3 /sys/kern
parent9668c15c6515c28d2e7e9c531a4fc62c380b7872 (diff)
downloadFreeBSD-src-a7901a2d9c1eb64a943e9fb8460fab9c713999a3.zip
FreeBSD-src-a7901a2d9c1eb64a943e9fb8460fab9c713999a3.tar.gz
Remove UNIX domain socket raw socket support. This feature is documented
as being undocumented in Stevens, and was broken in 1997 during network stack infrastructure work. It is the one remaining (and incorrect) direct protocol reference to raw_usrreq.pru_attach; this is incorrect because the raw socket code assumes that raw_uattach is called only after the protocol has allocated a PCB. MFC after: 3 months
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/uipc_proto.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/kern/uipc_proto.c b/sys/kern/uipc_proto.c
index d15e993..400a4ce 100644
--- a/sys/kern/uipc_proto.c
+++ b/sys/kern/uipc_proto.c
@@ -61,11 +61,6 @@ static struct protosw localsw[] = {
.pr_flags = PR_ATOMIC|PR_ADDR|PR_RIGHTS,
.pr_usrreqs = &uipc_usrreqs
},
-{
- .pr_ctlinput = raw_ctlinput,
- .pr_init = raw_init,
- .pr_usrreqs = &raw_usrreqs
-}
};
struct domain localdomain = {
OpenPOWER on IntegriCloud