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>
Tue, 10 Oct 2023 19:33:32 +0000 (20:33 +0100)
commitc579d26e6512cd693a36ac4785c69558f9cdf0cf
treea8be0791db4a9f07268eb909054005774115fa5a
parente5550cbf364f8dc85d09b61dc65a25521eae63da
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