NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/41426: src/bin/ps.1 still mentions obsoleted `P_STRACE' flag



>Number:         41426
>Category:       misc
>Synopsis:       src/bin/ps.1 still mentions obsoleted `P_STRACE' flag
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 13 21:05:00 +0000 2009
>Originator:     Bug Hunting
>Release:        5.99.11
>Organization:
>Environment:
>Description:
The ps(1) manpage still mentions the `P_SYSTRACE' flag, as a leftover from
its systrace(1)-awareness.  systrace(1), however, has been removed from
NetBSD, and so should this part of the manpage.  (Other
parts about systrace(1)-awareness were already removed from the manpage.)
>How-To-Repeat:
"man 1 ps | less -p'P_SYSTRACE'"
>Fix:
Apply the following patch:

$ cd /usr/src/bin/ps/
$ cvs diff -u ps.1
Index: ps.1
===================================================================
RCS file: /cvsroot/src/bin/ps/ps.1,v
retrieving revision 1.87
diff -u -r1.87 ps.1
--- ps.1        13 Mar 2009 11:13:46 -0000      1.87
+++ ps.1        13 May 2009 20:44:00 -0000
@@ -311,7 +311,6 @@
 .It Dv "P_32" Ta No "0x00040000        32-bit process (used on 64-bit kernels)"
 .It Dv "P_BIGLOCK" Ta No "0x00080000   process needs kernel ``big lock'' to 
run"
 .It Dv "P_INEXEC" Ta No "0x00100000    process is exec'ing and cannot be 
traced"
-.It Dv "P_SYSTRACE" Ta No "0x00200000  process system call tracing active"
 .El
 .It Ar lim
 The soft limit on memory used, specified via a call to



Home | Main Index | Thread Index | Old Index