vmm: Relock the kernel on ioctl error

2023-01-13 Thread Christian Ludwig
The vmm(4) ioctl handler unlocks the kernel, but misses to relock it in case of an error. --- sys/arch/amd64/amd64/vmm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/amd64/amd64/vmm.c b/sys/arch/amd64/amd64/vmm.c index 13cf7643cb4..0ddea3ead7e 100644 ---

Re: vmm: Relock the kernel on ioctl error

2023-01-13 Thread Dave Voutila
Christian Ludwig writes: > [[S/MIME Signed Part:Undecided]] > The vmm(4) ioctl handler unlocks the kernel, but misses to relock it in > case of an error. Thanks! Committed. > --- > sys/arch/amd64/amd64/vmm.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git

[updated] console enhancement patchset

2023-01-13 Thread Crystal Kolipe
Another update to the console enhancement patchset. Some of the code from previous versions is now in -current, but if you want the full experience, (256 colours, extra text attributes, etc), you'll still need to apply the following diff. This is against -current as of an hour or so ago. NEW -

ifconfig.c redundancy the second

2023-01-13 Thread Mathias Koehler
I hope the following message is a format more helpful for you guys. (Thanks to Otto Moerbeek who gave me a hint.) Again my question is how should that code look like? Because I can remove the 'if' and the code still does the same.

Re: ifconfig.c redundancy the second

2023-01-13 Thread Otto Moerbeek
On Fri, Jan 13, 2023 at 08:04:36PM +0100, Mathias Koehler wrote: > I hope the following message is a format more helpful for you > guys. (Thanks to Otto Moerbeek who gave me a hint.) /% ... %./ is not a comment marker in C. -Otto > Again my question is how should that code look like?

Re: ifconfig.c redundancy the second

2023-01-13 Thread Mathias Koehler
Ehm well it should look like this, sorry: === RCS file: /cvs/src/sbin/ifconfig/ifconfig.c,v retrieving revision 1.460 diff -u -p -u -p -r1.460 ifconfig.c --- ifconfig.c 18 Dec 2022 18:56:38 - 1.460 +++ ifconfig.c 13 Jan

Re: openssh: update ed25519 and squash into a single file

2023-01-13 Thread Damien Miller
On Fri, 13 Jan 2023, Damien Miller wrote: > Hi, > > Forewarning: this is a big, noisy diff. Also on Github at > https://github.com/djmdjm/openssh-wip/pull/18 > > This updates the ED25519 code to the latest version of SUPERCOP (20221122), > but the real motivation for this is to move the