Re: Add note about example dhclient.conf

2020-02-07 Thread Jason McIntyre
On Fri, Feb 07, 2020 at 08:46:05PM -0700, Aaron Bieber wrote: > On Fri, 07 Feb 2020 at 17:49:41 -0800, Kyle Isom wrote: > > I was looking through the dhclient.conf man page and missed that there was > > an example config in /etc/examples, so I added this to the man page. I'm > > also happy to go

piixpm(4) support for AMD FCH watchdog

2020-02-07 Thread Nathanael Rensen
The diff below adds support for the watchdog as found in the embedded AMD FCH (fusion controller hub) as found on APU2. Index: sys/dev/pci/piixpm.c === RCS file: /cvs/src/sys/dev/pci/piixpm.c,v retrieving revision 1.42 diff -u -p -r1.

Re: Add note about example dhclient.conf

2020-02-07 Thread Aaron Bieber
On Fri, 07 Feb 2020 at 17:49:41 -0800, Kyle Isom wrote: > I was looking through the dhclient.conf man page and missed that there was an > example config in /etc/examples, so I added this to the man page. I'm also > happy to go through the rest of man pages for the examples and add them if > the

Add note about example dhclient.conf

2020-02-07 Thread Kyle Isom
I was looking through the dhclient.conf man page and missed that there was an example config in /etc/examples, so I added this to the man page. I'm also happy to go through the rest of man pages for the examples and add them if there's interest. Cheers, Kyle Index: sbin/dhclient/dhclient.con

Re: Add mprotect_ept ioctl to vmm(4)

2020-02-07 Thread Mike Larkin
On Fri, Feb 07, 2020 at 01:25:38PM -0800, Mike Larkin wrote: > On Fri, Feb 07, 2020 at 04:20:16AM +, Adam Steen wrote: > > Hi > > > > Please see the attached patch to add an 'IOCTL handler to sets the access > > protections of the ept' > > > > vmd(8) does not make use of this change, but solo

vmm(4): wrong comment

2020-02-07 Thread Mike Larkin
Free commit for someone. Noticed last night by my student team that is working on vmm(4) virtio memory ballooning support as we were adding the viomb(4) stats queue. -ml Index: vmm.c === RCS file: /cvs/src/sys/arch/amd64/amd64/vmm.c

Re: Add mprotect_ept ioctl to vmm(4)

2020-02-07 Thread Mike Larkin
On Fri, Feb 07, 2020 at 04:20:16AM +, Adam Steen wrote: > Hi > > Please see the attached patch to add an 'IOCTL handler to sets the access > protections of the ept' > > vmd(8) does not make use of this change, but solo5, which uses vmm(4) as > a backend hypervisor. The code calling 'VMM_IOC_M

Re: httpd(8): patch to allow FastCGI chroots in sub-directories

2020-02-07 Thread Florian Obser
Slightly tweaked diff by me, fixing "new sentence new line" in the man page. This is OK florian@ if someone wants to commit it or I can commit it if someone OKs it. diff --git httpd.conf.5 httpd.conf.5 index f4ea2e55766..494271672ea 100644 --- httpd.conf.5 +++ httpd.conf.5 @@ -300,6 +300,12 @@ Al

Re: mg: fix problems found by gcc 10

2020-02-07 Thread Florian Obser
Moving from misc to tech. This is effectively Ulrich's diff from github with a bit of whitespace shuffling. OK? diff --git def.h def.h index d4f00e84e59..0db023973e0 100644 --- def.h +++ def.h @@ -337,7 +337,7 @@ void ttnowindow(void); voidttcolor(int); void

Re: acme-client: prevent duplicate definitions of global variables

2020-02-07 Thread Florian Obser
committed, thanks! On Sat, Feb 01, 2020 at 01:54:11PM +0100, Jeremie Courreges-Anglas wrote: > On Fri, Jan 31 2020, Michael Forney wrote: > > Every source file that includes extern.h will have its own definition > > of these variables. Since many compilers allocate the variables with > > .comm, t

rtsx(4): tsleep(9) -> tsleep_nsec(9)

2020-02-07 Thread Scott Cheloha
Ticks to seconds. ok? Index: ic/rtsx.c === RCS file: /cvs/src/sys/dev/ic/rtsx.c,v retrieving revision 1.21 diff -u -p -r1.21 rtsx.c --- ic/rtsx.c 9 Oct 2017 20:06:36 - 1.21 +++ ic/rtsx.c 7 Feb 2020 14:13:40 - @@ -10

ipmi(4): tsleep(9) -> tsleep_nsec(9)

2020-02-07 Thread Scott Cheloha
Ticks to seconds. Easy. There's a polling sleep earlier in the code that I'm going to leave as-is for now. ok? Index: ipmi.c === RCS file: /cvs/src/sys/dev/ipmi.c,v retrieving revision 1.108 diff -u -p -r1.108 ipmi.c --- ipmi.c

Re: sdhc(4): tsleep(9) -> tsleep_nsec(9)

2020-02-07 Thread Scott Cheloha
On Fri, Jan 10, 2020 at 05:55:14PM -0600, Scott Cheloha wrote: > Here the timeout constants are all in terms of seconds. We can change > the input unit of the wait functions from hz to seconds and then > convert as needed. > > sdhc_wait_intr_cold() uses delay(9), so convert to microseconds. > >

sdmmc(4): tsleep(9) -> tsleep_nsec(9)

2020-02-07 Thread Scott Cheloha
This one is a bit odd. We tsleep(9) if !cold *and* usecs is a duration longer than a tick. Otherwise we delay(9). I am reluctant to leave the "usecs > tick" comparison here, but I am even more reluctant to remove it and introduce latency where there wasn't any before. I'm going to leave the comp