emacs/lisp/play
Ulrich Müller 20f6648552 Allow update-game-score to run sgid instead of suid.
* configure.ac (gamegroup): New AC_SUBST.
(--with-gameuser): Allow to specify a group instead of a user.
In the default case, check at configure time if a 'games' user
exists.
* lib-src/update-game-score.c: Allow the program to run sgid
instead of suid, in order to match common practice for most games.
(main): Check if we are running sgid.  Pass appropriate file
permission bits to 'write_scores'.
(write_scores): New 'mode' argument, instead of hardcoding 0644.
(get_prefix): Update error message.
* lib-src/Makefile.in (gamegroup): New variable, set by configure.
($(DESTDIR)${archlibdir}): Handle both suid or sgid when
installing the 'update-game-score' program.
* lisp/play/gamegrid.el (gamegrid-add-score-with-update-game-score):
Allow the 'update-game-score' helper program to run suid or sgid.
2015-01-21 21:33:17 +01:00
..
5x5.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
animate.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
blackbox.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
bubbles.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
cookie1.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
decipher.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
dissociate.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
doctor.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
dunnet.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
fortune.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
gamegrid.el Allow update-game-score to run sgid instead of suid. 2015-01-21 21:33:17 +01:00
gametree.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
gomoku.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
handwrite.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
hanoi.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00
landmark.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
life.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
morse.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
mpuz.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
pong.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
snake.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
solitaire.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
spook.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
studly.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00
tetris.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
zone.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00