diff options
author | dg <dg@FreeBSD.org> | 1995-04-15 03:25:52 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-04-15 03:25:52 +0000 |
commit | b0ecb5429e6207ad21d7d4319c2ddbdbf9ff8471 (patch) | |
tree | 93f5afd4675ab249fe0006e8a60b7684439db219 | |
parent | b7ad7fee08d92c010db8d3a350b96a2607304a07 (diff) | |
download | FreeBSD-src-b0ecb5429e6207ad21d7d4319c2ddbdbf9ff8471.zip FreeBSD-src-b0ecb5429e6207ad21d7d4319c2ddbdbf9ff8471.tar.gz |
Install setgid kmem rather than setuid root. The problem with procfs that
was breaking this before has been fixed.
-rw-r--r-- | bin/ps/Makefile | 5 | ||||
-rw-r--r-- | usr.bin/w/Makefile | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/bin/ps/Makefile b/bin/ps/Makefile index 1d1e551..2ed6481 100644 --- a/bin/ps/Makefile +++ b/bin/ps/Makefile @@ -1,5 +1,5 @@ # @(#)Makefile 8.1 (Berkeley) 6/2/93 -# $Id$ +# $Id: Makefile,v 1.3 1994/09/24 02:56:40 davidg Exp $ PROG= ps SRCS= fmt.c keyword.c nlist.c print.c ps.c @@ -7,6 +7,7 @@ CFLAGS+=-I/sys DPADD= ${LIBMATH} ${LIBKVM} LDADD= -lm -lkvm BINOWN= root -BINMODE=4555 +BINGRP= kmem +BINMODE=2555 .include <bsd.prog.mk> diff --git a/usr.bin/w/Makefile b/usr.bin/w/Makefile index d1fc905..a11edff 100644 --- a/usr.bin/w/Makefile +++ b/usr.bin/w/Makefile @@ -6,7 +6,8 @@ MAN1= w.1 uptime.1 DPADD= ${LIBKVM} LDADD= -lkvm BINOWN= root -BINMODE=4555 +BINGRP= kmem +BINMODE=2555 LINKS= ${BINDIR}/w ${BINDIR}/uptime .PATH: ${.CURDIR}/../../bin/ps |