Install setgid kmem rather than setuid root. The problem with procfs that
was breaking this before has been fixed.
This commit is contained in:
parent
d7e03b7a8b
commit
567f2ec907
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7836
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user