Supply the pr_ctloutput method for local datagram sockets,
so that setsockopt() and getsockopt() work on them. This makes 'tools/regression/sockets/unix_cmsg -t dgram' more successful.
This commit is contained in:
parent
ecbb462c38
commit
aaf6343576
@ -306,6 +306,7 @@ static struct protosw localsw[] = {
|
||||
.pr_type = SOCK_DGRAM,
|
||||
.pr_domain = &localdomain,
|
||||
.pr_flags = PR_ATOMIC|PR_ADDR|PR_RIGHTS,
|
||||
.pr_ctloutput = &uipc_ctloutput,
|
||||
.pr_usrreqs = &uipc_usrreqs_dgram
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user