Re: assert(3) manpage tweaks

2014-12-06 Thread Kaspars Bankovskis
The reason I changed it to 'the' was consistency. Because in previous sentence it says 'The assert() macro', so it looks a bit weird at the first glance. But I agree, your argument about different way of implementing it makes sense. On Sun, Dec 07, 2014 at 02:33:29AM +0100, Ingo Schwarze wrote: >

[PATCH] Enable LibreSSL-portable optimized crypto operations

2014-12-06 Thread Brent Cook
This adds initial support for assembly crypto acceleration on ELF x86_64 targets. I got tired of being unable to do good benchmarks due to AES crypto being so slow, so I split up Wouter's original giant patch, got all the infrastructure bits out of the way (the big 'update.sh' file is much smaller

Re: LibreSSL Windows port status update

2014-12-06 Thread Brent Cook
The 32-bit windows support has been landed in the portable tree now for a few days now. Please try it out and report and/or fix any issues you find. I did a 64-bit build earlier today and there are a few bad pointer->long casts (long is < size_t on win64), but nothing major that I saw. On Sun, No

CH351 support for puc(4)

2014-12-06 Thread Dmitry Alenichev
puc0 at pci1 dev 18 function 0 "Nanjing QinHeng Electronics CH351" rev 0x0f: ports: 2 com com0 at puc0 port 0 irq 52: ns16550a, 16 byte fifo com1 at puc0 port 1 irq 52: ns16550a, 16 byte fifo Index: pcidevs === RCS file: /OpenBSD/src

Re: assert(3) manpage tweaks

2014-12-06 Thread Ingo Schwarze
Hi Kaspars, Kaspars Bankovskis wrote on Sat, Dec 06, 2014 at 11:07:50PM +0200: > macro fixes, mostly. Committed with the following exception. Thanks, Ingo > Index: assert.3 > === > RCS file: /cvs/src/share/man/man3/assert.3,v >

Re: siphash manpage: some more details

2014-12-06 Thread Theo de Raadt
>@@ -107,3 +107,13 @@ and > return the 64-bit message digest in the host's native endian representation. > .Sh SEE ALSO > .Xr arc4random_buf 9 >+.Sh HISTORY >+The SipHash algorithm was published in >+.Pp >+.Rs >+.%A Jean-Philippe Aumasson >+.%A Daniel J. Bernstein >+.%T SipHash: a fast short-input

getrusage(2) manpage update

2014-12-06 Thread Kaspars Bankovskis
One flag was undocumented + some cleanup. Index: getrusage.2 === RCS file: /cvs/src/lib/libc/sys/getrusage.2,v retrieving revision 1.15 diff -u -p -r1.15 getrusage.2 --- getrusage.2 17 Jul 2013 05:42:11 - 1.15 +++ getrusage.2

Re: siphash manpage: some more details

2014-12-06 Thread Max Fillinger
Here's a version without If, but with the paper, then. Since, it's not an official standard, I figured that the HISTORY section would be the right place. Correct? Index: share/man/man9/SipHash24.9 === RCS file: /cvs/src/share/man/man

typo

2014-12-06 Thread Kaspars Bankovskis
Small typo fix, for the sake of correctness. Index: kern_time.c === RCS file: /cvs/src/sys/kern/kern_time.c,v retrieving revision 1.88 diff -u -p -r1.88 kern_time.c --- kern_time.c 15 May 2014 04:36:33 - 1.88 +++ kern_time.c

assert(3) manpage tweaks

2014-12-06 Thread Kaspars Bankovskis
Hi, macro fixes, mostly. Index: assert.3 === RCS file: /cvs/src/share/man/man3/assert.3,v retrieving revision 1.8 diff -u -p -r1.8 assert.3 --- assert.35 Jun 2013 03:42:03 - 1.8 +++ assert.36 Dec 2014 19:23:45 -

stdarg(3) manpage tweaks

2014-12-06 Thread Kaspars Bankovskis
Hi, I'm proposing the following changes to stdarg(3). Moved description of return values to its own section + macro cleanup. Index: stdarg.3 === RCS file: /cvs/src/share/man/man3/stdarg.3,v retrieving revision 1.18 diff -u -p -r1.18

Re: siphash manpage: some more details

2014-12-06 Thread Ted Unangst
On Sat, Dec 06, 2014 at 20:15, Max Fillinger wrote: > To pass the time until siphash arrives in userland... > > I'd like to suggest some changes to the manpage of SipHash24(9): > I added some more details about the intended purpose of SipHash and I > moved the recommendation to use arc4random for

siphash manpage: some more details

2014-12-06 Thread Max Fillinger
To pass the time until siphash arrives in userland... I'd like to suggest some changes to the manpage of SipHash24(9): I added some more details about the intended purpose of SipHash and I moved the recommendation to use arc4random for the key to the beginning. In case you don't like this diff, I

Re: a variety of memcpy

2014-12-06 Thread Todd C. Miller
On Fri, 05 Dec 2014 18:06:35 -0500, Ted Unangst wrote: > Here are some bcopy calls in kern that could be memcpy. Looks good, one comment inline. > Index: kern_ktrace.c > === > RCS file: /cvs/src/sys/kern/kern_ktrace.c,v > retrieving

Re: upd(4) buggy firmware

2014-12-06 Thread Martin Pieuchot
Hello David, On 05/12/14(Fri) 14:02, David Higgs wrote: > On Dec 4, 2014, at 4:30 PM, David Higgs wrote: > > > I am trying to figure out how to handle the buggy USB firmware in my UPS > > (see misc@ thread from last week). With some kernel debug enabled, I see > > "usb_transfer_complete: shor