diff options
author | FUJISHIMA Satsuki <sf@FreeBSD.org> | 2001-06-14 14:31:50 +0000 |
---|---|---|
committer | FUJISHIMA Satsuki <sf@FreeBSD.org> | 2001-06-14 14:31:50 +0000 |
commit | 5ca30aadb55cb3ebc1151dc87fc3c55e352e39ab (patch) | |
tree | 0f7343416ba571bd03ca866a4cc123588fbf8bd4 /games/nethack-gtk | |
parent | o unbreak, setregid() before gtk_init to pass setgid check. (diff) |
setregid before gtk_init to pass setgid binary check.
Notes
Notes:
svn path=/head/; revision=43989
Diffstat (limited to 'games/nethack-gtk')
-rw-r--r-- | games/nethack-gtk/files/patch-gtk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/games/nethack-gtk/files/patch-gtk b/games/nethack-gtk/files/patch-gtk new file mode 100644 index 000000000000..c54127fa947d --- /dev/null +++ b/games/nethack-gtk/files/patch-gtk @@ -0,0 +1,10 @@ +--- win/gtk/gtk.c.orig Thu Jun 14 23:10:35 2001 ++++ win/gtk/gtk.c Thu Jun 14 23:12:03 2001 +@@ -742,6 +742,7 @@ + gtk_set_locale(); + nh_rc(); + ++ setregid(getegid(), -1); + gtk_init(argc, &argv); + /* + creat credit widget and show |