aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/setgroups.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/setgroups.2')
-rw-r--r--lib/libc/sys/setgroups.26
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libc/sys/setgroups.2 b/lib/libc/sys/setgroups.2
index 1ff68749a57f..cbc3a36b61f4 100644
--- a/lib/libc/sys/setgroups.2
+++ b/lib/libc/sys/setgroups.2
@@ -71,6 +71,12 @@ system call will fail if:
.Bl -tag -width Er
.It Bq Er EPERM
The caller is not the super-user.
+.It Bq Er EINVAL
+The number specified in the
+.Fa ngroups
+argument is larger than the
+.Dv NGROUPS
+limit.
.It Bq Er EFAULT
The address specified for
.Fa gidset