Subject: kern/2024: out of date man page
To: None <gnats-bugs@NetBSD.ORG>
From: John M Vinopal <banshee@gabriella.resort.com>
List: netbsd-bugs
Date: 02/04/1996 23:14:36
>Number:         2024
>Category:       kern
>Synopsis:       out of date man page
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb  5 03:50:04 1996
>Last-Modified:
>Originator:     John M Vinopal
>Organization:
The Wailer at the Gates of Dawn            /   banshee@resort.com          |
Just who ARE you calling a FROOFROO Head? /                                |
DoD#0667  "Just a friend of the beast."  | http://www.resort.com/~banshee/ |
2,3,5,7,13,17,19,31,61,89,107,127,521,607....\      Port and Absinthe      |
>Release:        1.1
>Environment:
System: NetBSD gabriella.resort.com 1.1A NetBSD 1.1A (GABRIELLA-NCR) #0: Sun Feb 4 16:16:19 PST 1996 banshee@gabriella.resort.com:/usr/local/NetBSD/src/sys/arch/i386/compile/GABRIELLA-NCR i386


>Description:
	kvm_getprocs() man page is way out of date.  It lists missing include
files and presents non-existant variables.  While the diffs below cover the
worst of the errors, someone familiar with this code should check the man page.

>How-To-Repeat:
>Fix:

*** foo.3	Sun Feb  4 23:10:17 1996
--- kvm_getprocs.3	Sun Feb  4 23:10:59 1996
***************
*** 45,52 ****
  .Nd access user process state
  .Sh SYNOPSIS
  .Fd #include <kvm.h>
! .Fd #include <sys/kinfo.h>
! .Fd #include <sys/kinfo_proc.h>
  .\" .Fa kvm_t *kd
  .br
  .Ft struct kinfo_proc *
--- 45,51 ----
  .Nd access user process state
  .Sh SYNOPSIS
  .Fd #include <kvm.h>
! .Fd #include <sys/sysctl.h>
  .\" .Fa kvm_t *kd
  .br
  .Ft struct kinfo_proc *
***************
*** 69,92 ****
  describes the filtering predicate as follows:
  .Pp
  .Bl -tag -width 20n -offset indent -compact
! .It Sy KINFO_PROC_ALL
  all processes
! .It Sy KINFO_PROC_PID
  processes with process id 
  .Fa arg
! .It Sy KINFO_PROC_PGRP
  processes with process group
  .Fa arg
! .It Sy KINFO_PROC_SESSION
  processes with session
  .Fa arg
! .It Sy KINFO_PROC_TTY
  processes with tty
  .Fa arg
! .It Sy KINFO_PROC_UID
  processes with effective user id
  .Fa arg
! .It Sy KINFO_PROC_RUID
  processes with real user id
  .Fa arg
  .El
--- 68,91 ----
  describes the filtering predicate as follows:
  .Pp
  .Bl -tag -width 20n -offset indent -compact
! .It Sy KERN_PROC_ALL
  all processes
! .It Sy KERN_PROC_PID
  processes with process id 
  .Fa arg
! .It Sy KERN_PROC_PGRP
  processes with process group
  .Fa arg
! .It Sy KERN_PROC_SESSION
  processes with session
  .Fa arg
! .It Sy KERN_PROC_TTY
  processes with tty
  .Fa arg
! .It Sy KERN_PROC_UID
  processes with effective user id
  .Fa arg
! .It Sy KERN_PROC_RUID
  processes with real user id
  .Fa arg
  .El
>Audit-Trail:
>Unformatted: