diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-06-26 22:44:30 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-06-26 23:51:52 +0200 |
commit | b9ca3f3efb4659cadf4b0b81308ce9d45de61e0b (patch) | |
tree | adfc5d80a84fada612b6004c70e56c7dbb36b8dd /abi-tags | |
parent | 4fdd4d41a17dda26c854ed935658154a17d4b906 (diff) | |
download | glibc-b9ca3f3efb4659cadf4b0b81308ce9d45de61e0b.tar glibc-b9ca3f3efb4659cadf4b0b81308ce9d45de61e0b.tar.gz glibc-b9ca3f3efb4659cadf4b0b81308ce9d45de61e0b.tar.bz2 glibc-b9ca3f3efb4659cadf4b0b81308ce9d45de61e0b.zip |
tst-cancel4-common.c: fix calling socketpair
PF_UNIX was actually never intended to be passed as protocol parameter to
socket() calls: it is a protocol family, not a protocol. It happens that
Linux introduced accepting it during its 2.0 development, but it shouldn't.
OpenBSD kernels accept it as well, but FreeBSD and NetBSD rightfully do not.
GNU/Hurd does not either.
* nptl/tst-cancel4-common.c (do_test): Pass 0 instead of PF_UNIX as
protocol.
Diffstat (limited to 'abi-tags')
0 files changed, 0 insertions, 0 deletions