diff options
-rw-r--r-- | boggle/boggle/bog.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/boggle/boggle/bog.c b/boggle/boggle/bog.c index 232e4aac..4e6c4c79 100644 --- a/boggle/boggle/bog.c +++ b/boggle/boggle/bog.c @@ -1,4 +1,4 @@ -/* $NetBSD: bog.c,v 1.10 1999/07/14 17:23:53 hubertf Exp $ */ +/* $NetBSD: bog.c,v 1.11 1999/07/21 04:02:29 hubertf Exp $ */ /*- * Copyright (c) 1993 @@ -46,7 +46,7 @@ __COPYRIGHT("@(#) Copyright (c) 1993\n\ #if 0 static char sccsid[] = "@(#)bog.c 8.2 (Berkeley) 5/4/95"; #else -__RCSID("$NetBSD: bog.c,v 1.10 1999/07/14 17:23:53 hubertf Exp $"); +__RCSID("$NetBSD: bog.c,v 1.11 1999/07/21 04:02:29 hubertf Exp $"); #endif #endif /* not lint */ @@ -132,6 +132,9 @@ main(argc, argv) int ch, done, i, selfuse, sflag; char *bspec, *p; + /* revoke setgid privileges */ + setregid(getgid(), getgid()); + seed = 0; batch = debug = reuse = selfuse = sflag = 0; bspec = NULL; |