Re: Remove unused code from vmm

2020-01-30 Thread Mike Larkin
On Fri, Jan 31, 2020 at 01:40:14AM +, Adam Steen wrote: > Hi > > While working on a patch, i noticed that vmm_get_guest_faulttype was > incorrect for amd (VMM_MODE_RVI) cpus, apon further inspection realised > it was unused. Please see the patch below to remove it. > > cheers > Adam > T

Remove unused code from vmm

2020-01-30 Thread Adam Steen
Hi While working on a patch, i noticed that vmm_get_guest_faulttype was incorrect for amd (VMM_MODE_RVI) cpus, apon further inspection realised it was unused. Please see the patch below to remove it. cheers Adam ? div Index: sys/arch/amd64/amd64/vmm.c

Re: waitpid vs ptrace

2020-01-30 Thread Philip Guenther
On Thu, 30 Jan 2020, Marc Espie wrote: > So, basically, if we start arbitrary commands, then > the classic loop > /* Wait for the child to exit. */ > while (waitpid(cpid, &status, 0) == -1 && errno == EINTR) > continue; > > is not quite enough. > > See the small note in manpag

Re: ntpd and 2036

2020-01-30 Thread Otto Moerbeek
On Mon, Jan 20, 2020 at 07:08:26AM +0100, Otto Moerbeek wrote: > On Fri, Jan 10, 2020 at 03:14:42PM +0100, Otto Moerbeek wrote: > > > Hi, > > > > THe ntp protocol uses 32-bit unsigned timestamps counting seconds > > since 1900. That means that in 2036 the timestamp field will wrap. > > This diff

Re: piixpm(4) on ATI SBx00

2020-01-30 Thread Karel Gardas
On 1/22/20 5:25 AM, Ted Unangst wrote: Karel Gardas wrote: On 1/21/20 2:33 AM, Claudio Jeker wrote: Please test this since I can't test this properly at the moment. Sorry for delay with testing. Used today current to update and dmesg and diff of last fix and current dmesg are attached.

Re: bump smtpd version?

2020-01-30 Thread gilles
yes ok January 30, 2020 2:02 PM, "Solene Rapenne" wrote: > on https://opensmtpd.org the OpenBSD version file says 6.6.2 while we > currently have 6.6.1 in CVS. > > Should we bump to 6.6.2? > > Index: smtpd.h > === > RCS file: /dat

bump smtpd version?

2020-01-30 Thread Solene Rapenne
on https://opensmtpd.org/ the OpenBSD version file says 6.6.2 while we currently have 6.6.1 in CVS. Should we bump to 6.6.2? Index: smtpd.h === RCS file: /data/cvs/src/usr.sbin/smtpd/smtpd.h,v retrieving revision 1.650 diff -u -p -r1

Re: sysupgrade should check for downgrades

2020-01-30 Thread Marc Espie
On Thu, Jan 30, 2020 at 11:14:37AM +, Stuart Henderson wrote: > Putting this here for discussion... good idea? bad idea? does it need > more checks for expected file contents? > > Index: sysupgrade.sh > === > RCS file: /cvs/src/us

sysupgrade should check for downgrades

2020-01-30 Thread Stuart Henderson
Putting this here for discussion... good idea? bad idea? does it need more checks for expected file contents? Index: sysupgrade.sh === RCS file: /cvs/src/usr.sbin/sysupgrade/sysupgrade.sh,v retrieving revision 1.37 diff -u -p -r1.37 s

waitpid vs ptrace

2020-01-30 Thread Marc Espie
So, basically, if we start arbitrary commands, then the classic loop /* Wait for the child to exit. */ while (waitpid(cpid, &status, 0) == -1 && errno == EINTR) continue; is not quite enough. See the small note in manpages (not only us, but everyone): WIFSTOPPED(status

Re: em(4) diff to test

2020-01-30 Thread Martin Pieuchot
On 21/01/20(Tue) 12:31, Martin Pieuchot wrote: > On 20/01/20(Mon) 16:42, Martin Pieuchot wrote: > > Diff below is a refactoring of the actual em(4) code and defines that > > will allows me to present a shorter diff to interrupt multiple CPUs and > > make use of multiple queues. > > > > It contains