1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-22 08:25:08 +00:00
Commit graph

1 commit

Author SHA1 Message Date
Andreas Kling
9eeee24a39 Kernel+LibC: Enforce a limit on the number of supplementary group IDs
This patch adds the NGROUPS_MAX constant and enforces it in
sys$setgroups() to ensure that no process has more than 32 supplementary
group IDs.

The number doesn't mean anything in particular, just had to pick a
number. Perhaps one day we'll have a reason to change it.
2022-08-20 22:39:56 +02:00