Re: Fix AHCI on SUNXI

2014-11-26 Thread David Gwynne
jsg, this is OK by me now On 27/11/2014 2:33 pm, "Edwin Amsler" wrote: > Rebuilt, and it seems fine. I added an ampersand for testing, but I found > that should be optional (I’m no C guru). This is literally what my source > tree was when this was built. Just for reference. > > Index: arch/armv7/

Re: Fix AHCI on SUNXI

2014-11-26 Thread Edwin Amsler
Rebuilt, and it seems fine. I added an ampersand for testing, but I found that should be optional (I’m no C guru). This is literally what my source tree was when this was built. Just for reference. Index: arch/armv7/sunxi/sxiahci.c

Re: tcpdump: Ethernet header is not dumped with -xX if IP header is unaligned

2014-11-26 Thread Theo de Raadt
> On Tue, Nov 25, 2014 at 18:42 +0100, Mike Belopuhov wrote: > > On Mon, Nov 24, 2014 at 19:04 +0100, Mike Belopuhov wrote: > > > Hi, > > > > > > IP header is not always aligned since bpf copies out the mbuf > > > chain into the contigous buffer provided by the userland. I've > > > seen this with

Re: locate(1): ignore paths longer than MAXPATHLEN

2014-11-26 Thread Tobias Stoeckmann
On Wed, Nov 26, 2014 at 09:48:15PM +0100, Nicolas Bedos wrote: > Last update, with Tobias's help. > > The following diff > - changes MAXPATHLEN from sys/param.h to PATH_MAX from limits.h > - adds a missing prototype for sane_count > - locate.bigram and locate.code now abort when reading a pathnam

Re: locate(1): ignore paths longer than MAXPATHLEN

2014-11-26 Thread Nicolas Bedos
Last update, with Tobias's help. The following diff - changes MAXPATHLEN from sys/param.h to PATH_MAX from limits.h - adds a missing prototype for sane_count - locate.bigram and locate.code now abort when reading a pathname exceeding PATH_MAX bytes on stdin Index: src/usr.bin/locate//bigram

future direction of /var/tmp

2014-11-26 Thread thevoid
On Wed, 26 Nov 2014 08:52:30 -0700 (MST) Antoine Jacoutot wrote: > CVSROOT: /cvs > Module name: src > Changes by: ajacou...@cvs.openbsd.org 2014/11/26 08:52:30 > > Modified files: > usr.sbin/sysmerge: sysmerge.8 sysmerge.sh > > Log message: > Drop sysmerge.log ; it used to

Re: httpd: don't send error body with HEAD method

2014-11-26 Thread Bertrand Janin
Bertrand Janin wrote : > Philip Guenther wrote : > > On Mon, Nov 24, 2014 at 11:24 AM, Florian Obser wrote: > > ... > > > Since we are probably not supposed to send a "Content-Type" header I > > > think it makes sense to duplicate the httpmsg generating code in this > > > case; > > > > If a GET o

libtls: Secure default cipher list and dtls support

2014-11-26 Thread Manuel Schoelling
Hi, I hope this is the right mailing list for discussing this issue. I could not find any information about a mailing list on libressl.org. It currently looks like the libtls version does not set a list of secure ciphers by default (e.g. that does not include MD5 or SHA-1). Would it be a reasonab

operations on nd_prefix list must take rdomain into account

2014-11-26 Thread Mike Belopuhov
More rdomain checks are needed to be able to use the same subnet in a back to back connection between IPv6 rdomains as pointed out by mpi@. OK? diff --git sys/netinet6/nd6.c sys/netinet6/nd6.c index 9616187..d704cd6 100644 --- sys/netinet6/nd6.c +++ sys/netinet6/nd6.c @@ -1264,10 +1264,13 @@ nd6_

Re: tcpdump: Ethernet header is not dumped with -xX if IP header is unaligned

2014-11-26 Thread Mike Belopuhov
On Tue, Nov 25, 2014 at 18:42 +0100, Mike Belopuhov wrote: > On Mon, Nov 24, 2014 at 19:04 +0100, Mike Belopuhov wrote: > > Hi, > > > > IP header is not always aligned since bpf copies out the mbuf > > chain into the contigous buffer provided by the userland. I've > > seen this with large packet

Re: pf(4) and "struct route"

2014-11-26 Thread Todd C. Miller
On Wed, 26 Nov 2014 15:21:43 +0100, Martin Pieuchot wrote: > And know with the correct diff... Looks good. - todd

Re: 64-bit PCI bridge support: testers needed

2014-11-26 Thread Mark Kettenis
> From: sven falempin > Date: Wed, 26 Nov 2014 10:10:51 -0500 > > HEllo, > > So i reported a bug with a pci bridge a while ago. On an Apu with a > pci to pci bridge over pci express. > Dmesg below > > I use a recent snapshot > OpenBSD 5.6-current (GENERIC.MP) #610: Tue Nov 25 06:00:07 MST 2014

Re: 64-bit PCI bridge support: testers needed

2014-11-26 Thread sven falempin
HEllo, So i reported a bug with a pci bridge a while ago. On an Apu with a pci to pci bridge over pci express. Dmesg below I use a recent snapshot OpenBSD 5.6-current (GENERIC.MP) #610: Tue Nov 25 06:00:07 MST 2014 and assume the commit was in The situation improved, as i can have the card runn

Re: pf(4) and "struct route"

2014-11-26 Thread Martin Pieuchot
On 26/11/14(Wed) 13:32, Martin Pieuchot wrote: > On 25/11/14(Tue) 15:16, Todd C. Miller wrote: > > On Tue, 25 Nov 2014 16:43:16 +0100, Martin Pieuchot wrote: > > > > > Diff below removes the non-needed usages of "struct route" & friends in > > > pf.c, any comment or ok? > > > > You are missing s

rdomain & IPv6 local addresses

2014-11-26 Thread Martin Pieuchot
While debugging the recent "route change" regression I found various bugs in the code handling IPv6 addresses. The most ugly one, because it leaves you with a null ifp pointer in your routing table, is fixed by the diff below. Basically if you try to remove an address from an interface, by deleti

Re: Fix AHCI on SUNXI

2014-11-26 Thread Edwin Amsler
It’s getting stuck in a reboot loop. Not enough time to investigate at the moment, but I’ll dig into this soon. It may be my build environment. On Nov 25, 2014, at 5:54 AM, Jonathan Gray wrote: > On Mon, Nov 24, 2014 at 08:12:33PM -0600, Edwin Amsler wrote: >> Here are the changes needed to ma

Re: guess softraid as default rootdev for install/upgrade

2014-11-26 Thread Ingo Schwarze
Hi Jean-Philippe, Jean-Philippe Ouellet wrote on Wed, Nov 26, 2014 at 03:05:27AM -0500: > Finally found some free time. > > What would you think of making the "Which disk is the root disk?" > question default to the first softraid device you have configured, > if any. I don't like that. > The

Re: pf(4) and "struct route"

2014-11-26 Thread Martin Pieuchot
On 25/11/14(Tue) 15:16, Todd C. Miller wrote: > On Tue, 25 Nov 2014 16:43:16 +0100, Martin Pieuchot wrote: > > > Diff below removes the non-needed usages of "struct route" & friends in > > pf.c, any comment or ok? > > You are missing some initializations of rt to NULL, comments inline. Thanks f

Re: Behavior of changing routes on OpenBSD 5.6

2014-11-26 Thread Martin Pieuchot
Hello Florian, On 26/11/14(Wed) 06:56, Florian Riehm wrote: > since OpenBSD 5.6 route change messages can change the interface of a route > (rt_ifa) even if a message doesn't seem to require it because of a changed > gateway or stuff like that. > I would like to ask if it's a regression or if the

Re: patch: properly check NULL return values

2014-11-26 Thread Tobias Stoeckmann
Hi, turns out that there are a few more bad savestr calls even inside of pch.c. Some of the code pathes are quite obvious that a NULL return value would lead to a null pointer dereference, others would last longer before dereferencing. Carefully reviewing the savestr calls, the rule of thumb seem

Re: guess softraid as default rootdev for install/upgrade

2014-11-26 Thread Stuart Henderson
On 2014/11/26 03:05, Jean-Philippe Ouellet wrote: > > What would you think of making the "Which disk is the root disk?" > question default to the first softraid device you have configured, > if any. softraid isn't the only place where the guessed value is incorrect; if the information can be made

Re: guess softraid as default rootdev for install/upgrade

2014-11-26 Thread Stefan Sperling
On Wed, Nov 26, 2014 at 03:05:27AM -0500, Jean-Philippe Ouellet wrote: > Hello, > > Finally found some free time. > > What would you think of making the "Which disk is the root disk?" > question default to the first softraid device you have configured, > if any. > > The thinking is if you bother

Re: iked control process crash at startup

2014-11-26 Thread Vincent Gross
On Tue, Nov 25, 2014 at 05:35:19PM +0100, Mike Belopuhov wrote: [...] > > señior pedro@ was kind enough to send a potential fix for this. > this will be commited soon. > > > diff --git sbin/iked/ca.c sbin/iked/ca.c > index e43b58b..a008f99 100644 > --- sbin/iked/ca.c > +++ sbin/iked/ca.c > @@ -5

guess softraid as default rootdev for install/upgrade

2014-11-26 Thread Jean-Philippe Ouellet
Hello, Finally found some free time. What would you think of making the "Which disk is the root disk?" question default to the first softraid device you have configured, if any. The thinking is if you bothered to actually configure a softraid device, it's probably because you actually intend to