summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authordds <dds@FreeBSD.org>2003-11-19 13:05:50 +0000
committerdds <dds@FreeBSD.org>2003-11-19 13:05:50 +0000
commit3a434d321203a61ed371a677729d5ecd743d18ce (patch)
treee3780b11da007a0c39aa0bda83f26d1cb620d81b /lib/libc
parent9015041e23b62f30707901f2da224f8864da78af (diff)
downloadFreeBSD-src-3a434d321203a61ed371a677729d5ecd743d18ce.zip
FreeBSD-src-3a434d321203a61ed371a677729d5ecd743d18ce.tar.gz
Documented missing EINVAL errno value
kern_prot.c: if (ngrp > NGROUPS) return (EINVAL); MFC after: 2 weeks
Diffstat (limited to 'lib/libc')
-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 1ff6874..cbc3a36 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
OpenPOWER on IntegriCloud