DragonFly BSD
DragonFly commits List (threaded) for 2005-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/kern kern_descrip.c

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 2 Feb 2005 12:36:09 -0800 (PST)

dillon      2005/02/02 12:36:09 PST

DragonFly src repository

  Modified files:
    sys/kern             kern_descrip.c 
  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@xxxxxxxxxxxx>
  Revision  Changes    Path
  1.39      +30 -16    src/sys/kern/kern_descrip.c


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