summaryrefslogtreecommitdiffstats
path: root/games/bcd
diff options
context:
space:
mode:
authorpjanzen <pjanzen@openbsd.org>2002-05-31 03:39:55 +0000
committerpjanzen <pjanzen@openbsd.org>2002-05-31 03:39:55 +0000
commitef2c807a96ab7218ac1cc2688fc8d0b1db07facd (patch)
tree9b68c3317bbcd458ca17190263d048e60abdf9aa /games/bcd
parentdo not try to update rmx_mtu if rmx_mtu == 0 (obey ifmtu) (diff)
downloadwireguard-openbsd-ef2c807a96ab7218ac1cc2688fc8d0b1db07facd.tar.xz
wireguard-openbsd-ef2c807a96ab7218ac1cc2688fc8d0b1db07facd.zip
No dm -> no need to revoke setegid.
Diffstat (limited to 'games/bcd')
-rw-r--r--games/bcd/bcd.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/games/bcd/bcd.c b/games/bcd/bcd.c
index 5c58a84f478..54976c4b2f4 100644
--- a/games/bcd/bcd.c
+++ b/games/bcd/bcd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bcd.c,v 1.7 2002/02/16 21:27:09 millert Exp $ */
+/* $OpenBSD: bcd.c,v 1.8 2002/05/31 03:40:00 pjanzen Exp $ */
/* $NetBSD: bcd.c,v 1.6 1995/04/24 12:22:23 cgd Exp $ */
/*
@@ -47,7 +47,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)bcd.c 8.2 (Berkeley) 3/20/94";
#else
-static char rcsid[] = "$OpenBSD: bcd.c,v 1.7 2002/02/16 21:27:09 millert Exp $";
+static char rcsid[] = "$OpenBSD: bcd.c,v 1.8 2002/05/31 03:40:00 pjanzen Exp $";
#endif
#endif /* not lint */
@@ -141,10 +141,6 @@ main(argc, argv)
* but this seems kind of silly. So this one doesn't.
*/
- /* revoke privs */
- setegid(getgid());
- setgid(getgid());
-
if (argc > 1) {
while (--argc)
printcard(*++argv);