diff options
author | Matthew Dempsky <matthew@cvs.openbsd.org> | 2011-07-06 06:31:39 +0000 |
---|---|---|
committer | Matthew Dempsky <matthew@cvs.openbsd.org> | 2011-07-06 06:31:39 +0000 |
commit | c06c77b97201065f28ea4812b948f8c5fed08d0b (patch) | |
tree | 1cdbe31f849595a1ca6b77ab83cdda1d6f81c6dd /sys/kern/uipc_proto.c | |
parent | 2f77107f85bab09e308072c4ba9364a7d9965af6 (diff) |
Implement SOCK_SEQPACKET for UNIX sockets.
ok claudio@
Diffstat (limited to 'sys/kern/uipc_proto.c')
-rw-r--r-- | sys/kern/uipc_proto.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/kern/uipc_proto.c b/sys/kern/uipc_proto.c index 7619f070623..6c99536f6ed 100644 --- a/sys/kern/uipc_proto.c +++ b/sys/kern/uipc_proto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uipc_proto.c,v 1.5 2011/04/05 19:54:36 jasper Exp $ */ +/* $OpenBSD: uipc_proto.c,v 1.6 2011/07/06 06:31:38 matthew Exp $ */ /* $NetBSD: uipc_proto.c,v 1.8 1996/02/13 21:10:47 christos Exp $ */ /*- @@ -55,6 +55,11 @@ struct protosw unixsw[] = { uipc_usrreq, 0, 0, 0, 0, }, +{ SOCK_SEQPACKET,&unixdomain, PF_LOCAL, PR_ATOMIC|PR_CONNREQUIRED|PR_WANTRCVD|PR_RIGHTS, + 0, 0, 0, 0, + uipc_usrreq, + 0, 0, 0, 0, +}, { SOCK_DGRAM, &unixdomain, PF_LOCAL, PR_ATOMIC|PR_ADDR|PR_RIGHTS, 0, 0, 0, 0, uipc_usrreq, |