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, 2 Sep 2024 14:48:34 +0000 (17:48 +0300)
commit7ab9d98e62a1307dc8dde5953910ced66f029f64
tree43678c5825b00b229d9c2a9b6753436efaf6bc05
parentae8323ecaca18ba5833b1bdec56d041bd0b9aa40
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