From nobody@FreeBSD.org  Thu Jul 13 19:11:25 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 4BB8116A4DA
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 13 Jul 2006 19:11:25 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3755243D46
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 13 Jul 2006 19:11:16 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k6DJBGtd007537
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 13 Jul 2006 19:11:16 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k6DJBGgM007536;
	Thu, 13 Jul 2006 19:11:16 GMT
	(envelope-from nobody)
Message-Id: <200607131911.k6DJBGgM007536@www.freebsd.org>
Date: Thu, 13 Jul 2006 19:11:16 GMT
From: Alexey Dvoychenkov <please-don't@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: sysctl(3) description of KERN_PROC is not correct anymore
X-Send-Pr-Version: www-2.3

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 13 19:20:12 GMT 2006
>Closed-Date:    Thu Jul 13 20:11:14 GMT 2006
>Last-Modified:  Thu Jul 13 20:11:14 GMT 2006
>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:
State-Changed-From-To: open->closed 
State-Changed-By: simon 
State-Changed-When: Thu Jul 13 20:10:52 UTC 2006 
State-Changed-Why:  
Duplicate of docs/100242. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=100239 
>Unformatted:
