1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-03 09:00:21 +00:00

Install setgid kmem rather than setuid root. The problem with procfs that

was breaking this before has been fixed.
This commit is contained in:
David Greenman 1995-04-15 03:25:52 +00:00
parent d7e03b7a8b
commit 567f2ec907
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7836
2 changed files with 5 additions and 3 deletions

View File

@ -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>

View File

@ -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