Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



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.




Home | Main Index | Thread Index | Old Index