vmd: sync DPADD with LDADD

2018-06-23 Thread Gleydson Soares
sync DPADD with LDADD adding missing ${LIBPTHREAD} to ensure that binary is rebuilt in case of pthread library changes. Index: Makefile === RCS file: /cvs/src/usr.sbin/vmd/Makefile,v retrieving revision 1.17 diff -u -p -r1.17 Makefile

spamlogd: add missing ${LIBCRYPTO} to DPADD

2018-06-23 Thread Gleydson Soares
add missing ${LIBCRYPTO} Index: Makefile === RCS file: /cvs/src/libexec/spamlogd/Makefile,v retrieving revision 1.7 diff -u -p -r1.7 Makefile --- Makefile21 Aug 2013 16:13:30 - 1.7 +++ Makefile24 Jun 2018 04:04:42

sasyncd: remove redundant memset() call

2018-06-23 Thread Gleydson Soares
calloc() already filled all the memory block to 0, zap memset(). Index: pfkey.c === RCS file: /cvs/src/usr.sbin/sasyncd/pfkey.c,v retrieving revision 1.28 diff -u -p -r1.28 pfkey.c --- pfkey.c 18 Apr 2017 02:29:56 - 1.28

[diff] deleting lo(4) with rdomain

2018-06-23 Thread Denis Fondras
Here is a diff to allow deletion of lo(4) created by rdomain. Of course, lo(4) cannot be deleted while the rdomain is used on another interface. rtable is still available after all the interfaces are out of the rdomain though. [denis@visigoth:~] doas ifconfig em0 rdomain 3 [denis@visigoth:~]

Add XSDT and arm64 support to acpidump(8)

2018-06-23 Thread Mark Kettenis
The diff below adds arm64 support to acpidump(8). It renames bios_acpi_addr() into efi_acpi_addr() and duplicates the function because on arm64 I just need to read a 64-bit integer I'm considering changing amd64 to use a variable with the same name to get rid of the #ifdef. The code that grovels

ACPI on OpenBSD/arm64

2018-06-23 Thread Mark Kettenis
The lates generation of 64-bit ARM server hardware seems to be ACPI-only. This obviously fills me with a tremendous amount of joy. ACPi is clearly superior to device trees. So much more superior that they you have to embed snippets of device tree properties into your AML to make it do anything

Re: uipc_domain.c : use constant instead of value

2018-06-23 Thread Alexander Bluhm
On Sat, Jun 23, 2018 at 03:57:06PM +0200, Denis Fondras wrote: > Cosmetic change. OK bluhm@ > Index: uipc_domain.c > === > RCS file: /cvs/src/sys/kern/uipc_domain.c,v > retrieving revision 1.55 > diff -u -p -r1.55 uipc_domain.c >

uipc_domain.c : use constant instead of value

2018-06-23 Thread Denis Fondras
Cosmetic change. Index: uipc_domain.c === RCS file: /cvs/src/sys/kern/uipc_domain.c,v retrieving revision 1.55 diff -u -p -r1.55 uipc_domain.c --- uipc_domain.c 23 Nov 2017 13:45:46 - 1.55 +++ uipc_domain.c 23

Re: Save and restore FPU state around signal handlers on armv7

2018-06-23 Thread Markus Hennecke
On Sat, 23 Jun 2018, Mark Kettenis wrote: > > Date: Fri, 22 Jun 2018 17:16:14 +0200 (CEST) > > From: Mark Kettenis > > > > It takes the alpha/hppa/mips64 approach of storing the state in struct > > sigcontext instead of using a pointer. Using unsigned int and > > unsigned long long instead of

Re: SA_RESETHAND race (or the mpv(1) hanging story)

2018-06-23 Thread Hiltjo Posthuma
On Fri, Mar 16, 2018 at 02:40:00PM +0100, Hiltjo Posthuma wrote: > On Fri, Mar 16, 2018 at 02:29:24PM +0100, Hiltjo Posthuma wrote: > > On Thu, Mar 15, 2018 at 03:27:47PM +0100, Martin Pieuchot wrote: > > > On 05/03/18(Mon) 21:26, Hiltjo Posthuma wrote: > > > > > [...] > > > > > I tried your

Re: ksh "clear-screen" editing command

2018-06-23 Thread Nicholas Marriott
Never mind, should have finished reading the later emails ;-). On Sat, Jun 23, 2018 at 09:02:24AM +0100, Nicholas Marriott wrote: > Hi > > I think you should not pass NULL to the last argument of setupterm(), > from terminfo(3): > > If errret is null, setupterm prints an error message upon

Re: ksh "clear-screen" editing command

2018-06-23 Thread Nicholas Marriott
Hi I think you should not pass NULL to the last argument of setupterm(), from terminfo(3): If errret is null, setupterm prints an error message upon finding an error and exits. On Sat, Jun 16, 2018 at 04:16:57PM -0600, Todd C. Miller wrote: > On Sat, 16 Jun 2018 14:50:40