Re: replace microtime with getmicrouptime in ip_mroute.c

2016-09-07 Thread Claudio Jeker
On Thu, Sep 08, 2016 at 11:54:01AM +1000, David Gwynne wrote: > it uses the time to rate limit the sending of assertion messages. > > there are two reasons for this change. > > firstly, using uptime instead of wall time means the intervals will > be measured against a a monotonic clock that isnt

[patch] Some consistence

2016-09-07 Thread Daniel Bolgheroni
Some consistence. Index: ls.1 === RCS file: /cvs/src/bin/ls/ls.1,v retrieving revision 1.77 diff -u -p -r1.77 ls.1 --- ls.110 Aug 2016 19:46:43 - 1.77 +++ ls.18 Sep 2016 01:44:18 - @@ -370,7 +370,7 @@ and

Re: Default softraid crypto PBKDF2 rounds

2016-09-07 Thread Damien Miller
On Wed, 7 Sep 2016, Andreas Bartelt wrote: > yes, due to the larger internal state of the blowfish algorithm which is > harder to efficiently realize in dedicated hardware. However, since bcrypt's > internal state effectively is of fixed size, scrypt would be an even better > option since it

look(1): eliminate FOLD and DICT macros

2016-09-07 Thread Todd C. Miller
There's no need to check for isascii() with ANSI ctype macros/functions. Eliminating the macros makes the code clearer. - todd Index: usr.bin/look/look.c === RCS file: /cvs/src/usr.bin/look/look.c,v retrieving revision 1.18 diff -u

remove unreachable code from all audio drivers

2016-09-07 Thread Alexandre Ratchov
This diff deletes unreachable code in low-level audio drivers. As this touches all archs, tests (a quick kernel build is enough) are welcome on anything but amd64 and i386. OK? Index: share/man/man9/audio.9 === RCS file:

static pie for arm

2016-09-07 Thread Mark Kettenis
Diff below makes static pie work on arm. While reviewing the MD_CRT0_START assembly I noticed that we don't actually need to save r4 and r5 on the stack as those arguments are unused. I also removed the useless comment around the stack alignment code. I'll probably hold off on the bsd.own.mk

Re: mount(8): remove unneeded headers

2016-09-07 Thread Ted Unangst
Michal Mazurek wrote: > ok? > > Index: sbin/mount/getmntopts.c > === > RCS file: /cvs/src/sbin/mount/getmntopts.c,v > retrieving revision 1.12 > diff -u -p -r1.12 getmntopts.c > --- sbin/mount/getmntopts.c 16 Jan 2015 06:39:59

Re: Fix Wacom Intuos S 2 descriptor and make wsmouse work

2016-09-07 Thread Frank Groeneveld
On Wed, Sep 07, 2016 at 12:12:43AM +0200, Ulf Brosziewski wrote: > Hi, I was a bit hasty, I should have mentioned that calling > wsmouse_input_sync is required here. The equivalent of your > code would would be this: > > if (x != 0 || y != 0 || buttons != ms->sc_buttons) { >

mount(8): remove unneeded headers

2016-09-07 Thread Michal Mazurek
ok? Index: sbin/mount/getmntopts.c === RCS file: /cvs/src/sbin/mount/getmntopts.c,v retrieving revision 1.12 diff -u -p -r1.12 getmntopts.c --- sbin/mount/getmntopts.c 16 Jan 2015 06:39:59 - 1.12 +++

ping(8): fix multicast source address selection

2016-09-07 Thread Florian Obser
This got broken in rev 1.136 9 months ago. Sorry about that. Tests / OKs? p.s. applying + diff -bu is easier to figure out what's going on. diff --git ping.c ping.c index 9c2395a..b879d6f 100644 --- ping.c +++ ping.c @@ -121,7 +121,6 @@ int options; int moptions; #define

Re: mg: Collect forked off children from M-| command

2016-09-07 Thread Todd C. Miller
On Wed, 07 Sep 2016 12:05:22 -, Mark Lumsden wrote: > Source Joachim Nilsson: > > Collect forked off children from M-| command > > Mg left zombies from commands executed when piping a region of text to > an external command. This patch makes sure to collect for the child >

Re: mg: Collect forked off children from M-| command

2016-09-07 Thread Sunil Nimmagadda
On Wed, Sep 07, 2016 at 12:05:22PM +, Mark Lumsden wrote: > Source Joachim Nilsson: > > Collect forked off children from M-| command > > Mg left zombies from commands executed when piping a region of text to > an external command. This patch makes sure to collect for the child >

Re: Default softraid crypto PBKDF2 rounds

2016-09-07 Thread Andreas Bartelt
On 09/07/16 09:16, Damien Miller wrote: On Tue, 6 Sep 2016, David Coppa wrote: Il 6 settembre 2016 14:56:32 CEST, Filippo Valsorda ha scritto: Hello, I recently had the occasion to dive into the softraid crypto code [1] and was quite pleased with the cleanliness of it all.

Re: [patch] make npppd do as the man page says

2016-09-07 Thread YASUOKA Masahiko
Sorry for long delay. Using empty sting for hostname in PPTP is intentional. So I will fix the man page. Thank you for your report. On Tue, 8 Mar 2016 11:20:40 + Joe Holden wrote: > Below is a patch that corrects pptp to set the pptp hostname as the > system

Re: smtpd shutdown cleanup

2016-09-07 Thread Gilles Chehade
On Tue, Sep 06, 2016 at 11:31:04PM +0200, Eric Faurot wrote: > Previously, all processes would shutdown on receiving SIGINT or SIGTERM. > When going down, the parent process would kill all the other process and > waitpid() them. > > Now, only the parent process handles SIGTERM and SIGINT, other

Re: Default softraid crypto PBKDF2 rounds

2016-09-07 Thread Damien Miller
On Tue, 6 Sep 2016, David Coppa wrote: > Il 6 settembre 2016 14:56:32 CEST, Filippo Valsorda ha > scritto: > >Hello, > > > >I recently had the occasion to dive into the softraid crypto code [1] > >and was quite pleased with the cleanliness of it all. However, I found >

Re: Some cleanups and tweaks for wc(1)

2016-09-07 Thread Joerg Jung
> On 04 Sep 2016, at 00:06, Frederic Cambus wrote: > > Hi tech@, > > Some cleanups and tweaks for wc(1): > > - Removed unnecessary string.h include > - Changed 'format_and_print' argument type to int64_t and casting > inside the function > - Declaring 'print_counts',