Re: random malloc junk

2016-09-16 Thread Otto Moerbeek
On Fri, Sep 16, 2016 at 09:30:15PM +0200, Otto Moerbeek wrote: > On Thu, Sep 15, 2016 at 10:08:26AM -0400, Ted Unangst wrote: > > > Otto Moerbeek wrote: > > > On Wed, Sep 14, 2016 at 12:53:05PM -0400, Ted Unangst wrote: > > > > > > > Daniel Micay wrote: > > > > > > > > > > The current OpenBSD

alignment error rtadvd/armv7

2016-09-16 Thread Martin Brandenburg
On a PandaBoard (armv7) running -current, when I run rtadvd, it crashes with a bus error shortly after printing (received a routing message). I can reproduce by sending SIGHUP to a dhclient running on the same interface. I have traced this down to the following block of code in rtadvd.c.

little simpler ssh code

2016-09-16 Thread Ted Unangst
no change, but makes the code a little shorter. Index: clientloop.c === RCS file: /cvs/src/usr.bin/ssh/clientloop.c,v retrieving revision 1.287 diff -u -p -r1.287 clientloop.c --- clientloop.c12 Sep 2016 01:22:38 -

Re: define ELF_CTF in exec_elf.h

2016-09-16 Thread Philip Guenther
On Fri, Sep 16, 2016 at 12:19 PM, Jasper Lievisse Adriaanse wrote: > This moves the definition of ELF_CTF into exec_elf.h and adjusts the > loadfile_elf.c copies accordingly. > > OK? ok except for one bit: > --- share/man/man5/elf.57 Sep 2016 18:42:01 -

Re: random malloc junk

2016-09-16 Thread Otto Moerbeek
On Thu, Sep 15, 2016 at 10:08:26AM -0400, Ted Unangst wrote: > Otto Moerbeek wrote: > > On Wed, Sep 14, 2016 at 12:53:05PM -0400, Ted Unangst wrote: > > > > > Daniel Micay wrote: > > > > > > > > The current OpenBSD code only wipes up to MALLOC_MAXCHUNK with junk @ 1, > > > > and it similarly

define ELF_CTF in exec_elf.h

2016-09-16 Thread Jasper Lievisse Adriaanse
Hi, This moves the definition of ELF_CTF into exec_elf.h and adjusts the loadfile_elf.c copies accordingly. OK? Index: share/man/man5/elf.5 === RCS file: /cvs/src/share/man/man5/elf.5,v retrieving revision 1.32 diff -u -p -r1.32

Re: [RFC] domain name matching support for rebound(8)

2016-09-16 Thread Stuart Henderson
On 2016/09/16 11:40, Ted Unangst wrote: > Dimitris Papastamos wrote: > > By the way, what do you think about TCP caching support? I could send > > a patch to do just that. Caching sounds complicated, DNS is a bit of a minefield to handle, you have to cope with things like compression - not that

fix clang types on arm

2016-09-16 Thread Mark Kettenis
On OpenBSD we use a consistent set of typedefs across platforms for the types specified by the C standard. In some cases these deviate from what the processor-specific ABI says. The diff below fixes the ones relevant for arm, pretty much by following NetBSD. ok? Oh, and how do we handle

Re: teach BFD how to send route messages

2016-09-16 Thread Peter Hessler
On 2016 Sep 15 (Thu) at 16:30:50 +0200 (+0200), Peter Hessler wrote: :Based on the above, and a few private comments, I will change the name :away from bfd_softc. Here is a diff doing a massive rename. It is mostly mechanical, functional changes will come later. I can still establish and bring

Re: PT_ARM_EXIDX

2016-09-16 Thread Philip Guenther
On Fri, Sep 16, 2016 at 11:14 AM, Mark Kettenis wrote: > The ARM EABI exception handling support introduced a new program > header entry type. This adds it to the appropriate header file. I'm > working on some code that uses this. > > ok? Matches what binutils-2.17

clang makefiles for arm

2016-09-16 Thread Mark Kettenis
I'm working on arm support for the in-tree llvm. I've got it working well enough to build "Hello, World", but I still have some exception handling issues. As a first step, this adds the build infrastructure. ok? Index: include/llvm/ARM/Makefile

crypto/ bcopy->memcpy

2016-09-16 Thread David Hill
Hello - Here are a few bcopy to memcpy conversions for crypto/ Index: crypto/crypto.c === RCS file: /cvs/src/sys/crypto/crypto.c,v retrieving revision 1.77 diff -u -p -r1.77 crypto.c --- crypto/crypto.c 15 Sep 2016 02:00:17

Re: [RFC] domain name matching support for rebound(8)

2016-09-16 Thread Ted Unangst
Dimitris Papastamos wrote: > By the way, what do you think about TCP caching support? I could send > a patch to do just that. It seems unnecessary. tcp proxy support is there because it's necessary, but not because i think it's likely to be used. i'm pretty sure i never use it, except when i

Re: timeout_set_proc(9)

2016-09-16 Thread Mark Kettenis
> Date: Thu, 15 Sep 2016 16:29:45 +0200 > From: Martin Pieuchot > > After discussing with a few people about a new "timed task" API I came > to the conclusion that mixing timeouts and tasks will result in: > > - always including a 'struct timeout' in a 'struct task', or the

Re: timeout_set_proc(9)

2016-09-16 Thread Mark Kettenis
> Date: Fri, 16 Sep 2016 16:03:50 +0200 > From: Vincent Gross > > On Thu, 15 Sep 2016 16:29:45 +0200 > Martin Pieuchot wrote: > > > After discussing with a few people about a new "timed task" API I came > > to the conclusion that mixing timeouts and tasks

Re: timeout_set_proc(9)

2016-09-16 Thread Vincent Gross
On Thu, 15 Sep 2016 16:29:45 +0200 Martin Pieuchot wrote: > After discussing with a few people about a new "timed task" API I came > to the conclusion that mixing timeouts and tasks will result in: > > - always including a 'struct timeout' in a 'struct task', or the > other

Re: [RFC] domain name matching support for rebound(8)

2016-09-16 Thread Dimitris Papastamos
On Fri, Sep 16, 2016 at 09:09:44AM -0400, Ted Unangst wrote: > Dimitris Papastamos wrote: > > Hi everyone, > > > > I've put together a patch for 6.0-stable that adds domain name > > matching support to rebound(8). The patch is quite rough at the > > moment. > > > > The config is as follows: > >

Re: [RFC] domain name matching support for rebound(8)

2016-09-16 Thread Ted Unangst
Dimitris Papastamos wrote: > Hi everyone, > > I've put together a patch for 6.0-stable that adds domain name > matching support to rebound(8). The patch is quite rough at the > moment. > > The config is as follows: > > match "local." 10.0.0.53 > match "." 8.8.8.8 So this is taking

[RFC] domain name matching support for rebound(8)

2016-09-16 Thread Dimitris Papastamos
Hi everyone, I've put together a patch for 6.0-stable that adds domain name matching support to rebound(8). The patch is quite rough at the moment. The config is as follows: match "local." 10.0.0.53 match "." 8.8.8.8 Requests to foo.local. are sent over to 10.0.0.53, all other

Re: list all iwm(4) firmware files

2016-09-16 Thread Peter Hessler
None of those files are actually used in the code, so this would not make sense. On 2016 Sep 16 (Fri) at 10:45:06 +0200 (+0200), Jan Stary wrote: :Index: iwm.4 :=== :RCS file: /cvs/src/share/man/man4/iwm.4,v :retrieving revision

list all iwm(4) firmware files

2016-09-16 Thread Jan Stary
Index: iwm.4 === RCS file: /cvs/src/share/man/man4/iwm.4,v retrieving revision 1.18 diff -u -p -r1.18 iwm.4 --- iwm.4 28 May 2016 18:31:14 - 1.18 +++ iwm.4 16 Sep 2016 08:44:13 - @@ -71,8 +71,12 @@ which are

Re: binutils-2.17 ownership fixes

2016-09-16 Thread Martin Natano
On Thu, Sep 15, 2016 at 09:07:49PM -0700, Philip Guenther wrote: > On Thu, Sep 15, 2016 at 1:58 PM, Martin Natano wrote: > > This should do it. The 'fix' is ugly, but I couldn't find a cleaner way > > to pass the right STRIP value to libtool. Any better ideas? Ok? > ... > > ---