docs/100239: sysctl(3) description of KERN_PROC is not correct anymore

Alexey Dvoychenkov please-don't at FreeBSD.org
Thu Jul 13 19:20:25 UTC 2006


>Number:         100239
>Category:       docs
>Synopsis:       sysctl(3) description of KERN_PROC is not correct anymore
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 13 19:20:12 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Alexey Dvoychenkov
>Release:        6.0
>Organization:
>Environment:
>Description:
Manual page says:

---
     KERN_PROC
             Return selected information about specific running processes.

             For the following names, an array of pairs of struct proc fol-
             lowed by corresponding struct eproc structures is returned, whose
             size depends on the current number of such objects in the system.
---

I believe that this is no longer the case.

First off, as far as I understand it, 'struct eproc' is gone. Second problem is that this sysctl doesn't return any pairs,

What it actually returns is an array of 'struct kinfo_proc'.






>How-To-Repeat:

>Fix:

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



More information about the freebsd-doc mailing list