summaryrefslogtreecommitdiffstats
path: root/bin/ps
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-08-11 20:06:55 +0000
committerwollman <wollman@FreeBSD.org>1994-08-11 20:06:55 +0000
commit422cf01ca5cca8cbf859ced98bbb58d2f39fcfba (patch)
tree92ce028eaa9ca2328d48df61da703e28e590731a /bin/ps
parentf7cd7b6184c73fa298ed5852340c9a1f12ba72b3 (diff)
downloadFreeBSD-src-422cf01ca5cca8cbf859ced98bbb58d2f39fcfba.zip
FreeBSD-src-422cf01ca5cca8cbf859ced98bbb58d2f39fcfba.tar.gz
Make `ps' set-uid root so that it can read the same set of arguments
that old `ps'es did. I'm not too thrilled about this, but I'm not enough of an FS person to hack procfs so that /proc/xxx/mem is readable by members of group `kmem'. If this is done, then `ps' can go back to being set-gid kmem.
Diffstat (limited to 'bin/ps')
-rw-r--r--bin/ps/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ps/Makefile b/bin/ps/Makefile
index b98abc2..42c3c69 100644
--- a/bin/ps/Makefile
+++ b/bin/ps/Makefile
@@ -5,7 +5,7 @@ SRCS= fmt.c keyword.c nlist.c print.c ps.c
CFLAGS+=-I/sys
DPADD= ${LIBMATH} ${LIBKVM}
LDADD= -lm -lkvm
-BINGRP= kmem
-BINMODE=2555
+BINOWN= root
+BINMODE=4555
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud