Re: arm64 fpu fixes

2017-04-10 Thread Philip Guenther
On Mon, 10 Apr 2017, Mark Kettenis wrote: > Diff below revises the struct fpreg definition and enables the dumping > of fpu registers in core dumps. That pointed out that we need to reset > the FPU state upon exec. > > ok? ok guenther@ Hmm, the consequences of __uint128_t are non-trivial.

I should elaborate a bit what this diff does

2017-04-10 Thread Walter Alejandro Iglesias
I'm thinking I should've explained more in detail what this patch does. With window managers that implement a window list menu, like fvwm, after cycling using Alt+Tab, previous and new focused windows, both end in the front (currently cwm lets the previously focused window overlapped.) This is

Re: relayd(8): convert explicit_bzero() + free() to freezero()

2017-04-10 Thread Claudio Jeker
On Mon, Apr 10, 2017 at 05:08:43PM +0200, Frederic Cambus wrote: > Hi tech@, > > Convert explicit_bzero() + free() to freezero(). > > Comments? OK? > > Index: usr.sbin/relayd/relayd.c > === > RCS file:

relayd(8): convert explicit_bzero() + free() to freezero()

2017-04-10 Thread Frederic Cambus
Hi tech@, Convert explicit_bzero() + free() to freezero(). Comments? OK? Index: usr.sbin/relayd/relayd.c === RCS file: /cvs/src/usr.sbin/relayd/relayd.c,v retrieving revision 1.165 diff -u -p -r1.165 relayd.c ---

Re: fsck_ffs(8): remove always false comparison

2017-04-10 Thread Todd C. Miller
On Sun, 09 Apr 2017 18:09:51 +0200, Frederic Cambus wrote: > Remove always false comparison: inosused type is ino_t, which is > unsigned. It's not so simple. It looks like this is intended to handle inosused wrapping, which is possible. I think it is worth having a check in there of some kind.

I finally learned how to make the diff :-)

2017-04-10 Thread Walter Alejandro Iglesias
I finally learned how to make the diff using cvs :-) Index: client.c === RCS file: /cvs/xenocara/app/cwm/client.c,v retrieving revision 1.234 diff -u -p -r1.234 client.c --- client.c6 Feb 2017 18:10:28 - 1.234 +++

Re: Additional errno values

2017-04-10 Thread Mark Kettenis
> Date: Mon, 10 Apr 2017 23:21:43 +1000 > From: Jonathan Gray > > On Mon, Apr 10, 2017 at 03:03:10PM +0200, Jeremie Courreges-Anglas wrote: > > > > We have a bunch of patches in ports to deal with EPROTO and EBADMSG not > > being defined. It would be nice to get rid of those.

Re: Additional errno values

2017-04-10 Thread Mark Kettenis
> From: Jeremie Courreges-Anglas > Date: Mon, 10 Apr 2017 15:03:10 +0200 > > We have a bunch of patches in ports to deal with EPROTO and EBADMSG not > being defined. It would be nice to get rid of those. The diff below > also adds the also missing ENOTRECOVERABLE and

Re: openssl(1) not error exiting on full file system

2017-04-10 Thread Craig Skinner
On Mon, 10 Apr 2017 12:46:03 +0100 Craig Skinner wrote: > $ openssl enc -bf -salt \ > -pass file:/etc/myname -in /bsd \ > -out /altroot/tmp/bsd.crypto > > /altroot: write failed, file system is full > $ print $? > 0 Whoops;- I forgot to mention

Re: Additional errno values

2017-04-10 Thread Jonathan Gray
On Mon, Apr 10, 2017 at 03:03:10PM +0200, Jeremie Courreges-Anglas wrote: > > We have a bunch of patches in ports to deal with EPROTO and EBADMSG not > being defined. It would be nice to get rid of those. The diff below > also adds the also missing ENOTRECOVERABLE and EOWNERDEAD. > > Thoughts?

Re: Fix file descriptor leak in swig

2017-04-10 Thread Jonathan Gray
On Mon, Apr 10, 2017 at 02:50:50PM +0200, Mark Kettenis wrote: > > Date: Mon, 10 Apr 2017 21:42:11 +1000 > > From: Jonathan Gray > > > > On Mon, Apr 10, 2017 at 01:35:57PM +0200, Mark Kettenis wrote: > > > Looking into arm_neon.h. This header file is supposed to be generated > >

Additional errno values

2017-04-10 Thread Jeremie Courreges-Anglas
We have a bunch of patches in ports to deal with EPROTO and EBADMSG not being defined. It would be nice to get rid of those. The diff below also adds the also missing ENOTRECOVERABLE and EOWNERDEAD. Thoughts? (Dunno if there is a point describing verbosely what those new errno values mean on

Re: Fix file descriptor leak in swig

2017-04-10 Thread Mark Kettenis
> Date: Mon, 10 Apr 2017 21:42:11 +1000 > From: Jonathan Gray > > On Mon, Apr 10, 2017 at 01:35:57PM +0200, Mark Kettenis wrote: > > Looking into arm_neon.h. This header file is supposed to be generated > > using the clang_tablegen tool, which is why we missed it. > > Index:

Alt-Tab cycling improvement for cwm

2017-04-10 Thread Walter Alejandro Iglesias
Raise previous window after cycling on cwm. --- client.c.orig Mon Apr 10 14:24:11 2017 +++ client.cMon Apr 10 14:29:14 2017 @@ -645,9 +645,11 @@ match: void client_cycle(struct screen_ctx *sc, int flags) { - struct client_ctx *newcc, *oldcc; + struct client_ctx

openssl(1) not error exiting on full file system

2017-04-10 Thread Craig Skinner
Hello, When encrypting a file with openssl(1), it exits cleanly when there is not enough disk space: $ df /altroot Filesystem SizeUsed Avail Capacity Mounted on /dev/wd1a 100M 52.5M 42.7M55%/altroot $ while cp /bsd

arm64 fpu fixes

2017-04-10 Thread Mark Kettenis
Diff below revises the struct fpreg definition and enables the dumping of fpu registers in core dumps. That pointed out that we need to reset the FPU state upon exec. ok? Index: arch/arm64/arm64/machdep.c === RCS file:

adventure(6): clean up disabled declaration

2017-04-10 Thread Frederic Cambus
Hi tech@, Clean up disabled declaration in the text struct. Comments? OK? Index: games/adventure/hdr.h === RCS file: /cvs/src/games/adventure/hdr.h,v retrieving revision 1.15 diff -u -p -r1.15 hdr.h --- games/adventure/hdr.h