cvs commit: src/sys/kern kern_descrip.c

看板DFBSD_commit作者時間21年前 (2005/02/03 05:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
dillon 2005/02/02 12:36:09 PST DragonFly src repository Modified files: sys/kern kern_descrip.c Log: Fix a hard-to-find bugaboo in the struct file list sysctl. The code was not properly calculating the required buffer size because it was ignoring the fact that descriptor tables are shared between threaded processes. Simply adding fp->f_count for the fp's in the filehead list doesn't do the job if a system is running threaded processes. Reported-by: "Erik P. Skaalerud" <erik@pentadon.com> Revision Changes Path 1.39 +30 -16 src/sys/kern/kern_descrip.c http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_descrip.c.diff?r1=1.38&r2=1.39&f=u
文章代碼(AID): #120J-M00 (DFBSD_commit)
文章代碼(AID): #120J-M00 (DFBSD_commit)