]> Zhao Yanbai Git Server - minix.git/commitdiff
Make ps suid root instead of sguid kmem. This makes getsysinfo
authorBen Gras <ben@minix3.org>
Wed, 26 Jul 2006 11:34:26 +0000 (11:34 +0000)
committerBen Gras <ben@minix3.org>
Wed, 26 Jul 2006 11:34:26 +0000 (11:34 +0000)
work for it.

commands/ps/Makefile

index b6880414b523d43593891e0881f356cd6f2c87bc..a20f0b025cdecca2dce20f17540cf1d22f147fcf 100644 (file)
@@ -16,7 +16,7 @@ ps:   ps.c /usr/include/minix/config.h /usr/include/minix/const.h \
        install -S 32kw $@
 install:       /usr/bin/ps
 /usr/bin/ps:   ps
-       install -cs -o bin -g kmem -m 2755 $? $@
+       install -cs -o root -m 4755 $? $@