hurd compatibility changes
authorMichael Tokarev <mjt@tls.msk.ru>
Thu, 3 Nov 2022 17:49:33 +0000 (20:49 +0300)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 12 Oct 2023 15:37:21 +0000 (16:37 +0100)
commit06b7788bfa8b8cfbaecd13bb744ad46b89019342
tree536f31f225e37d31f0b9ae4073052b0cd56d6412
parent8aa56fa7a67e3e3c198e70f826464f05ed4e6e45
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