bytecodealliance / rustix

Safe Rust bindings to POSIX-ish APIs
Other
1.46k stars 152 forks source link

Add warning comment to `setgroups`. #1037

Closed sunfishcode closed 6 months ago

sunfishcode commented 6 months ago

Similar to the other set functions, this function only changes per-thread state, so add a similar warning that this is different from the libc function.