Date: Sat, 7 Apr 2001 01:20:03 -0700 (PDT) From: Bruce Evans <bde@zeta.org.au> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/26057: [PATCH] Minor ps(1) fixes Message-ID: <200104070820.f378K3R53066@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/26057; it has been noted by GNATS.
From: Bruce Evans <bde@zeta.org.au>
To: dd@FreeBSD.ORG
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: bin/26057: [PATCH] Minor ps(1) fixes
Date: Sat, 7 Apr 2001 18:13:38 +1000 (EST)
On Fri, 6 Apr 2001 dd@FreeBSD.ORG wrote:
> Synopsis: [PATCH] Minor ps(1) fixes
>
> State-Changed-From-To: open->closed
> State-Changed-By: dd
> State-Changed-When: Fri Apr 6 20:19:09 PDT 2001
> State-Changed-Why:
> ps.c part committed by brian (1.37 of bin/ps/ps.c). I'll update the
> man page later today.
The committed fix is half-baked at best. It does't even remove the
session keyword like the first version of the PR does.
Kirk also removed the tsess pointer and keyword from everywhere except
ps.1, but the PR doesn't mention it. The log message for rev.1.25 of
keyword.c says the following about the removal:
kernel/user interface, specifically rusage and rtprio. It no
longer contains proc, session, pcred, ucred, procsig, vmspace,
pstats, mtx, sigiolst, klist, callout, pasleep, or mdproc. If
any of these changed in size, ps, w, fstat, gcore, systat, and
top would all stop working. The new structure has over 200 bytes
This is incorrect for "session" in ps at least. ps would not have
stopped working if sizeof(struct session) changed, since it just
printed the session pointer.
Bruce
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?200104070820.f378K3R53066>
