Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: syssrc/sys/sys
Module Name: syssrc
Committed By: jdolecek
Date: Tue Dec 18 22:29:26 UTC 2001
Modified Files:
syssrc/sys/sys: file.h
Log Message:
struct file: bump f_count and f_msgcount to u_int, to protect against
counter overflow. Fixes kern/5080 by David A. Holland.
Also move f_usecount & f_iflags to better place, and make f_type int.
Note: the maximum possible number of references to a struct file is
maxfiles + unp_rights == 2 * INT_MAX
To generate a diff of this commit:
cvs rdiff -r1.30 -r1.31 syssrc/sys/sys/file.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