Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 2002 08:53:12 -0500 (EST)
From:      Ken Stailey <kstailey@bsdlab.tf-md.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/46232: ps(1) re an sl fields are broken
Message-ID:  <200212131353.gBDDrCRa017361@bsdlab.tf-md.net>

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

>Number:         46232
>Category:       bin
>Synopsis:       ps(1) re an sl fields are broken
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 13 06:00:13 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Ken Stailey
>Release:        FreeBSD 5.0-RC i386
>Organization:
Thomson Financial
>Environment:
System: FreeBSD bsdlab.tf-md.net 5.0-RC FreeBSD 5.0-RC #0: Wed Dec 11 07:53:15 EST 2002 kstailey@bsdlab.tf-md.net:/usr/obj/usr/src/sys/BSDLAB i386


>Description:

4.3BSD's ps(1) RE and SL fields could not count higher than 99 on purpose.
4.4BSD's ps(1) RE and SL fields are not supposed to count higher than 127
on purpose but the CSRG did not have time to fix this if I look at
static char sccsid[] = "@(#)keyword.c   8.5 (Berkeley) 4/2/94";
on my _CSRG Archives_ CD-ROM set.

I submitted patches into NetBSD and somebody wrote improved versions.
OpenBSD forked with those patches built-in.
Now only FreeBSD is broken.

>How-To-Repeat:

ps vax

(system must be booted for more than 127 seconds)

>Fix:

begin 644 ps.patch.current.gz
M'XL("+OD^3T``W!S+G!A=&-H+F-U<G)E;G0`O5;;<N)&$'V6OJ*+5+P2"$L"
MC!RYO/'&B[W$!+NXO.2%DJ61F2`D:C0"DXW_/3TC+O("6:BD0E&,---]^C+=
M?>C=]B&D$7'!'"=38L;^/#53YIO/-#9GJ3DART7"@G/?F*N,<$;)G,8OP'!)
M:1*#?7YQJ08T#*&:096)5]CHJ-5J=?NFU"RK9M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KQ-_^WLIK.BJ1GQ7JU:@KR!T0DY.`%?V0I1YJ`)..S
MC(/&F4<CX>ISY,635!=$L8$0W"X0&A(A)B1((4L)0[IGF<\S1MZ)?^ZW?Q?B
MEU(\I"0*(*5_$L%,P3+VIM0OTE!^>:A@6U)!4,PUT!@/*5^Z0,.<E(R<7\7C
MN;2GR(Y4!$?)`I7:JX`8K@)<RHDJ0&I*9BSQ=2UW&B9H(8&RL0H"\%\1D;/A
+2OT;#:US["X,````
`
end
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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