diff options
author | dds <dds@FreeBSD.org> | 2003-11-19 13:05:50 +0000 |
---|---|---|
committer | dds <dds@FreeBSD.org> | 2003-11-19 13:05:50 +0000 |
commit | 3a434d321203a61ed371a677729d5ecd743d18ce (patch) | |
tree | e3780b11da007a0c39aa0bda83f26d1cb620d81b /lib | |
parent | 9015041e23b62f30707901f2da224f8864da78af (diff) | |
download | FreeBSD-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')
-rw-r--r-- | lib/libc/sys/setgroups.2 | 6 |
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 |