Re: [dev] pledge(2) patches

2016-06-05 Thread Ben Woolley
> On Jun 5, 2016, at 1:31 PM, FRIGN wrote: > > On Sun, 5 Jun 2016 13:11:15 -0700 > Ben Woolley wrote: > > Hey Ben, > >> Regarding #2, the usage stats of openbsd should be joined with the >> usage stats of st. I don't know the answer, but I am guessing not >> insignificant, especially since an

[dev] [slock] [PATCH] Ctrl-u now resets the input

2016-06-05 Thread Troy Sankey
Before this commit, only pressing Escape would reset the input. This commit makes Ctrl-u do the same. Rationale: it more closely mimics behavior of login(1)/getpass(3). --- slock.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/slock.c b/slock.c index c9cdee2..c3c3ebc 1

Re: [dev] pledge(2) patches

2016-06-05 Thread FRIGN
On Sun, 5 Jun 2016 13:11:15 -0700 Ben Woolley wrote: Hey Ben, > Regarding #2, the usage stats of openbsd should be joined with the > usage stats of st. I don't know the answer, but I am guessing not > insignificant, especially since an openbsd user was driven to do it > already. And it might inc

Re: [dev] pledge(2) patches

2016-06-05 Thread Ben Woolley
> On Jun 5, 2016, at 11:59 AM, FRIGN wrote: > > On Fri, 03 Jun 2016 19:46:18 +0200 > Christoph Lohmann <2...@r-36.net> wrote: > > Hey Christoph, > >> Adding sloc will never get you security. > > This is right in many cases, but for pledge(1) it makes sense, > however, there are 2 reasons why

Re: [dev] pledge(2) patches

2016-06-05 Thread FRIGN
On Fri, 03 Jun 2016 19:46:18 +0200 Christoph Lohmann <2...@r-36.net> wrote: Hey Christoph, > Adding sloc will never get you security. This is right in many cases, but for pledge(1) it makes sense, however, there are 2 reasons why I would oppose a mainline- include as well: 1) starting with #ifd