cvs commit: src/bin/ps ps.c

Garance A Drosihn drosih at rpi.edu
Sun Nov 14 23:33:36 GMT 2004


At 11:58 PM +0100 11/14/04, Pawel Jakub Dawidek wrote:
>On Sun, Nov 14, 2004, Christian S.J. Peron wrote:
>+> csjp        2004-11-14 19:30:02 UTC
>+>
>+>   FreeBSD src repository
>+>
>+>   Modified files:
>+>     bin/ps               ps.c
>+>   Log:
>+>   Currently if the user specifies -e and procfs is not mounted on
>+>   /proc, printing of the process environment will fail silently.
>+>
>+>   -define a function which will check to see if procfs is mounted
>+>    on /proc
>+>   -Implement this test if the user specified -e
>+>   -If procfs is not mounted on /proc and -e was specified, print
>+>    a warning informing the user that procfs(5) is required.
>
>Hmm, I think I've a fix somewhere to get environment variables
>not from procfs... Ah yes, p4:pjd_ps-e.

I believe you also had a PR which has that change in it.  I noticed
that in July (based on a message tjr sent to -current), and intended
to do something about it after 5.3-release was finalized.  Which I
guess would mean I should look at it sometime soon...

Looks like the PR is:
http://www.FreeBSD.org/cgi/query-pr.cgi?pr=kern/54604

-- 
Garance Alistair Drosehn            =   gad at gilead.netel.rpi.edu
Senior Systems Programmer           or  gad at freebsd.org
Rensselaer Polytechnic Institute    or  drosih at rpi.edu


More information about the cvs-src mailing list