Re: pledge(2) and exec

2015-10-09 Thread Doug Hogan
On Sat, Oct 10, 2015 at 08:17:13AM +0200, Martijn van Duren wrote: > I am however curious to this patch. By pledging ksh with exec it appears to > me that once a pledged process is execve(2)d it looses it's already made > pledges. (how else could applications spawned from the shell and still get >

pledge(2) and exec

2015-10-09 Thread Martijn van Duren
On 10/10/15 02:10, Theo de Raadt wrote: CVSROOT:/cvs Module name:src Changes by: dera...@cvs.openbsd.org 2015/10/09 18:10:08 Modified files: bin/ksh: Makefile c_sh.c main.c distrib/special/ksh: Makefile Log message: ksh can run with pledge "stdio rpath wp

Re: skey(1) cleanup

2015-10-09 Thread Michael Reed
On 10/09/15 19:06, Tim van der Molen wrote: > Michael Reed (2015-10-09 23:21 +0200): >> On 10/09/15 11:03, Tim van der Molen wrote: >>> Michael Reed (2015-10-09 09:10 +0200): The argument passed to usage() was always the same (argv[0]), so this patch removes the parameter and uses __progn

Re: skey(1) cleanup

2015-10-09 Thread Tim van der Molen
Michael Reed (2015-10-09 23:21 +0200): > On 10/09/15 11:03, Tim van der Molen wrote: > > Michael Reed (2015-10-09 09:10 +0200): > >> The argument passed to usage() was always the same (argv[0]), so > >> this patch removes the parameter and uses __progname instead. > >> The usage message was misalig

Re: skey(1) cleanup

2015-10-09 Thread Michael Reed
On 10/09/15 11:03, Tim van der Molen wrote: > Michael Reed (2015-10-09 09:10 +0200): >> The argument passed to usage() was always the same (argv[0]), so >> this patch removes the parameter and uses __progname instead. >> The usage message was misaligned, so I fixed that as well. > > This has alrea

locate mmap

2015-10-09 Thread Ted Unangst
i think it's idiotic for a program to offer users the choice between stdio and mmap modes. nobody knows which to pick, and it reveals some terrible incompetence somewhere else in the code. mmap is the default. it's effectively the only tested codepath. so burn down the stdio code path. pros: ever

Re: skey(1) cleanup

2015-10-09 Thread Tim van der Molen
Michael Reed (2015-10-09 09:10 +0200): > The argument passed to usage() was always the same (argv[0]), so > this patch removes the parameter and uses __progname instead. > The usage message was misaligned, so I fixed that as well. This has already been addressed in a diff I will commit shortly. Th

tcpdump: show more 11n HT caps

2015-10-09 Thread Stefan Sperling
When I added support for the HT Capabilities element to tcpdump(1) I left out a couple of fields we did not yet have #defines for. Since these fields contain valuable information (such as the MCS rates supported by an AP), let's print them, too. ok? Index: sys/net80211/ieee80211.h ==

Re: Bulkget & snmpd

2015-10-09 Thread Denis Fondras
On Thu, Oct 08, 2015 at 08:39:40AM +0100, Stuart Henderson wrote: > > O. And now I find Gerhard Roth's post > > > > https://marc.info/?l=openbsd-tech&m=143375327425321&w=2 > > Oh! I missed this one. Thank you very much Stuart. Denis

Re: Use proper .Xr syntax in yppush.8

2015-10-09 Thread Jason McIntyre
On Fri, Oct 09, 2015 at 10:46:41AM +0200, Theo Buehler wrote: > Index: usr.sbin/ypserv/yppush/yppush.8 > === > RCS file: /var/cvs/src/usr.sbin/ypserv/yppush/yppush.8,v > retrieving revision 1.16 > diff -u -p -r1.16 yppush.8 > --- usr.s

mg(1) Change onlywind() params

2015-10-09 Thread Mark Lumsden
Calling onlywind() in this way should use FFRAND and 1 as the repective parameters. ok? -lum Index: buffer.c === RCS file: /cvs/src/usr.bin/mg/buffer.c,v retrieving revision 1.99 diff -u -p -u -p -r1.99 buffer.c --- buffer.c26 S

Use proper .Xr syntax in yppush.8

2015-10-09 Thread Theo Buehler
Index: usr.sbin/ypserv/yppush/yppush.8 === RCS file: /var/cvs/src/usr.sbin/ypserv/yppush/yppush.8,v retrieving revision 1.16 diff -u -p -r1.16 yppush.8 --- usr.sbin/ypserv/yppush/yppush.8 16 Jul 2013 11:13:34 - 1.16 +++ us

Re: skey(1) cleanup

2015-10-09 Thread Theo Buehler
On Fri, Oct 09, 2015 at 03:10:38AM -0400, Michael Reed wrote: > The argument passed to usage() was always the same (argv[0]), so > this patch removes the parameter and uses __progname instead. > The usage message was misaligned, so I fixed that as well. > A few style(9) nits inline > Index: skey

skey(1) cleanup

2015-10-09 Thread Michael Reed
The argument passed to usage() was always the same (argv[0]), so this patch removes the parameter and uses __progname instead. The usage message was misaligned, so I fixed that as well. Index: skey.c === RCS file: /cvs/src/usr.bin/sk