Documented missing EINVAL errno value

kern_prot.c:
if (ngrp > NGROUPS)
	return (EINVAL);

MFC after:	2 weeks
This commit is contained in:
dds 2003-11-19 13:05:50 +00:00
parent 9015041e23
commit 3a434d3212

View File

@ -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