diff for gdb

2019-12-20 Thread YASUOKA Masahiko
When I debug kernel with kernel core, backtrace command ends around alltraps_kern_meltdown(). The following diff fixes this problem. ok? Teach gdb that the trap frame should be used for for alltraps_kern_meltdown() Index: gnu/usr.bin/binutils/gdb/amd64obsd-tdep.c

Re: unveil radioctl/fdformat/gpioctl

2019-12-20 Thread Ricardo Mestre
Hello fellow citizens! Did we have any brave souls with the hardware below that tested this and can give me an OK? On 18:57 Mon 02 Dec , Ricardo Mestre wrote: > Hi tech@ > > radioctl/fdformat/gpioctl need to open the device and then all operations go > through ioctls forbidden by pledge but

Re: attention please: host's IP stack behavior got changed slightly

2019-12-20 Thread Alexander Bluhm
On Wed, Dec 18, 2019 at 09:07:35AM +0100, Alexandr Nedvedicky wrote: > I see. Updated diff below makes ip6_input_if() to explicitly check > for PF_TAG_TRANSLATE_LOCALHOST tag, when ip6_forwarding is disabled. > > if ip6_forwarding is enabled, then the ip6_input_if() keeps current >

Re: Clarify drand48() return values

2019-12-20 Thread Alexander Nasonov
j...@bitminer.ca wrote: > > Clarify that drand48 returns values not including 1.0. It's not clear from the documentation whether drand48 can generate a denormal number. If it can't, you can exclude 0.0 because it's a denormal ;-) -- Alex

Re: Clarify drand48() return values

2019-12-20 Thread Theo Buehler
On Fri, Dec 20, 2019 at 10:09:46AM -0800, j...@bitminer.ca wrote: > For completeness: thanks, committed

Re: amd64 SMEP SMAP trap panic print

2019-12-20 Thread Alexander Bluhm
On Fri, Dec 20, 2019 at 11:15:09AM -0700, Theo de Raadt wrote: > Alexander Bluhm wrote: > > > On Thu, Dec 19, 2019 at 06:25:06PM -0800, Philip Guenther wrote: > > > For this part, should we reuse the 'faultstr' logic seen later to set the > > > panic string and do something like, say... > > > >

unwind(8): switch to ub_event_pluggable

2019-12-20 Thread Florian Obser
Ralph Dolmans from nlnetlabs points out that libunbound uses ub_event_pluggable.c instead of ub_event.c. ( https://github.com/NLnetLabs/unbound/issues/99 ) We have been the odd one out, so switch to ub_event_pluggable, too. This removes and adds files, to apply: cd /usr/src/sbin/unwind patch -Ep0

Re: amd64 SMEP SMAP trap panic print

2019-12-20 Thread Theo de Raadt
Alexander Bluhm wrote: > On Thu, Dec 19, 2019 at 06:25:06PM -0800, Philip Guenther wrote: > > For this part, should we reuse the 'faultstr' logic seen later to set the > > panic string and do something like, say... > > That makes sense. I need another workaround for the stack trace > after

Re: Clarify drand48() return values

2019-12-20 Thread j
For completeness: Index: src/lib/libc/stdlib/rand48.3 === RCS file: /cvs/src/lib/libc/stdlib/rand48.3,v retrieving revision 1.20 diff -u -r1.20 rand48.3 --- src/lib/libc/stdlib/rand48.310 Nov 2015 23:48:18 - 1.20

Re: amd64 SMEP SMAP trap panic print

2019-12-20 Thread Alexander Bluhm
On Thu, Dec 19, 2019 at 06:25:06PM -0800, Philip Guenther wrote: > For this part, should we reuse the 'faultstr' logic seen later to set the > panic string and do something like, say... That makes sense. I need another workaround for the stack trace after calling the NULL function. This time I

Re: Add sizes for free() in clct(4)

2019-12-20 Thread Jan Klemkow
On Fri, Dec 20, 2019 at 05:26:56PM +0100, Frederic Cambus wrote: > Here is a diff to add sizes for free() in clct(4). > > Similar diff to the ones previously sent for other audio drivers. > > Comments? OK? OK jan@ > Index: sys/dev/pci/cs4281.c >

Add sizes for free() in clct(4)

2019-12-20 Thread Frederic Cambus
Hi tech@, Here is a diff to add sizes for free() in clct(4). Similar diff to the ones previously sent for other audio drivers. Comments? OK? Index: sys/dev/pci/cs4281.c === RCS file: /cvs/src/sys/dev/pci/cs4281.c,v retrieving

Re: ublink(4), led(4) and ledctl(1)

2019-12-20 Thread Martin Pieuchot
On 19/12/19(Thu) 18:37, Stuart Henderson wrote: > While it's nice to have basic support in the kernel, for people using > these devices for sequences / controlling a chain of neopixels / etc > they're going to need a custom kernel with the driver disabled in order > to access it from userland.

Re: bgpctl: split out show functions into own file

2019-12-20 Thread Sebastian Benoit
Claudio Jeker(cje...@diehard.n-r-g.com) on 2019.12.20 08:24:34 +0100: > This diff just moves most show related functions into a new file. > It is mostly mechanical (remove function from bgpctl.c and add it to > output.c). > > OK? ok did you check that bgplg etc still build (i dont see why they