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>
Mon, 8 Jul 2024 13:40:49 +0000 (16:40 +0300)
commit0ca7edff7d4a2b25151c3d84da85da84ca40aa57
tree1ecdfbc0788b8e92cba10eb87b6334e9327368a7
parent5521a68480498caa12bdd445e3a59ce77a7563b8
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