ksh(1): fix $RANDOM documentation

2017-02-18 Thread Anton Lindqvist
Usage of rand was replaced with arc4random (var.c, r1.17) and later documented (ksh.1, r1.70). The change was later on reverted (var.c, r1.39) back to using rand and srand_deterministic. The patch below removes the explicit mention of arc4random and documents the current behavior. Index: ksh.1

regress/pledge: generic cleanup

2017-02-18 Thread Sebastien Marie
Hi, The regress/sys/kern/pledge/generic test is disabled and currently failing mostly due to the fact that wlpaths is disabled in GENERIC kernel. So remove (or disable exactly) parts related to wlpaths in "generic" test suite also. It also remove test_mmap() function which tested prot_exec

Logitech webcams

2017-02-18 Thread Jordon
I think there may be an error in the list of supported Logitech USB webcams. I have a “Pro Webcam” [http://www.logitech.com/en-us/product/12131?crid=34] Part No: 960-001070 When I plug it in, OpenBSD finds this: uvideo0 at uhub3 port 1 configuration 1 interface 0 "Logitech Logitech Webcam

Re: c99 initialize struct protosw

2017-02-18 Thread David Hill
On Sat, Feb 18, 2017 at 09:22:44PM -0500, David Hill wrote: > Hello - > > This moves the 'struct protosw' declarations to use C99 initializers. > Requested by mpi@ > Apologies for not explaining the reason for the diff. It would allow us to easily grep for a member, such as pr_ctloutput, and

Re: don't attempt to build binutils 2.15 on arm64

2017-02-18 Thread Theo de Raadt
> > > Manual pages depend on running configure which again doesn't know about > > > aarch64. > > > > > > Index: Makefile.bsd-wrapper > > > === > > > RCS file: /cvs/src/gnu/usr.bin/binutils/Makefile.bsd-wrapper,v > > > > I would

Re: don't attempt to build binutils 2.15 on arm64

2017-02-18 Thread Jonathan Gray
On Sat, Feb 18, 2017 at 06:27:51PM -0800, Philip Guenther wrote: > On Sat, Feb 18, 2017 at 6:16 PM, Jonathan Gray wrote: > > binutils 2.15 is built for gdb. There is no support for arm64/aarch64 > > here and it doesn't build so don't try to. > > > > Manual pages depend on running

Re: don't attempt to build binutils 2.15 on arm64

2017-02-18 Thread Philip Guenther
On Sat, Feb 18, 2017 at 6:16 PM, Jonathan Gray wrote: > binutils 2.15 is built for gdb. There is no support for arm64/aarch64 > here and it doesn't build so don't try to. > > Manual pages depend on running configure which again doesn't know about > aarch64. > > Index:

c99 initialize struct protosw

2017-02-18 Thread David Hill
Hello - This moves the 'struct protosw' declarations to use C99 initializers. Requested by mpi@ Index: kern/uipc_proto.c === RCS file: /cvs/src/sys/kern/uipc_proto.c,v retrieving revision 1.11 diff -u -p -r1.11 uipc_proto.c ---

don't attempt to build binutils 2.15 on arm64

2017-02-18 Thread Jonathan Gray
binutils 2.15 is built for gdb. There is no support for arm64/aarch64 here and it doesn't build so don't try to. Manual pages depend on running configure which again doesn't know about aarch64. Index: Makefile.bsd-wrapper === RCS

Re: asr EDNS0 support

2017-02-18 Thread Eric Faurot
On Sat, Feb 18, 2017 at 03:53:54PM +0100, Jeremie Courreges-Anglas wrote: > > > Seems to work fine here. We already use a 4096 bytes input buffer, the > edns0 option makes libc advertize this to the DNS resolver. nsd, > unbound, dig(1) and ports/net/isc-bind support this feature. I'm not >

pflow(4) percpu counters

2017-02-18 Thread Jeremie Courreges-Anglas
This one is a bit weird, the driver doesn't just increment the stats but also uses them at runtime, hence the additional helper functions. ok? Index: net/if_pflow.h === RCS file: /d/cvs/src/sys/net/if_pflow.h,v retrieving revision

asr EDNS0 support

2017-02-18 Thread Jeremie Courreges-Anglas
Seems to work fine here. We already use a 4096 bytes input buffer, the edns0 option makes libc advertize this to the DNS resolver. nsd, unbound, dig(1) and ports/net/isc-bind support this feature. I'm not suggesting that we use it by default right now, but this could be a desirable change.

pfsync(4) percpu counters

2017-02-18 Thread Jeremie Courreges-Anglas
ok? Index: net/if_pfsync.c === RCS file: /d/cvs/src/sys/net/if_pfsync.c,v retrieving revision 1.244 diff -u -p -r1.244 if_pfsync.c --- net/if_pfsync.c 29 Jan 2017 19:58:47 - 1.244 +++ net/if_pfsync.c 18 Feb 2017

carp(4) percpu counters

2017-02-18 Thread Jeremie Courreges-Anglas
ok? Index: netinet/ip_carp.c === RCS file: /d/cvs/src/sys/netinet/ip_carp.c,v retrieving revision 1.301 diff -u -p -r1.301 ip_carp.c --- netinet/ip_carp.c 29 Jan 2017 19:58:47 - 1.301 +++ netinet/ip_carp.c 18 Feb 2017