From: Ben Gras Date: Wed, 26 Jul 2006 11:34:26 +0000 (+0000) Subject: Make ps suid root instead of sguid kmem. This makes getsysinfo X-Git-Tag: v3.1.3~227 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=4a6cd8f87874bc11eb6b8a6db774cb50eb272d2e;p=minix.git Make ps suid root instead of sguid kmem. This makes getsysinfo work for it. --- diff --git a/commands/ps/Makefile b/commands/ps/Makefile index b6880414b..a20f0b025 100644 --- a/commands/ps/Makefile +++ b/commands/ps/Makefile @@ -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 $? $@