cvs commit: src/bin/ps ps.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Sun Nov 14 22:58:46 GMT 2004


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 at FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20041114/22b15f58/attachment.bin


More information about the cvs-src mailing list