aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount_umapfs/(public-mirror)
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2025-07-26 06:11:58 +0000
committerKyle Evans <kevans@FreeBSD.org>2025-07-26 06:11:58 +0000
commit1286fd8eccb78e540aae0b03c3a3f6d1865bdb81 (patch)
tree6a1a18a4e24ad7d2f509f4b335e6d63488a98aa3 /sbin/mount_umapfs/(public-mirror)
parent48fd05999b0f8e822fbf7069779378d103a35f5c (diff)
base: do a sweep of setgroups() that mean to clear the supplementariesHEADmain
In the future, this will be beneficial as we move the egid out of the groups list; there's no need to track the egid explicitly in our supplemental groups, and doing so could become a security issue if setgid() would not end up switching groups[0] as it does today and we end up wanting to change our egid. The rwhod diff is a little gratuitious, but I like patterns and setgroups() -> setgid() -> setuid() is a lot more common than setgid() -> setgroups() -> setuid(). This is sweep is not exhaustive and intentionally did not include contrib/, crypto/ or tools/. Reviewed by: olce Differential Revision: https://reviews.freebsd.org/D51510
Diffstat (limited to 'sbin/mount_umapfs/(public-mirror)')
0 files changed, 0 insertions, 0 deletions