diff options
author | Peter Wemm <peter@FreeBSD.org> | 1999-11-17 13:37:30 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1999-11-17 13:37:30 +0000 |
commit | 821079e9beaa66ea0d0bf4d497b22a467803bebc (patch) | |
tree | 5b4b68381ad6e04c5c063bd9afe8e00555355d50 /bin/ps | |
parent | 602a69d61eedef82db7f58bab70fcf9a51207c8b (diff) | |
download | src-821079e9beaa66ea0d0bf4d497b22a467803bebc.tar.gz src-821079e9beaa66ea0d0bf4d497b22a467803bebc.zip |
I'm probably jumping the gun, but what the heck, this is -current.
Turn off setgid-kmem for /bin/ps, it's now quite functional without it.
ps no longer needs /dev/*mem or /proc. (It will still use some /proc
files if they are available for -e, but it's not required, so it'll
happily run in a jail or chroot).
The proc stats are now part of eproc (obtained via sysctl) and no longer
needs to beat up the u-page reading code and the problems with that.
This also has the side effect of disabling 'ps -e' for normal users
*EXCEPT* when looking at their own processes. ie: they can see
environments in processes with their uid, enforced by the ownership of
/proc/*/mem. Root can still see them all, as it can open all /proc/*/mem.
Notes
Notes:
svn path=/head/; revision=53278
Diffstat (limited to 'bin/ps')
-rw-r--r-- | bin/ps/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ps/Makefile b/bin/ps/Makefile index c63e5a7ce5dd..d5c791c2226b 100644 --- a/bin/ps/Makefile +++ b/bin/ps/Makefile @@ -12,7 +12,7 @@ SRCS= fmt.c keyword.c nlist.c print.c ps.c CFLAGS+=-I${.CURDIR}/../../sys -DLAZY_PS DPADD= ${LIBM} ${LIBKVM} LDADD= -lm -lkvm -BINGRP= kmem -BINMODE=2555 +#BINGRP= kmem +#BINMODE=2555 .include <bsd.prog.mk> |