Date: Sun, 14 Nov 2004 18:33:33 -0500 From: Garance A Drosihn <drosih@rpi.edu> To: Pawel Jakub Dawidek <pjd@FreeBSD.org>, "Christian S.J. Peron" <csjp@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/bin/ps ps.c Message-ID: <p06110400bdbd9878181f@[128.113.24.47]> In-Reply-To: <20041114225844.GS8120@darkness.comp.waw.pl> References: <200411141930.iAEJU2I1007666@repoman.freebsd.org> <20041114225844.GS8120@darkness.comp.waw.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
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@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p06110400bdbd9878181f>