Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: YAMAMOTO Takashi <yamt@netbsd.org>
List: source-changes
Date: 07/14/2006 18:30:35
Module Name:	src
Committed By:	yamt
Date:		Fri Jul 14 18:30:35 UTC 2006

Modified Files:
	src/sys/kern: vfs_syscalls.c
	src/sys/sys: fstypes.h

Log Message:
introduce filehandle size limits:

- FHANDLE_SIZE_MAX: refuse unreasonable size allocation, esp. when
  it's a user-specified value.

- FHANDLE_SIZE_MIN: pad small filehandles with zero for compatibility.
  XXX it might be better to push this into filesystem dependent code so that
  new filesystems can choose smaller handles.


To generate a diff of this commit:
cvs rdiff -r1.249 -r1.250 src/sys/kern/vfs_syscalls.c
cvs rdiff -r1.11 -r1.12 src/sys/sys/fstypes.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.