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>
Fri, 18 Apr 2025 10:02:55 +0000 (13:02 +0300)
commitcb7cefc350bb54e351b6a02f7fd118550a3fe26d
treed53b095f61255b34ebc599c1b86a4585e6624e4c
parenta95f68352de8a710af466c06ffd60ab5533080fd
disable setuid configure checks

Forwarded: not-needed

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.

For upstream, this probably should be done by removing a *lot* of
configure-time checks which are useless these days.

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