blob: 4b536b5d451f8dfe752276b903b1632b282722cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- x11/xconq.c.orig Mon Apr 24 07:56:58 2000
+++ x11/xconq.c Wed Jun 28 21:45:49 2000
@@ -46,8 +46,8 @@
if (argc == -1)
cmd_error(NULL, NULL);
/* Shift to being the user that started the game. */
- games_uid = geteuid();
- setuid(getuid());
+ games_uid = getegid();
+ setgid(getgid());
init_library_path(NULL);
/* Fiddle with game module structures. */
clear_game_modules();
|