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:
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
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
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
>
Ted Unangst wrote:
> Theo Buehler wrote:
> > drop the score file support
>
> No way! this is critical functionality. :)
Seconded. :P
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:
> > 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
Please disregard. This patch breaks multiple simultaneous games.
Sorry for the noise.