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

--UaNe/QI5+zQ8JiGR
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Nov 14, 2004 at 07:30:02PM +0000, Christian S.J. Peron wrote:
+> csjp        2004-11-14 19:30:02 UTC
+>=20
+>   FreeBSD src repository
+>=20
+>   Modified files:
+>     bin/ps               ps.c=20
+>   Log:
+>   Currently if the user specifies -e and procfs is not mounted on /proc,
+>   printing of the process environment will fail silently.
+>  =20
+>   -define a function which will check to see if procfs is mounted on /pr=
oc
+>   -Implement this test if the user specified -e
+>   -If procfs is not mounted on /proc and -e was specified, print a warni=
ng.
+>    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.

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

--UaNe/QI5+zQ8JiGR
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

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

--UaNe/QI5+zQ8JiGR--



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