Page MenuHomeFreeBSD

tests/unix_seqpacket: provide function that returns bound & listening sock
ClosedPublic

Authored by glebius on Feb 12 2024, 7:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 22, 9:06 AM
Unknown Object (File)
Tue, Oct 22, 9:06 AM
Unknown Object (File)
Tue, Oct 22, 9:06 AM
Unknown Object (File)
Tue, Oct 22, 9:06 AM
Unknown Object (File)
Tue, Oct 22, 8:56 AM
Unknown Object (File)
Mon, Oct 21, 2:20 AM
Unknown Object (File)
Mon, Oct 21, 2:20 AM
Unknown Object (File)
Mon, Oct 21, 2:20 AM
Subscribers

Details

Summary

Use the function in mk_pair_of_sockets(), and in two tests -
'listen_bound' and 'connect'. While here make mk_pair_of_sockets() return
pointer to sockaddr_un instead of path. This also fixes bug of returning
pointer to stack memory of returning function. However, the only caller
that cares about this return is temporarily ifdefed out. No functional
changes intended.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 55968
Build 52857: arc lint + arc unit