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)
Sat, Jun 8, 11:13 AM
Unknown Object (File)
May 13 2024, 10:24 AM
Unknown Object (File)
May 12 2024, 6:53 PM
Unknown Object (File)
May 12 2024, 6:51 PM
Unknown Object (File)
May 12 2024, 6:05 PM
Unknown Object (File)
May 12 2024, 6:00 PM
Unknown Object (File)
Apr 23 2024, 3:44 AM
Unknown Object (File)
Apr 23 2024, 2:59 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 Not Applicable
Unit
Tests Not Applicable