Documented missing EINVAL errno value

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

MFC after:	2 weeks
This commit is contained in:
Diomidis Spinellis 2003-11-19 13:05:50 +00:00
parent 3193579b66
commit 988d4dc315
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=122895

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