Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Sep 2007 02:21:40 GMT
From:      Ighighi <ighighi@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/116480: sysctl(3) description of kern.file no longer applies since 5.0
Message-ID:  <200709200221.l8K2LeaX033008@www.freebsd.org>
Resent-Message-ID: <200709200230.l8K2U1WU079652@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709200221.l8K2LeaX033008>