Page MenuHomeFreeBSD

unix: make unp_connect2() void
ClosedPublic

Authored by glebius on Thu, May 12, 7:25 PM.

Details

Summary

Assert that sockets are of the same type. unp_connectat() already did
this check. Add the check to uipc_connect2().

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.