Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Nov 2004 23:58:44 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        "Christian S.J. Peron" <csjp@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/bin/ps ps.c
Message-ID:  <20041114225844.GS8120@darkness.comp.waw.pl>
In-Reply-To: <200411141930.iAEJU2I1007666@repoman.freebsd.org>
References:  <200411141930.iAEJU2I1007666@repoman.freebsd.org>

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

[-- Attachment #1 --]
On Sun, Nov 14, 2004 at 07:30:02PM +0000, 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.

-- 
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd@FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBl+MkForvXbEpPzQRAvXuAKDI8u3i7hfPBy+1nI0hLSA8DEhX0gCgojXG
ysmCdBRpoG7irr+j2eKkNOc=
=gpCV
-----END PGP SIGNATURE-----

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