]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - atc/input.c
The patch below improves the security of the game atc(6), by having it
[bsdgames-darwin.git] / atc / input.c
index a214a12f217d5c515186737d41362963535a2fd4..821d6055034103cb050cf64f798bdddd66ecddf2 100644 (file)
@@ -1,4 +1,4 @@
-/*     $NetBSD: input.c,v 1.11 1998/11/10 13:43:31 hubertf Exp $       */
+/*     $NetBSD: input.c,v 1.12 1999/07/17 19:57:03 hubertf Exp $       */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -50,7 +50,7 @@
 #if 0
 static char sccsid[] = "@(#)input.c    8.1 (Berkeley) 5/31/93";
 #else
-__RCSID("$NetBSD: input.c,v 1.11 1998/11/10 13:43:31 hubertf Exp $");
+__RCSID("$NetBSD: input.c,v 1.12 1999/07/17 19:57:03 hubertf Exp $");
 #endif
 #endif not lint
 
@@ -316,7 +316,6 @@ gettoken()
                        {
                                char *shell, *base;
 
-                               setuid(getuid()); /* turn off setuid bit */
                                done_screen();
 
                                                 /* run user's favorite shell */