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
F144761864: D43852.id134226.diff
Thu, Feb 12, 6:59 AM
Unknown Object (File)
Sun, Feb 8, 3:12 PM
Unknown Object (File)
Sun, Feb 8, 2:28 PM
Unknown Object (File)
Sat, Feb 7, 11:24 PM
Unknown Object (File)
Sat, Jan 31, 4:39 AM
Unknown Object (File)
Mon, Jan 26, 2:47 AM
Unknown Object (File)
Sun, Jan 25, 1:21 AM
Unknown Object (File)
Wed, Jan 14, 5:57 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