diff options
author | ache <ache@FreeBSD.org> | 1997-09-24 18:03:26 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-09-24 18:03:26 +0000 |
commit | 6dbfe3ba60410a62395c089039a8a727cafe011b (patch) | |
tree | b283b22869c5b066bff2fb8ed8b413657899bf8e /games/hack | |
parent | 5a3be138e38688888fe6e6bcf612c0fe28c76062 (diff) | |
download | FreeBSD-src-6dbfe3ba60410a62395c089039a8a727cafe011b.zip FreeBSD-src-6dbfe3ba60410a62395c089039a8a727cafe011b.tar.gz |
Remove setuid, uneeded now
Diffstat (limited to 'games/hack')
-rw-r--r-- | games/hack/hack.main.c | 1 | ||||
-rw-r--r-- | games/hack/hack.pager.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/games/hack/hack.main.c b/games/hack/hack.main.c index 956b163..06629d5 100644 --- a/games/hack/hack.main.c +++ b/games/hack/hack.main.c @@ -462,7 +462,6 @@ boolean wr; ) { /* revoke */ setgid(getgid()); - setuid(getuid()); } #endif diff --git a/games/hack/hack.pager.c b/games/hack/hack.pager.c index a3af28d..30ef8c1 100644 --- a/games/hack/hack.pager.c +++ b/games/hack/hack.pager.c @@ -381,7 +381,6 @@ child(wt) { settty((char *) 0); /* also calls end_screen() */ /* revoke */ setgid(getgid()); - setuid(getuid()); #ifdef CHDIR (void) chdir(getenv("HOME")); #endif CHDIR |