Re: Allow disks to be specifid by duid in install.sub

2018-03-02 Thread Aaron Bieber
On Fri, Mar 02, 2018 at 03:21:00PM -0700, Aaron Bieber wrote: > On Fri, Mar 02, 2018 at 07:32:04AM -0700, Aaron Bieber wrote: > > Hi, > > > > Currently disks can only be entered in the [sw]d[0-9][0-9] format at the > > "Which disk is the root disk?" prompt. This is great for humans, but > > things

Re: Allow disks to be specifid by duid in install.sub

2018-03-02 Thread Aaron Bieber
On Fri, Mar 02, 2018 at 07:32:04AM -0700, Aaron Bieber wrote: > Hi, > > Currently disks can only be entered in the [sw]d[0-9][0-9] format at the > "Which disk is the root disk?" prompt. This is great for humans, but > things get tricky when doing an autoinstall upgrade on systems where > connected

Add sincos(3) to libm

2018-03-02 Thread Mark Kettenis
The diff below adds sincos(3) to our libm. This function isn't standardized but is found on Linux, MacOS X and FreeBSD. It is essentially an optimization. Calculating both sin and cos of the same numbers is a fairly common operation. By calculating both in the same function, argument reduction

Re: handle updates via Adj-RIB-Out

2018-03-02 Thread Claudio Jeker
On Wed, Feb 07, 2018 at 05:52:09AM +0100, Claudio Jeker wrote: > This diff changes the way bgpd does updates. Instead of having its own > special update queue/tree it uses a regular RIB (Adj-RIB-Out) to store all > updates to be sent. Stuff that has been sent is linked to the prefixes > queue. On t

Allow disks to be specifid by duid in install.sub

2018-03-02 Thread Aaron Bieber
Hi, Currently disks can only be entered in the [sw]d[0-9][0-9] format at the "Which disk is the root disk?" prompt. This is great for humans, but things get tricky when doing an autoinstall upgrade on systems where connected disks change frequently. This diff lets you put the DUID in the response

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

2018-03-02 Thread Hiltjo Posthuma
On Wed, Feb 21, 2018 at 02:15:07PM +0100, Martin Pieuchot wrote: > Diff below fixes a race in signal handling that can be triggered when > a multi-threaded process installs a signal handler with SA_RESETHAND. > > I described a case of this problem on bugs@ a month ago: > https://marc.info/?l=ope

Re: document netstart's -n flag

2018-03-02 Thread Jason McIntyre
On Fri, Mar 02, 2018 at 12:07:24PM +0100, Landry Breuil wrote: > Hi, > > crude attempt at documenting -n in netstart, the wording can probably be > improved. > > Landry > > Index: netstart.8 > === > RCS file: /cvs/src/share/man/man8

Re: cmp(1): stricter checking for skip1 and skip2

2018-03-02 Thread Theo Buehler
On Fri, Mar 02, 2018 at 12:27:05PM +0100, Klemens Nanni wrote: > On Thu, Mar 01, 2018 at 09:27:49PM -0600, Scott Cheloha wrote: > > Hey, > > > > This adds the more typical strtoll(3) checks we have elsewhere > > in the tree to cmp(1). Make sure we (a) got a number at all, > > (b) that it doesn't

Re: cmp(1): stricter checking for skip1 and skip2

2018-03-02 Thread Klemens Nanni
On Thu, Mar 01, 2018 at 09:27:49PM -0600, Scott Cheloha wrote: > Hey, > > This adds the more typical strtoll(3) checks we have elsewhere > in the tree to cmp(1). Make sure we (a) got a number at all, > (b) that it doesn't have any dangling non-digits, (c) that it's > non-negative, and (d) that it

document netstart's -n flag

2018-03-02 Thread Landry Breuil
Hi, crude attempt at documenting -n in netstart, the wording can probably be improved. Landry Index: netstart.8 === RCS file: /cvs/src/share/man/man8/netstart.8,v retrieving revision 1.21 diff -u -r1.21 netstart.8 --- netstart.8 5

Re: OpenBSD Errata: March 1st, 2018 (meltdown)

2018-03-02 Thread Franco Fichtner
Hi, Thanks for making this happen! > On 28. Feb 2018, at 11:09 PM, T.J. Townsend wrote: > > Errata patches for a speculative execution flaw in Intel CPUs have been > released for OpenBSD 6.2 and 6.1. [...] > Binary updates for the amd64 platform are available via the syspatch utility. > Sourc