summaryrefslogtreecommitdiff
path: root/test/sys/test_pthread.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-11-21 17:26:56 +0000
committerGitHub <noreply@github.com>2022-11-21 17:26:56 +0000
commit9ea1493a813bf49a493a4528640f036b9dbcc7d8 (patch)
tree04cd3f870d4efda024756e8e772937d6fd1cca53 /test/sys/test_pthread.rs
parent8d279853dc3c306e8d0d14d5476cdf787c297db1 (diff)
parentfa62534a238c86334d41bc1da68267388cda9b36 (diff)
downloadnix-9ea1493a813bf49a493a4528640f036b9dbcc7d8.zip
Merge #1871
1871: Fix using SockaddrStorage to store Unix domain addresses on Linux r=rtzoeller a=asomers Since it has variable length, the user of a sockaddr_un must keep track of its true length. On the BSDs, this is handled by the builtin sun_len field. But on Linux-like operating systems it isn't. Fix this bug by explicitly tracking it for SockaddrStorage just like we already do for UnixAddr. Fixes #1866 Co-authored-by: Alan Somers <asomers@gmail.com>
Diffstat (limited to 'test/sys/test_pthread.rs')
0 files changed, 0 insertions, 0 deletions