From 78168af82c4ec7ba2d8e9b500d667ee732db8e04 Mon Sep 17 00:00:00 2001 From: Paul Janzen Date: Fri, 31 May 2002 03:40:02 +0000 Subject: No dm -> no need to revoke setegid. --- games/factor/factor.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'games/factor') diff --git a/games/factor/factor.c b/games/factor/factor.c index c899b387994..262e14bbac3 100644 --- a/games/factor/factor.c +++ b/games/factor/factor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: factor.c,v 1.12 2002/02/16 21:27:09 millert Exp $ */ +/* $OpenBSD: factor.c,v 1.13 2002/05/31 03:40:00 pjanzen Exp $ */ /* $NetBSD: factor.c,v 1.5 1995/03/23 08:28:07 cgd Exp $ */ /* @@ -47,7 +47,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)factor.c 8.4 (Berkeley) 5/4/95"; #else -static char rcsid[] = "$OpenBSD: factor.c,v 1.12 2002/02/16 21:27:09 millert Exp $"; +static char rcsid[] = "$OpenBSD: factor.c,v 1.13 2002/05/31 03:40:00 pjanzen Exp $"; #endif #endif /* not lint */ @@ -107,10 +107,6 @@ main(argc, argv) int ch; char *p, buf[100]; /* > max number of digits. */ - /* revoke privs */ - setegid(getgid()); - setgid(getgid()); - while ((ch = getopt(argc, argv, "")) != -1) switch (ch) { case '?': -- cgit v1.2.3