hurd compatibility changes
authorMichael Tokarev <mjt@tls.msk.ru>
Thu, 3 Nov 2022 17:49:33 +0000 (20:49 +0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 6 Mar 2025 21:02:26 +0000 (00:02 +0300)
commita4e23f78d7841e5cb4e1b201f4ea8c6861c7e5d7
treecc7b6bdf895f519e6a139c6ba84df1d1ed40f67f
parentee02e1b2ee8ed060bc271e641b8741200041b1d3
hurd compatibility changes

Hurd does not define PIPE_BUF, so lib/tevent/testsuite.c fails to compile
(yes, this file is used as part of *samba* testsuite, not tevent testsuite).
Define it to a safe minimal value like 512 bytes.

Hurd does not provide SA_NOCLDWAIT define, so lib/util/tests/tfork.c does
not compile. This is only needed during testing to omit zombie process
generation, which has only cosmetic effect.  Define it to be 0.

Based on prior work and ideas by Samuel Thibault.

Gbp-Pq: Name hurd-compat.patch
lib/tevent/testsuite.c
lib/util/tests/tfork.c