pledge in su/doas

2015-10-17 Thread Theo de Raadt
pledge has a new request called "id", which states that process will do uid and gid management, ie. setuid(2) and such. The diff below demonstrates how pledge will be used in su(1) and doas(1). If your kernel is brand new and shiny, you can try this. This can't be commited yet, needs a few more

Re: Black screen with inteldrm and recent snapshots

2015-10-17 Thread Mark Kettenis
> Date: Thu, 15 Oct 2015 21:45:16 +0200 (CEST) > From: Mark Kettenis > > > Date: Thu, 15 Oct 2015 01:03:10 +0200 (CEST) > > From: si...@slackware.it > > > > Hello tech@, > > I'm sorry for resurrecting an old thread: I'm seeing intel drm errors in my > > dmesg, they appeared with the same end of

Re: aucat.1: small cleanup

2015-10-17 Thread Jason McIntyre
On Fri, Oct 16, 2015 at 09:27:15PM -0400, Michael Reed wrote: > The use of Bk/Ek and Xo/Xc was not needed, as confirmed by > "diff <{mandoc old.1} <{mandoc new.1} | less". The only visible > changes should be the Ar -> Cm conversions. > > fixed, thanks. i converted the list to -compact while in

Re: ksh.1: need preceding underscore for macro expansion

2015-10-17 Thread Jason McIntyre
On Sat, Oct 17, 2015 at 04:28:20PM +0200, Theo Buehler wrote: > An alias must be called `_c' in order for it to be executed upon > entering `@c' in ksh's vi command mode, not jsut `c'. > > The markup is taken from the corresponding line 900 in sh.1 > fixed, thanks. jmc > Index: bin/ksh/ksh.1 >

Re: Document lidsuspend in sysctl(8)

2015-10-17 Thread Jason McIntyre
On Tue, Oct 13, 2015 at 09:10:22PM +0200, Mike Burns wrote: > Index: sbin/sysctl/sysctl.8 > === > RCS file: /cvs/src/sbin/sysctl/sysctl.8,v > retrieving revision 1.187 > diff -u -p -r1.187 sysctl.8 > --- sbin/sysctl/sysctl.8 3 Oct

Re: ld.so does not use already loaded objects if full path is used

2015-10-17 Thread Philip Guenther
On Fri, Oct 16, 2015 at 7:16 AM, Peter Hajdu wrote: > I found something that seems to be a bug in ld.so. If I load a > shared library with full path with dlopen, it does not check if the > library is already loaded. I was hoping someone can have a look at > it too, I might have missed something.

Re: smtpd needs to pledge unix for lmtp socket delivery

2015-10-17 Thread trondd
On Sat, October 17, 2015 12:59 pm, trondd wrote: > > smtpd needs to pledge unix to support delivery_backend_lmtp to a socket. > And now that I am getting email, I see this was fixed just minutes after I had updated my cvs checkout. :) Carry on. Tim.

smtpd needs to pledge unix for lmtp socket delivery

2015-10-17 Thread trondd
smtpd needs to pledge unix to support delivery_backend_lmtp to a socket. Config example: accept for domain "mydomain.com" alias deliver to lmtp "/var/dovecot/lmtp" Tim. Index: smtpd.c === RCS file: /cvs/src/usr.sbin/smtpd/smtpd.c

ksh.1: need preceding underscore for macro expansion

2015-10-17 Thread Theo Buehler
An alias must be called `_c' in order for it to be executed upon entering `@c' in ksh's vi command mode, not jsut `c'. The markup is taken from the corresponding line 900 in sh.1 Index: bin/ksh/ksh.1 === RCS file: /var/cvs/src/bin/ks

Re: two bge(4) bugfixes

2015-10-17 Thread Miod Vallat
> > Date: Thu, 15 Oct 2015 17:23:21 + > > From: Miod Vallat > > > > The following diff attempts to fix two small bge(4) bugs: > > > > - the first chunk fixes what seems to be a logic error on BCM 5720, > > where the code attemps to preserve the state of four bits, but these > > have actu