1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00
openbsd-src/games
tb bf2d39770d Add pledge support and move score file to $HOME.
For high score entries use the same logic as in snake(6) and tetris(6):
Try LOGNAME then USER then getlogin(2) and fall back to ???.
For variety, atc(6) uses flock(2), so add a "flock" promise to the usual
"stdio rpath rpath cpath tty" for games.
2015-11-29 15:23:38 +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 Add pledge support and move score file to $HOME. 2015-11-29 15:23:38 +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 pledge "stdio rpath tty proc exec" since instructions() might fork a pager. 2015-11-29 14:42:36 +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 Move scorefile to $HOME. The nice implementation of the score file 2015-11-29 15:13:19 +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 Prefer $LOGNAME over $USER, since the latter is deprecated, 2015-11-29 14:31:01 +00:00
tetris Prefer $LOGNAME over $USER, since the latter is deprecated, 2015-11-29 14:31:01 +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