disable setuid configure checks
authorMichael Tokarev <mjt@tls.msk.ru>
Fri, 8 Apr 2022 08:50:21 +0000 (11:50 +0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 19 Feb 2024 12:21:14 +0000 (15:21 +0300)
commit0deb2ad01cc53efdfa9f954c3a1d1fe9b78ffd69
treea945cd68045b23de1bf1d51dad31e6adc6ba0a7f
parentfac0a91b7743524e2ffd65f938ac0126391b3fc2
disable setuid configure checks

For some strange reason, when running reprotest test on salsa-ci,
which apparently is running as root, - on the *second* build only
the configure fails (after successfully built package the first
time). The configure test tries to change gid and verifies it
actually changed (not that the syscall exist), - and that fails.
Since it is extremely uncommon to configure the build process as
root, salsa-ci test environment details are quite deep down the line,
and we know the syscall actually works, just disable the probe,
pretending we are not root.

Gbp-Pq: Name disable-setuid-confchecks.patch
source3/lib/util_sec.c