CVSROOT: /cvs Module name: src Changes by: [email protected] 2019/07/09 06:23:25
Modified files:
sys/kern : kern_prot.c
Log message:
The system calls getgroups(2) and setgroups(2) pass the number of
groups as signed int. Do not use unsigned int within the kernel
for length calculations. Now getgroups(2) fails with EINVAL if
called with negative length value.
from Moritz Buhl; OK millert@
