1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00
openbsd-src/games
tb f527bb5663 Fix after removal of the setgid bit:
Add pledge "stdio rpath wpath cpath tty".
Move score file to $HOME, add $USER as high score entry.
Maintain hall of fame of 10 high scores, make snake wink if
it ate you while you were eligible for eternal fame.

Based on an initial diff by Ricardo Mestre and with helpful input from tedu@.

ok beck@
2015-11-27 09:37:56 +00:00
..
adventure remove malloc/calloc/realloc* casts, due to stdlib.h being present; ok millert krw 2015-08-22 14:47:40 +00:00
arithmetic Cast ctype functions' arguments to unsigned char. 2015-10-24 17:13:27 +00:00
atc Remove operations that "touch" scorefiles at install time. 2015-11-25 23:18:11 +00:00
backgammon creat() -> open equiv; from Frederic Nowak 2015-11-11 01:12:09 +00:00
banner Pledge "stdio" for simple games. 2015-10-14 08:12:12 +00:00
battlestar Remove operations that "touch" scorefiles at install time. 2015-11-25 23:18:11 +00:00
bcd include err.h for err() calls added with recent pledge commits. 2015-10-23 02:01:15 +00:00
boggle ctype functions take unsigned char values. 2015-11-05 08:40:34 +00:00
bs Cast toupper()'s argument to unsigned char. 2015-10-24 17:29:03 +00:00
caesar Pledge "stdio" for simple games. 2015-10-14 08:12:12 +00:00
canfield Add checks for getenv(), snprintf() and getlogin(). 2015-11-26 13:28:22 +00:00
cribbage Cast ctype functions' arguments to unsigned char. 2015-10-24 18:04:06 +00:00
factor Cast isblank()'s argument to unsigned char. 2015-10-24 17:31:00 +00:00
fish reduce .Nd to one line and kill .Tn while here 2015-09-10 15:16:43 +00:00
fortune fix a double space issue in the following, rather wonderful, fortune: 2015-11-15 21:25:50 +00:00
gomoku replace setbuf with setvbuf, from Frederic Nowak 2015-11-04 21:22:10 +00:00
grdc Bugfix: run for the specified number of seconds as described in the manual, 2014-11-19 03:27:45 +00:00
hack In 1995, all of the games were setuid games. At end of 1996, I took them all 2015-11-24 03:10:09 +00:00
hangman Cast islower()'s argument to unsigned char. 2015-10-24 17:55:02 +00:00
hunt Cast ctype functions' argument to unsigned char. 2015-10-24 18:35:08 +00:00
mille creat() -> open equiv; from Frederic Nowak 2015-11-11 01:12:09 +00:00
monop pledge "stdio rpath wpath cpath" 2015-11-21 03:20:30 +00:00
morse include err.h for err() calls added with recent pledge commits. 2015-10-23 02:01:15 +00:00
number Cast ctype functions' argument to unsigned char. 2015-10-24 18:37:23 +00:00
phantasia In 1995, all of the games were setuid games. At end of 1996, I took them all 2015-11-24 03:10:09 +00:00
pig Cast ctype functions' argument to unsigned char. 2015-10-24 18:29:15 +00:00
pom Cast isdigit()'s argument to unsigned char. 2015-10-24 17:33:05 +00:00
ppt Pledge "stdio" for simple games. 2015-10-14 08:12:12 +00:00
primes Cast isblank()'s argument to unsigned char. 2015-10-24 17:34:16 +00:00
quiz just dump the help on stdout with messing about with a pager. 2015-10-25 09:34:49 +00:00
rain enable pledge(2) in rain(6) 2015-10-14 07:19:23 +00:00
random replace setbuf with setvbuf, from Frederic Nowak 2015-11-04 21:22:10 +00:00
robots In 1995, all of the games were setuid games. At end of 1996, I took them all 2015-11-24 03:10:09 +00:00
sail In 1995, all of the games were setuid games. At end of 1996, I took them all 2015-11-24 03:10:09 +00:00
snake Fix after removal of the setgid bit: 2015-11-27 09:37:56 +00:00
tetris Fix copy-paste error in scorefile name 2015-11-26 14:43:18 +00:00
trek creat() -> open equiv; from Frederic Nowak 2015-11-11 01:12:09 +00:00
wargames
worm pledge the wyrms 2015-11-21 05:29:42 +00:00
worms pledge the wyrms 2015-11-21 05:29:42 +00:00
wump replace srandomdev()+random() with the arc4random*() family 2013-08-29 20:22:09 +00:00
Makefile
Makefile.inc In 1995, all of the games were setuid games. At end of 1996, I took them all 2015-11-24 03:10:09 +00:00