diff options
| author | Ulrich Müller | 2015-01-16 09:25:25 +0100 |
|---|---|---|
| committer | Ulrich Müller | 2015-01-21 21:33:17 +0100 |
| commit | 20f66485526b69eb26f2e70bd835a5e1333559d5 (patch) | |
| tree | 2571c73468acb238fbae55f3655e757ff284319f /lib-src/ChangeLog | |
| parent | 59e7fe6d0c6988687b53c279941c9ebb3f887eed (diff) | |
| download | emacs-20f66485526b69eb26f2e70bd835a5e1333559d5.tar.gz emacs-20f66485526b69eb26f2e70bd835a5e1333559d5.zip | |
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.
Diffstat (limited to 'lib-src/ChangeLog')
| -rw-r--r-- | lib-src/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 37f037ef324..b67038ff81a 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,15 @@ | |||
| 1 | 2015-01-21 Ulrich Müller <ulm@gentoo.org> | ||
| 2 | |||
| 3 | * update-game-score.c: Allow the program to run sgid instead | ||
| 4 | of suid, in order to match common practice for most games. | ||
| 5 | (main): Check if we are running sgid. Pass appropriate file | ||
| 6 | permission bits to 'write_scores'. | ||
| 7 | (write_scores): New 'mode' argument, instead of hardcoding 0644. | ||
| 8 | (get_prefix): Update error message. | ||
| 9 | * Makefile.in (gamegroup): New variable, set by configure. | ||
| 10 | ($(DESTDIR)${archlibdir}): Handle both suid or sgid when | ||
| 11 | installing the 'update-game-score' program. | ||
| 12 | |||
| 1 | 2015-01-16 Eli Zaretskii <eliz@gnu.org> | 13 | 2015-01-16 Eli Zaretskii <eliz@gnu.org> |
| 2 | 14 | ||
| 3 | * Makefile.in (AM_V_RC, am__v_RC_, am__v_RC_0, am__v_RC_1): New | 15 | * Makefile.in (AM_V_RC, am__v_RC_, am__v_RC_0, am__v_RC_1): New |