Re: pledge("stdio") for arch(1)/machine(1)

2015-11-13 Thread Ted Unangst
Ingo Schwarze wrote: > Hi, > > Theo de Raadt wrote on Fri, Nov 13, 2015 at 08:21:41AM -0700: > > Theo Buehler wrote: > > >> This straightforward pledge("stdio") is one of the last uncommitted ones > >> from Theo's big 'tame in userland' diff and seems to have been > >> overlooked so far. > > > I

Re: pledge("stdio") for arch(1)/machine(1)

2015-11-13 Thread Ingo Schwarze
Hi, Theo de Raadt wrote on Fri, Nov 13, 2015 at 08:21:41AM -0700: > Theo Buehler wrote: >> This straightforward pledge("stdio") is one of the last uncommitted ones >> from Theo's big 'tame in userland' diff and seems to have been >> overlooked so far. > I think arch.c gains no value from being p

Re: pledge("stdio") for arch(1)/machine(1)

2015-11-13 Thread Theo de Raadt
> This straightforward pledge("stdio") is one of the last uncommitted ones > from Theo's big 'tame in userland' diff and seems to have been > overlooked so far. I think arch.c gains no value from being pledged. It adds a system call to a program which makes no user-input decisions.

pledge("stdio") for arch(1)/machine(1)

2015-11-13 Thread Theo Buehler
This straightforward pledge("stdio") is one of the last uncommitted ones from Theo's big 'tame in userland' diff and seems to have been overlooked so far. Index: usr.bin/arch/arch.c === RCS file: /cvs/src/usr.bin/arch/arch.c,v retriev