diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-12-22 20:02:10 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-12-22 20:02:10 +0000 |
commit | ff4ce18e919807fbd34b9ade85e7b121bfdf4dea (patch) | |
tree | 7fe48076ef6bee61276a7cedec421b4ebbea6823 /games/gomoku | |
parent | 129dd29fd8aafb8fb425c3b282e32e4cb66a7d55 (diff) |
proper gid revoke
Diffstat (limited to 'games/gomoku')
-rw-r--r-- | games/gomoku/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/games/gomoku/main.c b/games/gomoku/main.c index 9b5bd086939..44405939b30 100644 --- a/games/gomoku/main.c +++ b/games/gomoku/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.4 1996/12/21 21:17:51 tholo Exp $ */ +/* $OpenBSD: main.c,v 1.5 1996/12/22 20:01:16 deraadt Exp $ */ /* * Copyright (c) 1994 * The Regents of the University of California. All rights reserved. @@ -89,6 +89,8 @@ main(argc, argv) "%3d %-6s" }; + /* revoke privs */ + setegid(getgid()); setgid(getgid()); prog = strrchr(argv[0], '/'); |