Date: Tue, 30 Jun 1998 14:34:16 -0700 (PDT) From: Poul-Henning Kamp <phk@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG Subject: cvs commit: src/bin/ps nlist.c ps.c Message-ID: <199806302134.OAA03436@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 1998/06/30 14:34:15 PDT Modified files: bin/ps nlist.c ps.c Log: Pick up kernel variables/constants using sysctl rather than through /dev/mem Use /dev/null for opening the kvm library, we don't need access to /dev/mem anymore. ps can now run without the setgid(kmem) bit. If it does it will not be able to show argv/envp for another uid's processes unless you are root. Revision Changes Path 1.11 +7 -76 src/bin/ps/nlist.c 1.25 +10 -4 src/bin/ps/ps.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806302134.OAA03436>