Re: [patch] vmd.c: Keep the ownership when rebooting a VM

2017-10-06 Thread Mike Larkin
On Sun, Sep 24, 2017 at 06:01:00PM +0200, Jesper Wallin wrote: > Hi all, > > If a machine is configured in vm.conf to have the owner of a regular > user, the ownership of the machine is lost upon reboot and root becomes > the new owner. When restarting the machine, the tty is kept open and > the

Re: efiboot: Restore GOP mode on SetMode() failure

2017-10-06 Thread YASUOKA Masahiko
Hi, > See my updated diff for reusing the gopi struct, please. ok, but the diff seems to be against wrong revision. You seems to have other diffs, moving gop and gopi to global at least. Can you send it entirely? On Sat, 7 Oct 2017 02:09:29 +0200 Klemens Nanni wrote: > On

Re: efiboot: Restore GOP mode on SetMode() failure

2017-10-06 Thread Klemens Nanni
On Fri, Oct 06, 2017 at 05:15:20AM +, YASUOKA Masahiko wrote: > On Tue, 3 Oct 2017 18:15:33 -0500 > Andrew Daugherity wrote: > > I tested this diff in combination with your "Implement machine gop command" > > diff on a Dell PowerEdge R230 and a VirtualBox VM (EFI

Re: efiboot: Restore GOP mode on SetMode() failure

2017-10-06 Thread Klemens Nanni
On Tue, Oct 03, 2017 at 11:15:33PM +, Andrew Daugherity wrote: > I tested this diff in combination with your "Implement machine gop command" > diff on a Dell PowerEdge R230 and a VirtualBox VM (EFI enabled). No > regressions, however 'machine gop' doesn't work quite how I expected it to > --

Re: efiboot: Reuse GOP info struct

2017-10-06 Thread Klemens Nanni
Updated diff below now that the first bits got committed. gopi can be used safely instead of an extra info struct, so munge it. Declaring the gop and gopi strucutures globally makes things easier in preparation for the next commit. Both changes also improve consistency with regard to other

Re: maxproc limits

2017-10-06 Thread Stuart Henderson
On 2017/10/06 13:51, Ted Unangst wrote: > Stuart Henderson wrote: > > I have been bumping into maxproc limits a lot recently on my > > workstation. While I do have quite a lot of processes at times, I don't > > think I have quite been tripping into the limits of number of actual > > processes. > >

Re: maxproc limits

2017-10-06 Thread Theo de Raadt
> Stuart Henderson wrote: > > I have been bumping into maxproc limits a lot recently on my > > workstation. While I do have quite a lot of processes at times, I don't > > think I have quite been tripping into the limits of number of actual > > processes. > > > > It seems that perhaps threads are

Re: maxproc limits

2017-10-06 Thread Ted Unangst
Stuart Henderson wrote: > I have been bumping into maxproc limits a lot recently on my > workstation. While I do have quite a lot of processes at times, I don't > think I have quite been tripping into the limits of number of actual > processes. > > It seems that perhaps threads are counted

Re: bc(1) examples

2017-10-06 Thread Klemens Nanni
On Fri, Oct 06, 2017 at 12:12:01PM +, Jan Stary wrote: > Isn't "4 * a(1)" a more natural incarnation of pi than "2 * a(2^1)"? That's indeed the most simple formula with regard to (inverse) trigonometric functions.

maxproc limits

2017-10-06 Thread Stuart Henderson
I have been bumping into maxproc limits a lot recently on my workstation. While I do have quite a lot of processes at times, I don't think I have quite been tripping into the limits of number of actual processes. It seems that perhaps threads are counted towards these. Is that expected/desirable?

Re: make includes: use find -exec {} +

2017-10-06 Thread Christian Weisgerber
Christian Weisgerber: > Admittedly, this is cosmetic: > Use the modern POSIX idiom "-exec ... {} +" instead of find|xargs. tb@ kindly pointed out to me that Klemens Nanni submitted a better patch for this four months ago; "-exec +" allows us to combine the two find invocations into one:

Re: bc -l wording

2017-10-06 Thread Andreas Kusalananda Kähäri
For what it's worth, POSIX has -l (The letter ell.) Define the math functions and initialize scale to 20, instead of the default zero; see the EXTENDED DESCRIPTION section. http://pubs.opengroup.org/onlinepubs/9699919799.2016edition/utilities/bc.html Cheers, On Fri,

TSC timecounters

2017-10-06 Thread Mike Belopuhov
Hi, An experimental change to use TSC as a timecounter source on a variety of modern Intel and AMD CPUs has been just committed and enabled on OpenBSD/amd64 thanks to the work done by Adam Steen. The rationale is, quoting the commit message: If frequency of an invariant (non-stop) time stamp

Re: make includes: use find -exec {} +

2017-10-06 Thread Klemens Nanni
On Thu, Oct 05, 2017 at 08:08:32PM +, Christian Weisgerber wrote: > Admittedly, this is cosmetic: > Use the modern POSIX idiom "-exec ... {} +" instead of find|xargs. > ok? > > Index: include/Makefile > === > RCS file:

bc -l wording

2017-10-06 Thread Jan Stary
Currently, the bc(1) manpage describes "-l" as Allow specification of an arbitrary precision math library I am not a native speaker, but "specification of a library" seems unclear here. It loads /usr/share/misc/bc.library, not that the user could "specify" some other library to load.

bc(1) examples

2017-10-06 Thread Jan Stary
Isn't "4 * a(1)" a more natural incarnation of pi than "2 * a(2^1)"? Jan Index: bc.1 === RCS file: /cvs/src/usr.bin/bc/bc.1,v retrieving revision 1.32 diff -u -p -r1.32 bc.1 --- bc.117 Nov 2015 05:45:35 -

Re: [patch] vmd.c: Keep the ownership when rebooting a VM

2017-10-06 Thread Mike Larkin
On Thu, Oct 05, 2017 at 10:23:58PM +0200, Jesper Wallin wrote: > Hi again, > > Bumping this, as I assume it wasn't prioritized during the beta. > We were locked. I'm working backward through emails, should get to this in the next day or so. -ml > On Sun, Sep 24, 2017 at 06:01:00PM +0200,