aboutsummaryrefslogtreecommitdiff
path: root/games
Commit message (Collapse)AuthorAgeFilesLines
* Move under HIDEGAME, add revokeAndrey A. Chernov1997-09-242-22/+11
| | | | | | | | Cleanup Convert to random() Notes: svn path=/head/; revision=29830
* CleanupAndrey A. Chernov1997-09-243-3/+4
| | | | | | | Convert to random() Notes: svn path=/head/; revision=29829
* Convert to random()Andrey A. Chernov1997-09-242-4/+4
| | | | | | | Cleanup Notes: svn path=/head/; revision=29828
* Cleanup.Andrey A. Chernov1997-09-241-2/+4
| | | | | | | Convert to random() Notes: svn path=/head/; revision=29827
* Revoke properly by setgid, not by setuid, overlooked in gamesAndrey A. Chernov1997-09-241-2/+5
| | | | | | | uid->gid change Notes: svn path=/head/; revision=29825
* Remove setuid, priveledges already revoked early in the right wayAndrey A. Chernov1997-09-241-4/+0
| | | | Notes: svn path=/head/; revision=29824
* Cleanup.Andrey A. Chernov1997-09-241-4/+7
| | | | | | | Initialize random Notes: svn path=/head/; revision=29823
* Use include for malloc declarationAndrey A. Chernov1997-09-241-3/+2
| | | | Notes: svn path=/head/; revision=29822
* Fix longstanding bug: it was impossible to save to the same file twiceAndrey A. Chernov1997-09-241-2/+5
| | | | | | | since it was deleted on exit. Notes: svn path=/head/; revision=29821
* Fix revoke to use setgid instead of setuid,since games uid changed toAndrey A. Chernov1997-09-241-2/+4
| | | | | | | gid and this place overlooked Notes: svn path=/head/; revision=29820
* Revoke privs before shell exitAndrey A. Chernov1997-09-244-14/+16
| | | | | | | | | | Includes cleanup Use getlogin() Fix names in FILES section Convert to random() Notes: svn path=/head/; revision=29819
* Oops, to many zeroes was in usleep argAndrey A. Chernov1997-09-241-1/+1
| | | | Notes: svn path=/head/; revision=29814
* Headers cleanup.Andrey A. Chernov1997-09-249-53/+60
| | | | | | | | | | Add revoke before shell exit. Fix mail sending procedure. Convert to random() Implement nap. Notes: svn path=/head/; revision=29813
* Remove conflicting malloc declarationAndrey A. Chernov1997-09-241-1/+0
| | | | Notes: svn path=/head/; revision=29811
* Remove setuid, uneeded nowAndrey A. Chernov1997-09-242-2/+0
| | | | Notes: svn path=/head/; revision=29810
* Back out all my changes and restore v1.5 because there is noAndrey A. Chernov1997-09-241-7/+1
| | | | | | | setuid games now, hack problem fixed differently by hackdir permissions Notes: svn path=/head/; revision=29809
* Make hack non-setuid back, it is possible because hackdir hierarchyAndrey A. Chernov1997-09-241-7/+1
| | | | | | | are not more readable/writeable by anyone except "games" group Notes: svn path=/head/; revision=29808
* Includes cleanupAndrey A. Chernov1997-09-246-18/+27
| | | | | | | | | | | | Fix nonull flag detecting from termcap Use usleep to handle nonull case Prevent overflow on genocided getenv Install most files not owned by games.games to prevent data modifications Fix path for gethdate() Notes: svn path=/head/; revision=29803
* Use SUIDGAME hook nowAndrey A. Chernov1997-09-241-4/+2
| | | | Notes: svn path=/head/; revision=29802
* Back out previous fix (not work) and add more general SUIDGAME hook insteadAndrey A. Chernov1997-09-241-2/+8
| | | | Notes: svn path=/head/; revision=29801
* Since hack suid now, add -fschg to install flags to prevent thisAndrey A. Chernov1997-09-241-0/+1
| | | | | | | binary to be overwritted Notes: svn path=/head/; revision=29800
* Revoke privs once at earlier stage and not mess with setegid in saveAndrey A. Chernov1997-09-242-15/+4
| | | | | | | | Fix save: missing creation modes arg and wrong symlink test Small C cleanup Notes: svn path=/head/; revision=29799
* Simplify revokeAndrey A. Chernov1997-09-241-1/+0
| | | | Notes: svn path=/head/; revision=29798
* Open score file and do revoke as early as possibleAndrey A. Chernov1997-09-241-6/+8
| | | | Notes: svn path=/head/; revision=29797
* Simplify revokeAndrey A. Chernov1997-09-241-1/+0
| | | | Notes: svn path=/head/; revision=29796
* Make hack suid "games" (additionly to sgid "games" as run),Andrey A. Chernov1997-09-243-4/+16
| | | | | | | | | | | it is needed for savegames and bones, they intendent to not be altered by user and can't be pre-created as scorefile. Clear savegames on install: target too, not only bones Install rumors not readable by all. Cleanup includes a little. Notes: svn path=/head/; revision=29795
* Allow BINMODE to be overwritted (use ?=)Andrey A. Chernov1997-09-241-1/+1
| | | | Notes: svn path=/head/; revision=29794
* Simplify revokeAndrey A. Chernov1997-09-242-2/+0
| | | | Notes: svn path=/head/; revision=29790
* Do not swap uids on log writting but open it first, then revokeAndrey A. Chernov1997-09-241-6/+6
| | | | | | | Simplify revoke Notes: svn path=/head/; revision=29785
* Put comment indicating revokeAndrey A. Chernov1997-09-241-0/+1
| | | | Notes: svn path=/head/; revision=29784
* Simplify revokeAndrey A. Chernov1997-09-244-4/+0
| | | | Notes: svn path=/head/; revision=29783
* Oops, fix my error from prev commit (revoke simplification)Andrey A. Chernov1997-09-241-1/+1
| | | | Notes: svn path=/head/; revision=29782
* Simplify revokeAndrey A. Chernov1997-09-241-1/+0
| | | | Notes: svn path=/head/; revision=29781
* Revoke sgid privs early and not svap uids on saved game at allAndrey A. Chernov1997-09-242-8/+2
| | | | Notes: svn path=/head/; revision=29779
* CleanupAndrey A. Chernov1997-09-241-10/+3
| | | | | | | | Simplify revoke: only sgid needed to be revoked Use srandomdev Notes: svn path=/head/; revision=29777
* Use srandomdevAndrey A. Chernov1997-09-241-1/+1
| | | | Notes: svn path=/head/; revision=29774
* Use srandomdevAndrey A. Chernov1997-09-243-15/+14
| | | | | | | Cleanup Notes: svn path=/head/; revision=29773
* Use srandomdevAndrey A. Chernov1997-09-244-4/+4
| | | | Notes: svn path=/head/; revision=29772
* Use srandomdevAndrey A. Chernov1997-09-243-10/+8
| | | | Notes: svn path=/head/; revision=29771
* Use srandomdev()Andrey A. Chernov1997-09-241-1/+1
| | | | Notes: svn path=/head/; revision=29770
* Use srandomdevAndrey A. Chernov1997-09-243-6/+2
| | | | Notes: svn path=/head/; revision=29769
* Use srandomdevAndrey A. Chernov1997-09-245-6/+8
| | | | Notes: svn path=/head/; revision=29768
* Beforeinstall logfile to prevent it owned by first user who run the gameAndrey A. Chernov1997-09-241-0/+4
| | | | Notes: svn path=/head/; revision=29766
* Beforeinstall scorefile to prevent it owned by first user whoAndrey A. Chernov1997-09-241-0/+2
| | | | | | | run the game Notes: svn path=/head/; revision=29765
* Beforeinstall scorefile to prevent it owned by first who run the gameAndrey A. Chernov1997-09-241-0/+4
| | | | Notes: svn path=/head/; revision=29762
* Installed scenarios was unreadable with change games uid->gid, fix itAndrey A. Chernov1997-09-244-15/+13
| | | | | | | | | | Beforeinstall score file to the right place Use srandomdev Remove revoke, it broke scores and scenarios Fix names in FILES manpage section Notes: svn path=/head/; revision=29761
* Pre-create score file to prevent it owned by first user who runAndrey A. Chernov1997-09-243-6/+8
| | | | | | | | | | | canfield Fix scorefile name in manpage Use srandomdev Remove revoke, the game already revoked in another place Fix bug with missing getuid() Notes: svn path=/head/; revision=29760
* Beforeinstall scores and log file to prevent them owned byAndrey A. Chernov1997-09-242-7/+13
| | | | | | | | first who run snake snake.c: cleanup, use srandomdev() now, fix created file permissions Notes: svn path=/head/; revision=29758
* Install scorefile as group games writeableAndrey A. Chernov1997-09-242-5/+1
| | | | | | | Remove revoke from game, score can't work with revoke Notes: svn path=/head/; revision=29757
* Beforeinstall log and score files to prevent owning of them by firstAndrey A. Chernov1997-09-243-1/+9
| | | | | | | | user who run game Slightly modify game to understand pre-created score file Notes: svn path=/head/; revision=29756