aboutsummaryrefslogtreecommitdiff
path: root/lib/clang/include/VCSVersion.inc
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2025-08-12 12:14:38 +0000
committerKyle Evans <kevans@FreeBSD.org>2025-08-12 12:30:23 +0000
commitbabab49eee9472f628d774996de13d13d296c8c0 (patch)
treefaeee78c057f324315bcddf8c8fd0ac3e56c1b42 /lib/clang/include/VCSVersion.inc
parent0312f80349eedfc2b0d2f24b4fd073795148d3d5 (diff)
chroot: don't setgroups() without -G having been specifiedHEADmain
We previously would not have setgroups() at all, but now we would drop our supplementary groups every time. This broke chroot -n, probably among other things. We need tests here, but lets unbreak things first. A future change may try to setgroups(2) when -u is specified in addition to -G, so predicate the call on gidlist and don't populate that without a grouplist. PR: 288751 Fixes: 48fd05999b0f ("chroot: don't clobber the egid [...]")
Diffstat (limited to 'lib/clang/include/VCSVersion.inc')
0 files changed, 0 insertions, 0 deletions