cvs commit: src/sys/kern kern_descrip.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Tue Jun 21 11:12:28 PDT 2005
dillon 2005/06/21 11:12:16 PDT
DragonFly src repository
Modified files: (Branch: DragonFly_RELEASE_1_2)
sys/kern kern_descrip.c
Log:
struct filedesc contains u_short fields which limits us to 65535 descriptors
per process. Since we cannot change any system structures in a release,
we must enforce the 65535 descriptor limit to avoid incorrect operation
(lost descriptors and memory leaks).
Related-to: fix in sys/filedesc.h 1.9 to increase fields from 16 to 32 bits.
Revision Changes Path
1.39.2.1 +5 -0 src/sys/kern/kern_descrip.c
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_descrip.c.diff?r1=1.39&r2=1.39.2.1&f=u
More information about the Commits
mailing list