CVSROOT: /cvs Module name: src Changes by: [email protected] 2010/07/01 11:31:22
Modified files:
sys/kern : vfs_syscalls.c
Log message:
Return EINVAL if the file position is greater than LONG_MAX, since
otherwise truncation will occur on archs where LONG LONG and LONG
are not the same.
Noticed at n2k10. Error return suggested by dera...@.
ok beck@ millert@ deraadt@ guenther@
