Now that tedu moved the score file to $HOME, we can get by with
"stdio rpath wpath cpath tty".
Do some basic clean up in the manual. There's more to do, but leave
that for later.
Index: games/tetris/tetris.6
===
RCS file: /var/cvs/s
On Tue, Nov 17, 2015 at 12:21:32AM -0500, Michael McConville wrote:
Ted Unangst wrote:
Theo Buehler wrote:
> drop the score file support
No way! this is critical functionality. :)
Seconded. :P
I disagree - the obvious solution is to move tetris to ports for anyone
who needs score file supp
Ted Unangst wrote:
> Theo Buehler wrote:
> > In its current form, tetris is a setgid program and needs a whopping
> >
> > pledge("stdio rpath wpath cpath flock getpw id tty")
> >
> > throughout its lifetime because of the score file in /var/games.
> >
> > As discussed with Theo off-list, this is
On Tue, Nov 17, 2015 at 12:15:59AM -0500, Ted Unangst wrote:
> Theo Buehler wrote:
> > In its current form, tetris is a setgid program and needs a whopping
> >
> > pledge("stdio rpath wpath cpath flock getpw id tty")
> >
> > throughout its lifetime because of the score file in /var/games.
> >
>
Ted Unangst wrote:
> Theo Buehler wrote:
> > drop the score file support
>
> No way! this is critical functionality. :)
Seconded. :P
Theo Buehler wrote:
> In its current form, tetris is a setgid program and needs a whopping
>
> pledge("stdio rpath wpath cpath flock getpw id tty")
>
> throughout its lifetime because of the score file in /var/games.
>
> As discussed with Theo off-list, this is risk-only. Thus, drop the
> score
In its current form, tetris is a setgid program and needs a whopping
pledge("stdio rpath wpath cpath flock getpw id tty")
throughout its lifetime because of the score file in /var/games.
As discussed with Theo off-list, this is risk-only. Thus, drop the
score file support, lose the setgid bit a
Please disregard. This patch breaks multiple simultaneous games.
Sorry for the noise.
pledge("stdio rpath wpath cpath flock getpw id tty") for setup
then play the game with "stdio rpath wpath getpw tty".
Most of the promises are needed for dealing with the score file. The
function getscores() currently appears towards the end of the program's
lifetime and it calls setegid() and fl