docs/116480: sysctl(3) description of kern.file no longer applies since 5.0

Ighighi ighighi at gmail.com
Thu Sep 20 02:30:02 UTC 2007


>Number:         116480
>Category:       docs
>Synopsis:       sysctl(3) description of kern.file no longer applies since 5.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 20 02:30:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Ighighi
>Release:        6.2-STABLE
>Organization:
>Environment:
FreeBSD orion 6.2-STABLE FreeBSD 6.2-STABLE #0: Tue Sep 18 04:58:38 VET 2007     root at orion:/usr/obj/usr/src/sys/CUSTOM  i386
>Description:
Quoting sysctl(3):
KERN_FILE
        Return the entire file table.  The returned data consists of a
        single struct filehead followed by an array of struct file, whose
        size depends on the current number of such objects in the system.

This is no longer the case since 5.0.  The entire file table is an array of
"struct xfile" structures (defined in <sys/file.h>).
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list