Re: ipmi(4): fix panic() with witness(4)

2018-06-15 Thread YASUOKA Masahiko
On Thu, 14 Jun 2018 15:52:54 +0200 Martin Pieuchot wrote: > The problem is because you have an interrupt handler trying to grab the > KERNEL_LOCK(). I'd suggest using IPL_MPFLOOR instead of IPL_NONE when > initializing the mutex. Thanks. This also solved the problem. ok? Use IPL_MPFLOOR for

Re: [patch] Fix inaccurate comment in usr.bin/w/w.c

2018-06-15 Thread Nan Xiao
Hi Raf, Yes, I am in favour of 'nflag' should be modified to "aflag", and revise this patch. Thanks! Index: w.c === RCS file: /cvs/src/usr.bin/w/w.c,v retrieving revision 1.65 diff -u -p -r1.65 w.c --- w.c 18 Dec 2017 05:51:53 -

Re: httpd response mimetype bug

2018-06-15 Thread Hiltjo Posthuma
On Wed, Jun 13, 2018 at 08:07:11PM +0200, Reyk Floeter wrote: > On Sat, Jan 13, 2018 at 05:23:35PM +0100, Sebastian Benoit wrote: > > Hiltjo Posthuma(hil...@codemadness.org) on 2018.01.13 13:08:38 +0100: > > > On Sat, Jan 13, 2018 at 09:39:44AM +0100, Anton Lindqvist wrote: > > > > On Tue, Jan 09,

Re: Timeouting the pkg_add

2018-06-15 Thread sven falempin
Thank you all, looks like it was just noise, the unused http code got me worry. -- Short: DOH !! Code : /usr/libdata/perl5/OpenBSD/Paths.pm:sub ftp() { $ENV{'FETCH_CMD'} || '/usr/bin/ftp' } Man : FETCH_CMDOverride use of ftp(1). Must point to a command that

integer divide fault trap: ilk_compute_vm_level panic

2018-06-15 Thread Mikhail
Hello, tech@, I'm running freshly upgraded -current (upgraded via today snapshot from -stable 6.3 where I had similar issue) on my ThinkPad Edge 530. I get attached panic when my monitor is connected through HDMI port, the panic happens just after the boot, on the moment when xenodm is starting.

On the matter of OpenBSD breaking embargos (KRACK)

2018-06-15 Thread Stefan Sperling
This a copy of internal discussion between me, Theo, and Mathy Vanhoef about KRACK, from the initial message I received from Mathy, up to today. I am making this public with Theos's and Mathy's consent, without redaction. I have annotated quoted blocks with names to make the discussion a bit

Re: On the matter of OpenBSD breaking embargos (KRACK)

2018-06-15 Thread Theo de Raadt
Thank you Stefan and Mathy for setting the record straight. This archive is relevant as a followup to comments Gordon Tetlows (FreeBSD Security Officer) made in an audience a week ago (I honestly didn't know who/what until a few hours ago). However, this reconstruction is because others have

Re: kqueue: move members from filedesc to kqueue

2018-06-15 Thread Anton Lindqvist
On Tue, Jun 12, 2018 at 09:00:14PM +0200, Anton Lindqvist wrote: > Hi, > This diff moves the kqueue related members from struct filedesc to > struct kqueue with the prime motivation of fixing a panic in > knote_processexit() that can occur when the filedesc is gone. > Since filedesc is no longer

Re: Remove BACKWARDS flag from get_shell_command in ed(1)

2018-06-15 Thread Martijn van Duren
ping On 06/02/18 16:08, Martijn van Duren wrote: > anyone? > > On 05/24/18 09:40, Martijn van Duren wrote: >> Since we accept "!" as a full command to system(3), I decided to do even >> more trimming than when BACKWARDS is not defined. This way we trim even >> more LoC and have one less error

Re: ed remove BACKWARDS from GET_THIRD_ADDR

2018-06-15 Thread Martijn van Duren
ping On 06/02/18 15:51, Martijn van Duren wrote: > Hello tech@, > > The following patch removes the non-backwards case for GET_THIRD_ADDR. > POSIX states nothing about making it optional, and since it is our and > NetBSD's current behaviour, just leave it as is. > > I can see how for

Re: kqueue: move members from filedesc to kqueue

2018-06-15 Thread Mark Kettenis
> Date: Fri, 15 Jun 2018 09:59:47 +0200 > From: Anton Lindqvist > > On Tue, Jun 12, 2018 at 09:00:14PM +0200, Anton Lindqvist wrote: > > Hi, > > This diff moves the kqueue related members from struct filedesc to > > struct kqueue with the prime motivation of fixing a panic in > >

Re: kqueue: move members from filedesc to kqueue

2018-06-15 Thread Anton Lindqvist
On Fri, Jun 15, 2018 at 10:22:42AM +0200, Mark Kettenis wrote: > > Date: Fri, 15 Jun 2018 09:59:47 +0200 > > From: Anton Lindqvist > > > > On Tue, Jun 12, 2018 at 09:00:14PM +0200, Anton Lindqvist wrote: > > > Hi, > > > This diff moves the kqueue related members from struct filedesc to > > >