Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jul 2006 19:11:16 GMT
From:      Alexey Dvoychenkov <please-don't@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/100239: sysctl(3) description of KERN_PROC is not correct anymore
Message-ID:  <200607131911.k6DJBGgM007536@www.freebsd.org>
Resent-Message-ID: <200607131920.k6DJKC5s004268@freefall.freebsd.org>

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

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



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