CVS: cvs.openbsd.org: src

2019-07-07 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2019/07/07 23:04:38

Modified files:
gnu/llvm/lib/Target/Mips: Mips64InstrInfo.td 

Log message:
Fix instruction guard. This prevents the compiler from using
the MIPS64 mul instruction on pre-MIPS64 subtargets.



CVS: cvs.openbsd.org: src

2019-07-07 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/07/07 21:39:10

Modified files:
sys/dev/pci/drm: linux_hdmi.c 

Log message:
remove duplicate hdmi.h include
reported by Ralf Schuelke



CVS: cvs.openbsd.org: src

2019-07-07 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2019/07/07 19:16:02

Modified files:
sys/conf   : GENERIC 

Log message:
uncomment aggr(4) to make it easier for people to try



CVS: cvs.openbsd.org: src

2019-07-07 Thread Ted Unangst
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/07/07 13:21:28

Modified files:
usr.bin/doas   : doas.conf.5 env.c 

Log message:
fix one last edge case regarding PATH, allows simpler config.



CVS: cvs.openbsd.org: src

2019-07-07 Thread Otto Moerbeek
CVSROOT:/cvs
Module name:src
Changes by: o...@cvs.openbsd.org2019/07/07 13:17:40

Modified files:
usr.sbin/ntpd  : control.c 

Log message:
proper level of two messages, prompted by deraadt@



CVS: cvs.openbsd.org: src

2019-07-07 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2019/07/07 08:45:15

Modified files:
usr.sbin/ldomctl: mdstore.c 

Log message:
Add support for version 3.0 of the "mdstore" protocol.



CVS: cvs.openbsd.org: src

2019-07-07 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2019/07/07 08:41:55

Modified files:
sys/arch/sh/sh : cpu.c sh_machdep.c 

Log message:
print the cpu model in the correct place (only)



CVS: cvs.openbsd.org: src

2019-07-07 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2019/07/07 06:42:55

Modified files:
usr.sbin/pkg_add/OpenBSD: PackageRepository.pm Temp.pm 

Log message:
use last_error
fix again tmpfile so that it fails as it should



CVS: cvs.openbsd.org: src

2019-07-07 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2019/07/07 05:17:36

Modified files:
sys/dev/pci: mpii.c 

Log message:
tweak config pending handling so it waits for all ports to finish scanning

it waited until any port finished scanning before calling
config_pending_decr, but if you have disks on other ports then they
may race with the rest of the kernel getting to mountroot. this
tweaks the config pending dance so it waits for all ports and avoids
the race.

i just got lucky on my system where root was on the first port.
kettenis has been poking a t4 where the disks are all over the place
and he lost the race.

tested by and ok kettenis@



CVS: cvs.openbsd.org: src

2019-07-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:src
Changes by: ajacou...@cvs.openbsd.org   2019/07/07 05:11:22

Modified files:
usr.sbin/syspatch: syspatch.sh 

Log message:
Tell user to look at manually running /usr/libexec/reorder_kernel in case
it fails at the end of the syspatch run.
Because a kernel syspatch was installed, a user could think the kernel
was updated accordingly; which is not the case if reorder_kernel fails.



CVS: cvs.openbsd.org: src

2019-07-07 Thread Inoguchi Kinichiro
CVSROOT:/cvs
Module name:src
Changes by: inogu...@cvs.openbsd.org2019/07/07 04:52:56

Modified files:
lib/libcrypto/pem: pvkfmt.c 

Log message:
Fix pvk format processing in libcrypto

- Return the valid pointer in i2b_PVK()
- Use EVP_Decrypt* instead of EVP_Encrypt*
- Fix error handling after BIO_write() in i2b_PVK_bio()

ok tb@



CVS: cvs.openbsd.org: src

2019-07-07 Thread Klemens Nanni
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2019/07/07 04:43:46

Modified files:
sys/dev/ata: wd.c 

Log message:
Use timeout_add_msec(9)

RECOVERYTIME is twice per second, so sleep for 500 milliseconds
and reflect the unit to be clear.

OK patrick



CVS: cvs.openbsd.org: src

2019-07-07 Thread Otto Moerbeek
CVSROOT:/cvs
Module name:src
Changes by: o...@cvs.openbsd.org2019/07/07 01:14:57

Modified files:
usr.sbin/ntpd  : client.c config.c ntp.c 

Log message:
Sometimes ntp peers are unreliable (looking at you pool.ntp.org!)
and net config can change as well. So if a peer does not respond,
throw it out of the pool if it's a pool member and re-resolve to
find a replacement. Hold on to good peers so we end up with a good
set of peers. ok benno@



CVS: cvs.openbsd.org: src

2019-07-07 Thread Kevin Lo
CVSROOT:/cvs
Module name:src
Changes by: ke...@cvs.openbsd.org   2019/07/07 00:40:10

Modified files:
sys/dev/usb: if_axe.c if_axen.c if_mos.c if_mue.c if_smsc.c 

Log message:
Eliminate duplicate code in xxx_detach().

ok mpi@