From nobody@FreeBSD.org  Thu Jul 13 19:31:27 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 72F4016A4DA
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 13 Jul 2006 19:31:27 +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 4101E43D5F
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 13 Jul 2006 19:31:27 +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 k6DJVRUZ014262
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 13 Jul 2006 19:31:27 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k6DJVRC1014261;
	Thu, 13 Jul 2006 19:31:27 GMT
	(envelope-from nobody)
Message-Id: <200607131931.k6DJVRC1014261@www.freebsd.org>
Date: Thu, 13 Jul 2006 19:31:27 GMT
From: Alexey Dvoychenkov <keriax@gmail.com>
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:         100242
>Category:       docs
>Synopsis:       sysctl(3) description of KERN_PROC is not correct anymore
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    trhodes
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 13 19:40:17 GMT 2006
>Closed-Date:    Sat Jul 21 15:44:27 UTC 2012
>Last-Modified:  Sat Jul 21 15:44:27 UTC 2012
>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->patched 
State-Changed-By: trhodes 
State-Changed-When: Wed Jan 28 15:21:56 UTC 2009 
State-Changed-Why:  
Patched in CURRENT, thanks! 


Responsible-Changed-From-To: freebsd-doc->trhodes 
Responsible-Changed-By: trhodes 
Responsible-Changed-When: Wed Jan 28 15:21:56 UTC 2009 
Responsible-Changed-Why:  
Over to me. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=100242 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/100242: commit references a PR
Date: Wed, 28 Jan 2009 15:22:03 +0000 (UTC)

 Author: trhodes
 Date: Wed Jan 28 15:21:38 2009
 New Revision: 187824
 URL: http://svn.freebsd.org/changeset/base/187824
 
 Log:
   Update the description of KERN_PROC.
   
   PR:		100242
   Reviewed by:	jhb
 
 Modified:
   head/lib/libc/gen/sysctl.3
 
 Modified: head/lib/libc/gen/sysctl.3
 ==============================================================================
 --- head/lib/libc/gen/sysctl.3	Wed Jan 28 14:38:41 2009	(r187823)
 +++ head/lib/libc/gen/sysctl.3	Wed Jan 28 15:21:38 2009	(r187824)
 @@ -28,7 +28,7 @@
  .\"	@(#)sysctl.3	8.4 (Berkeley) 5/9/95
  .\" $FreeBSD$
  .\"
 -.Dd March 27, 2008
 +.Dd January 28, 2009
  .Dt SYSCTL 3
  .Os
  .Sh NAME
 @@ -440,10 +440,8 @@ attempts to comply.
  .It Li KERN_PROC
  Return selected information about specific running processes.
  .Pp
 -For the following names, an array of pairs of
 -.Va struct proc
 -followed by corresponding
 -.Va struct eproc
 +For the following names, an array of
 +.Va struct kinfo_proc
  structures is returned,
  whose size depends on the current number of such objects in the system.
  .Bl -column "Third level nameXXXXXX" "Fourth level is:XXXXXX" -offset indent
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: trhodes 
State-Changed-When: Sat Jul 21 15:44:03 UTC 2012 
State-Changed-Why:  
Changes have been merged for awhile now, thanks. 

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