1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00
emacs/lib-src
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
..
ChangeLog Allow update-game-score to run sgid instead of suid. 2015-01-21 21:33:17 +01:00
COPYING Change to GPLv3. 2007-07-25 07:00:38 +00:00
ctags.c Port ctags+etags build to Sun C 5.12. 2014-05-18 11:57:04 -07:00
ebrowse.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
emacsclient.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
etags.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
hexl.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
make-docfile.c Give up on -Wsuggest-attribute=const 2015-01-15 20:37:44 -08:00
Makefile.in Allow update-game-score to run sgid instead of suid. 2015-01-21 21:33:17 +01:00
makefile.w32-in Update copyright year to 2015 2015-01-01 14:26:41 -08:00
movemail.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ntlib.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ntlib.h Update copyright year to 2015 2015-01-01 14:26:41 -08:00
pop.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
pop.h Update copyright year to 2015 2015-01-01 14:26:41 -08:00
profile.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
rcs2log Fix copyright years by hand 2015-01-01 14:27:34 -08:00
README changed Emacs' to GNU Emacs' 2006-03-31 07:25:44 +00:00
update-game-score.c Allow update-game-score to run sgid instead of suid. 2015-01-21 21:33:17 +01:00
update-game-score.exe.manifest Provide a Windows manifest for update-game-score.exe. 2013-08-10 10:43:41 +03:00

This directory contains the source code for the architecture-dependent
files that go in ${archlibdir}.  At present, these are mostly utility
programs used by GNU Emacs.