Re: vmctl.8, vm.conf.5: DHCP is configured on the first interface only

2020-02-15 Thread Theo Buehler
On Thu, Feb 13, 2020 at 07:56:27PM +0100, Klemens Nanni wrote: > VMs may have multiple interface, but only "the [first]" interface gets > DHCP if `-L'/`local' is specified. > > OK? I don't think this patch is correct. The vmctl part contradicts the "LOCAL INTERFACES" section, which explains how

loongson: apm(4) resume event

2020-02-15 Thread Jeremie Courreges-Anglas
I'd like to use resume events in apmd(8) to throttle autoaction (-z/-Z). The acpi(4) code already sends the appropriate APM_NORMAL_RESUME event to userland, and the i386 apm(4) seems to do the same. Could someone with a loongson please build a kernel with the following diff? If you want to test

Re: iked.conf.5, ipsec.conf.5: Quote $domain in tag string

2020-02-15 Thread Klemens Nanni
On Sat, Feb 15, 2020 at 10:30:52PM +, Jason McIntyre wrote: > from a practical point of view, is there a reason to say when expansion > happens? by this i mean, what (if any) difference does it have for the > user - they will specify this in the conf file anyway, no? Macros are expanded by the

Re: iked.conf.5, ipsec.conf.5: Quote $domain in tag string

2020-02-15 Thread Jason McIntyre
On Sat, Feb 15, 2020 at 11:17:36PM +0100, Klemens Nanni wrote: > On Sat, Feb 15, 2020 at 09:57:51PM +, Jason McIntyre wrote: > > for the reader, it's hard to know if the text ipsec-$domain is > > quoted because we are emphasising it (as we subsequently do for > > ipsec-example.com) or because t

Re: iked.conf.5, ipsec.conf.5: Quote $domain in tag string

2020-02-15 Thread Klemens Nanni
On Sat, Feb 15, 2020 at 09:57:51PM +, Jason McIntyre wrote: > for the reader, it's hard to know if the text ipsec-$domain is > quoted because we are emphasising it (as we subsequently do for > ipsec-example.com) or because the actual quotes are required. > > your mail states something that the

Re: iked.conf.5, ipsec.conf.5: Quote $domain in tag string

2020-02-15 Thread Jason McIntyre
On Sat, Feb 15, 2020 at 10:38:08PM +0100, Klemens Nanni wrote: > Otherwise it will be evaluated as macro during config parsing; `$domain` > is a special value that is bein replaced much later at runtime. > > iked.conf's EXAMPLES already quotes it. > > OK? > hi. maybe the tag sections of these

Re: iked.conf.5, ipsec.conf.5: Quote $domain in tag string

2020-02-15 Thread Tobias Heider
On Sat, Feb 15, 2020 at 10:38:08PM +0100, Klemens Nanni wrote: > Otherwise it will be evaluated as macro during config parsing; `$domain` > is a special value that is bein replaced much later at runtime. > > iked.conf's EXAMPLES already quotes it. > > OK? ok tobhe@

Re: enc.4: Remove tcpdump WARNING

2020-02-15 Thread Jason McIntyre
On Sat, Feb 15, 2020 at 10:08:43PM +0100, Klemens Nanni wrote: > Current tcpdump(8) does not emit this warning: > > # sysctl -n kern.version > OpenBSD 6.6-current (GENERIC.MP) #200: Thu Jan 30 07:08:22 MST 2020 > > dera...@sparc64.openbsd.org:/usr/src/sys/arch

iked.conf.5, ipsec.conf.5: Quote $domain in tag string

2020-02-15 Thread Klemens Nanni
Otherwise it will be evaluated as macro during config parsing; `$domain` is a special value that is bein replaced much later at runtime. iked.conf's EXAMPLES already quotes it. OK? Index: ipsec.conf.5 === RCS file: /cvs/src/sbin/ips

enc.4: Remove tcpdump WARNING

2020-02-15 Thread Klemens Nanni
Current tcpdump(8) does not emit this warning: # sysctl -n kern.version OpenBSD 6.6-current (GENERIC.MP) #200: Thu Jan 30 07:08:22 MST 2020 dera...@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC.MP # ifconfig enc0 enc0: fl

Re: Raise spl for updating kn_status

2020-02-15 Thread Martin Pieuchot
On 15/02/20(Sat) 16:56, Visa Hankala wrote: > When I added the knote_acquire() call in kqueue_register(), I overlooked > the fact that the knote could be modified by a (soft) interrupt. > Interrupts have to be blocked when changing kn_status. Otherwise the > state could become confused. Can the sa

Update en_US.UTF-8 to Unicode 12.1

2020-02-15 Thread Andrew Hewus Fresh
This is two patches, the first updates to the latest Unicode licence (and adds a comment with the version of unicode this file contains) https://www.unicode.org/license.html The second is the output of running the script with perl 5.30.1, which I usually remember to do earlier. Comments, OK? In

Re: ssh.1: document -F none

2020-02-15 Thread Jason McIntyre
On Sat, Feb 15, 2020 at 06:23:09PM +0100, Christian Weisgerber wrote: > OK? Better phrasing? > > Index: ssh.1 > === > RCS file: /cvs/src/usr.bin/ssh/ssh.1,v > retrieving revision 1.410 > diff -u -p -r1.410 ssh.1 > --- ssh.1 7 Feb

ssh.1: document -F none

2020-02-15 Thread Christian Weisgerber
OK? Better phrasing? Index: ssh.1 === RCS file: /cvs/src/usr.bin/ssh/ssh.1,v retrieving revision 1.410 diff -u -p -r1.410 ssh.1 --- ssh.1 7 Feb 2020 03:54:44 - 1.410 +++ ssh.1 15 Feb 2020 17:20:52 - @@ -233,

Raise spl for updating kn_status

2020-02-15 Thread Visa Hankala
When I added the knote_acquire() call in kqueue_register(), I overlooked the fact that the knote could be modified by a (soft) interrupt. Interrupts have to be blocked when changing kn_status. Otherwise the state could become confused. The diff below adds splhigh() where kn_status is modified. Thi

Re: dd(1) wording and style

2020-02-15 Thread Ingo Schwarze
Hi Jan, Jan Stary wrote on Sat, Feb 15, 2020 at 10:51:28AM +0100: > On Feb 14 17:37:27, schwa...@usta.de wrote: >> Jason McIntyre wrote on Fri, Feb 14, 2020 at 07:28:59AM +: >>> On Thu, Feb 13, 2020 at 11:25:07PM +0100, Jan Stary wrote: -.It Cm seek= Ns Ar n +.It Cm seek Ns = Ns Ar

ospf6d: rework rde_lsdb.c

2020-02-15 Thread Denis Fondras
3 changes in rde_lsdb.c - lsa_find_lsid() has redondant parameters - call to lsa_self() can be simplified (== ospfd) - update debug messages to be more suitable Index: rde.c === RCS file: /cvs/src/usr.sbin/ospf6d/rde.c,v retrieving re

Re: dd bs= supercede ibs= and obs=

2020-02-15 Thread Ingo Schwarze
Hi, Jan Stary wrote on Sat, Feb 15, 2020 at 11:07:04AM +0100: > On Feb 14 17:04:51, schwa...@usta.de wrote: >> Jason McIntyre wrote on Fri, Feb 14, 2020 at 07:28:59AM +: >>> On Thu, Feb 13, 2020 at 11:25:07PM +0100, Jan Stary wrote: * Fix a factual error in the description of bs: it does

some vulns

2020-02-15 Thread Maxime Villard
In vmm_update_pvclock(): 6868pvclock_gpa = vcpu->vc_pvclock_system_gpa & 0xFFF0; <-- controlled by the guest 6869if (!pmap_extract(vm->vm_map->pmap, pvclock_gpa, &pvclock_hpa)) 6870return (EINVAL); 6871pvclock_ti = (void*) PMAP_DIRECT_MAP(pvclock_hpa); 6872 6

snmpd(8) untangle transport layer and snmp engine

2020-02-15 Thread Martijn van Duren
This diff does the following: - Push the network handling to their own files. This helps with readability and allows for easier addition of other transport layers if we ever choose to (unix socket, ssh, dtls, ...) - Allow multiple tcp packets to be handled at the same time. This will helps th

Re: const*ify cfattach

2020-02-15 Thread Visa Hankala
On Fri, Feb 14, 2020 at 06:08:31PM +0100, Martin Pieuchot wrote: > On 13/02/20(Thu) 17:23, Visa Hankala wrote: > > On Thu, Feb 13, 2020 at 06:07:01PM +0100, Martin Pieuchot wrote: > > > On 13/02/20(Thu) 16:53, Visa Hankala wrote: > > > [...] > > > > I wonder if this constification should also be r

dd bs= supercede ibs= and obs=

2020-02-15 Thread Jan Stary
On Feb 14 17:04:51, schwa...@usta.de wrote: > Jason McIntyre wrote on Fri, Feb 14, 2020 at 07:28:59AM +: > > On Thu, Feb 13, 2020 at 11:25:07PM +0100, Jan Stary wrote: > >> * Fix a factual error in the description of bs: it does not > >> supersede ibs/obs, dd will error out when both are spec

Re: dd(1) wording and style

2020-02-15 Thread Jan Stary
Hi, On Feb 14 17:37:27, schwa...@usta.de wrote: > Hi, > > Jason McIntyre wrote on Fri, Feb 14, 2020 at 07:28:59AM +: > > On Thu, Feb 13, 2020 at 11:25:07PM +0100, Jan Stary wrote: > > >> -.It Cm seek= Ns Ar n > >> +.It Cm seek Ns = Ns Ar n > >> Seek > >> .Ar n > >> blocks from the beginni

Re: diff: nvme.c

2020-02-15 Thread Jonathan Matthew
On Sat, Feb 15, 2020 at 12:17:52PM +0900, YASUOKA Masahiko wrote: > Hi, > > I have a problem that kernel core dumping always hangs around first > 8MB. The diff attached fixes the problem. > > In nvme_poll(): > > 930 while (!ISSET(state.c.flags, htole16(NVME_CQE_PHASE))) { > 931