CVS: cvs.openbsd.org: src

2019-05-08 Thread Alexandre Ratchov
CVSROOT:/cvs
Module name:src
Changes by: ratc...@cvs.openbsd.org 2019/05/09 00:58:13

Modified files:
sys/dev/usb: uaudio.c 

Log message:
Skip empty control interfaces when parsing descriptors.

Even if having multiple control interface descriptors is not allowed
by the UAC spec, there's no reason to stop as long as a proper control
interface was processed.



CVS: cvs.openbsd.org: www

2019-05-08 Thread Anton Lindqvist
CVSROOT:/cvs
Module name:www
Changes by: an...@cvs.openbsd.org   2019/05/09 00:15:14

Modified files:
.  : plus.html 

Log message:
correct description of recent lockf changes



CVS: cvs.openbsd.org: src

2019-05-08 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2019/05/09 00:00:55

Modified files:
distrib/miniroot: install.sub 

Log message:
Don't forget about previous dhcp configuration attempts
when restarting an install. Even if the original dhcp
attempt did not successfully get a lease and configure
the interface.

ok beck@ florian@



CVS: cvs.openbsd.org: src

2019-05-08 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2019/05/08 23:47:27

Modified files:
regress/lib/libssl/key_schedule: key_schedule.c 

Log message:
Proper prototype for main(). Make sparc64 happier.



CVS: cvs.openbsd.org: src

2019-05-08 Thread Alexandre Ratchov
CVSROOT:/cvs
Module name:src
Changes by: ratc...@cvs.openbsd.org 2019/05/08 23:17:45

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

Log message:
Implement set_rate() method for M-Audio Audiophile 192k cards.

It switches the AK5385 and the AK4358 chips between single-, double-
or quad-speed modes depending on the host sample rate.

Help and testing by Andrey Oktyabrskiy . Thanks!



CVS: cvs.openbsd.org: src

2019-05-08 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2019/05/08 18:20:57

Modified files:
sys/dev/usb: files.usb 

Log message:
Add ucrcom(4) a (very simple) driver for the serial console of (some)
chromebooks.

ok deraadt@



CVS: cvs.openbsd.org: www

2019-05-08 Thread Theo Buehler
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2019/05/08 18:13:36

Modified files:
.  : 66.html 

Log message:
obligatory bikeshedding now that i can't do that anymore
when the release notes are prepared



CVS: cvs.openbsd.org: www

2019-05-08 Thread Bob Beck
CVSROOT:/cvs
Module name:www
Changes by: b...@cvs.openbsd.org2019/05/08 18:10:52

Added files:
.  : 66.html 

Log message:
Add a 66.html to start with



CVS: cvs.openbsd.org: src

2019-05-08 Thread Ted Unangst
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/05/08 17:59:19

Modified files:
usr.sbin/ikectl: ikeca.c 

Log message:
convert system() calls to an execv() like interface.
avoids sh difficulties, etc.
from Matthew Martin.
ok deraadt reyk



CVS: cvs.openbsd.org: src

2019-05-08 Thread Ted Unangst
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/05/08 17:56:48

Modified files:
libexec/ftpd   : extern.h ftpcmd.y ftpd.8 ftpd.c popen.c 

Log message:
rm dead code and simplify ftpd_popen. this code has only called
its statically linked ls_main for some time now.
from Jan Klemkow
ok deraadt



CVS: cvs.openbsd.org: src

2019-05-08 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2019/05/08 17:54:39

Modified files:
sys/arch/alpha/conf: GENERIC 
sys/arch/amd64/conf: GENERIC 
sys/arch/arm64/conf: GENERIC 
sys/arch/armv7/conf: GENERIC 
sys/arch/hppa/conf: GENERIC 
sys/arch/i386/conf: GENERIC 
sys/arch/landisk/conf: GENERIC 
sys/arch/loongson/conf: GENERIC 
sys/arch/macppc/conf: GENERIC 
sys/arch/octeon/conf: GENERIC 
sys/arch/sparc64/conf: GENERIC 

Log message:
Enable ucrcom(4) on all architectures that have uslcom(4).

ok deraadt@



CVS: cvs.openbsd.org: src

2019-05-08 Thread Ted Unangst
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/05/08 17:54:13

Modified files:
usr.bin/systat : iostat.c systat.1 

Log message:
allow switching to print stats since boot via 'b'.
ok beck deraadt



CVS: cvs.openbsd.org: src

2019-05-08 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2019/05/08 17:53:40

Added files:
sys/dev/usb: ucrcom.c 

Log message:
Add ucrcom(4) a (very simple) driver for the serial console of (some)
chromebooks.

ok deraadt@



CVS: cvs.openbsd.org: src

2019-05-08 Thread Ted Unangst
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/05/08 17:53:26

Modified files:
sys/kern   : kern_malloc.c 

Log message:
print a few warnings when calling free with a zero size.
let's see what falls out.
ok beck deraadt kettenis mpi



CVS: cvs.openbsd.org: src

2019-05-08 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2019/05/08 17:51:34

Modified files:
sys/dev/usb: usbdevs.h usbdevs_data.h 

Log message:
regen



CVS: cvs.openbsd.org: src

2019-05-08 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2019/05/08 17:51:14

Modified files:
sys/dev/usb: usbdevs 

Log message:
add Google vendor ID



CVS: cvs.openbsd.org: src

2019-05-08 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/05/08 17:49:45

Modified files:
lib/libssl : ssl_tlsext.c 

Log message:
In DTLS, use_srtp is part of the extended server hello while in TLSv1.3,
it is an encrypted extension.  Include it in the server hello for now.
This will have to be revisited once TLSv1.3 gets there. Fixes SRTP
negotiation.

Problem found by two rust-openssl regress failures reported by mikeb.

with & ok beck



CVS: cvs.openbsd.org: src

2019-05-08 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/05/08 17:35:23

Modified files:
sys/dev/pci/drm/include/linux: wait.h 

Log message:
Add wait_event_killable().  In linux TASK_KILLABLE only gets fatal
signals, as we don't have an equivalent use PCATCH and check for all
signals before and after msleep.  Discussed with kettenis@.



CVS: cvs.openbsd.org: src

2019-05-08 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2019/05/08 17:23:06

Modified files:
distrib/miniroot: install.sub 

Log message:
Move the magic ping6 IPv6 default router discovery so we probe all
relevant interfaces at once, and ask for a user decision right after
we ask for the IPv4 default route.

ok florian@



CVS: cvs.openbsd.org: src

2019-05-08 Thread Reyk Floeter
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2019/05/08 17:22:19

Modified files:
usr.sbin/relayd: http.h relay.c relay_http.c relayd.c relayd.h 

Log message:
Fix and tweak websocket upgrade handling.

- Don't expect the Connection header to equal Upgrade, it may include Upgrade
- Reshuffle the code to check the Upgrade/Connection headers in one place

Reported and tested by Rivo Nurges

OK and input from benno@
Cvs: --



CVS: cvs.openbsd.org: www

2019-05-08 Thread Pamela Mosiejczuk
CVSROOT:/cvs
Module name:www
Changes by: pam...@cvs.openbsd.org  2019/05/08 17:10:44

Modified files:
.  : plus.html 

Log message:
plus entries for April 28 - May 8
OK florian@



CVS: cvs.openbsd.org: src

2019-05-08 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2019/05/08 16:44:31

Modified files:
sys/dev/pci/drm/include/linux: mm.h slab.h 

Log message:
Fix overflow tests such that we can allocate arrays with zero items.
Linux allows this sillyness and it is needed to make X work on the
integrated graphics on the AMD Ryzen 3 PRO 2200GE APU.

ok jsg@



CVS: cvs.openbsd.org: src

2019-05-08 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2019/05/08 16:15:48

Modified files:
libexec/ld.so  : util.c 

Log message:
On retguard systems, remove the ld.so-local stack-protector handling
functions because retguard uses hard-traps instead.
ok mortimer.



CVS: cvs.openbsd.org: src

2019-05-08 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/05/08 16:01:19

Modified files:
sys/dev/pci/drm/include/linux: atomic.h 

Log message:
add cmpxchg() with same implementation as atomic_cmpxchg()



CVS: cvs.openbsd.org: src

2019-05-08 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2019/05/08 16:00:55

Modified files:
usr.sbin/dhcpd : confpars.c dhcp-options.5 dhcp.h dhcpd.h 
 tables.c 

Log message:
Switch domain-search parsing from hand rolled hex string to
human readable list of strings.

Slightly tweaked version of a diff from William Ahern via tech@.

Long silence on all fronts leads to community based testing.



CVS: cvs.openbsd.org: src

2019-05-08 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2019/05/08 15:59:13

Modified files:
sbin/unwind: frontend.c 

Log message:
When starting up use the built-in DNSSEC trust anchor as well as the
on-disk one to give us a better chance on root KSK roll.  Either we
were online during the time the key rolled or we are running on a
version of unwind(8) that has the new KSK.



CVS: cvs.openbsd.org: src

2019-05-08 Thread Brent Cook
CVSROOT:/cvs
Module name:src
Changes by: bc...@cvs.openbsd.org   2019/05/08 15:53:10

Modified files:
lib/libcrypto/x509v3: v3_bcons.c v3_bitst.c v3_pmaps.c 

Log message:
initialize safestack pointers

ok beck@, tb@



Re: CVS: cvs.openbsd.org: src

2019-05-08 Thread Theo Buehler
On Wed, May 08, 2019 at 03:46:56PM -0600, Theo Buehler wrote:
> CVSROOT:  /cvs
> Module name:  src
> Changes by:   t...@cvs.openbsd.org2019/05/08 15:46:56
> 
> Modified files:
>   usr.sbin/httpd : httpd.conf.5 server_http.c 
> 
> Log message:
> The QUERY_STRING macro is not actually URL encoded, so fix the manual.
> Add a QUERY_STRING_ENC macro that is URL encoded.
> 
> Patch from Tim Baumgartner

Sorry, this should have been Tim Baumgard.

> 
> ok reyk
> 



CVS: cvs.openbsd.org: src

2019-05-08 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/05/08 15:46:56

Modified files:
usr.sbin/httpd : httpd.conf.5 server_http.c 

Log message:
The QUERY_STRING macro is not actually URL encoded, so fix the manual.
Add a QUERY_STRING_ENC macro that is URL encoded.

Patch from Tim Baumgartner

ok reyk



CVS: cvs.openbsd.org: src

2019-05-08 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/05/08 15:41:06

Modified files:
usr.sbin/httpd : http.h server_fcgi.c server_http.c 

Log message:
Set the REQUEST_URI CGI variable to the requested URI and query string
instead of the rewritten path and query string.

Patch from Tim Baumgard, reminded by Mischa Peters.

ok benno, reyk



CVS: cvs.openbsd.org: src

2019-05-08 Thread Alexandr Nedvedicky
CVSROOT:/cvs
Module name:src
Changes by: sas...@cvs.openbsd.org  2019/05/08 15:31:30

Modified files:
sbin/pfctl : parse.y 

Log message:
pfctl should check pfctl.astack is not overrun
(bug found and fixed by Petr Hoffmann _at_ oracle.com)

OK kn@



CVS: cvs.openbsd.org: src

2019-05-08 Thread Sebastian Benoit
CVSROOT:/cvs
Module name:src
Changes by: be...@cvs.openbsd.org   2019/05/08 15:30:11

Modified files:
usr.bin/rsync  : Makefile blocks.c downloader.c extern.h flist.c 
 ids.c io.c mkpath.c mktemp.c receiver.c 
 sender.c server.c socket.c symlinks.c 
 uploader.c 

Log message:
remove sess argument from all functions that only used it for logging
functions.
ok deraadt@



CVS: cvs.openbsd.org: src

2019-05-08 Thread Alexandr Nedvedicky
CVSROOT:/cvs
Module name:src
Changes by: sas...@cvs.openbsd.org  2019/05/08 15:09:57

Modified files:
sbin/pfctl : pfctl.8 
share/man/man5 : pf.conf.5 

Log message:
update to PF pfctl(8) and pf.conf(5) manpages
great input by Ingo, Jason and Klemens

OK schwarze@, OK kn@, OK jmc@



CVS: cvs.openbsd.org: src

2019-05-08 Thread Philip Guenther
CVSROOT:/cvs
Module name:src
Changes by: guent...@cvs.openbsd.org2019/05/08 14:27:29

Modified files:
lib/csu: crt0.c 

Log message:
Call _csu_finish() before {pre,}init_array functions so that in static
executables the TIB and __progname are set up before they can be used.

problem noted by ori@
ok millert@ kettenis@



CVS: cvs.openbsd.org: src

2019-05-08 Thread Brian Callahan
CVSROOT:/cvs
Module name:src
Changes by: bcal...@cvs.openbsd.org 2019/05/08 14:14:52

Modified files:
share/man/man5 : port-modules.5 

Log message:
Add flang to the MODFORTRAN_COMPILER list.
ok jca@



CVS: cvs.openbsd.org: src

2019-05-08 Thread Sebastian Benoit
CVSROOT:/cvs
Module name:src
Changes by: be...@cvs.openbsd.org   2019/05/08 14:00:26

Modified files:
usr.bin/rsync  : blocks.c client.c downloader.c extern.h fargs.c 
 flist.c ids.c io.c log.c main.c mkpath.c 
 mktemp.c receiver.c sender.c server.c session.c 
 socket.c symlinks.c uploader.c 

Log message:
remove sess argument from log functions. ok deraadt@



CVS: cvs.openbsd.org: src

2019-05-08 Thread Reyk Floeter
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2019/05/08 13:57:45

Modified files:
usr.sbin/httpd : config.c httpd.h parse.y server_fcgi.c 
 server_http.c 

Log message:
spacing



CVS: cvs.openbsd.org: src

2019-05-08 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2019/05/08 13:29:41

Modified files:
regress/sys/kern/realpath: realpathtest.c 

Log message:
Add another case for robert@ :)



CVS: cvs.openbsd.org: src

2019-05-08 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2019/05/08 12:48:34

Modified files:
usr.sbin/bgpd  : bgpd.c 

Log message:
when passing objects to imsg use the for 'obj, sizeof(*obj)' instead of
'obj, sizeof(struct object)'
OK benno@



CVS: cvs.openbsd.org: src

2019-05-08 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2019/05/08 12:07:13

Modified files:
usr.bin/tmux   : cmd-display-panes.c screen-redraw.c 
 server-client.c tmux.h 

Log message:
Add a flag to redraw only the overlay, and remove the overlay on resize.



CVS: cvs.openbsd.org: src

2019-05-08 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2019/05/08 12:05:03

Modified files:
usr.bin/tmux   : cmd.c cmd-find.c 

Log message:
Adjust how mouse targets are found so they always have a session, window
and pane.



CVS: cvs.openbsd.org: src

2019-05-08 Thread Ted Unangst
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/05/08 11:55:41

Modified files:
usr.bin/signify: signify.1 

Log message:
xr to sysupgrade



CVS: cvs.openbsd.org: src

2019-05-08 Thread Tobias Stoeckmann
CVSROOT:/cvs
Module name:src
Changes by: tob...@cvs.openbsd.org  2019/05/08 11:33:22

Modified files:
lib/libevent   : kqueue.c 

Log message:
Fixed integer overflow with an excessively large amount of events.

While at it: KNF and switch from reallocarray to recallocarray.

ok tedu



CVS: cvs.openbsd.org: src

2019-05-08 Thread Anton Lindqvist
CVSROOT:/cvs
Module name:src
Changes by: an...@cvs.openbsd.org   2019/05/08 10:24:48

Modified files:
sys/kern   : vfs_lockf.c 

Log message:
group function prototypes



CVS: cvs.openbsd.org: src

2019-05-08 Thread Anton Lindqvist
CVSROOT:/cvs
Module name:src
Changes by: an...@cvs.openbsd.org   2019/05/08 10:22:42

Modified files:
sys/kern   : subr_prf.c 

Log message:
Add a compile-time option called SPLASSERT_WATCH which changes the
default value of kern.splassert to 3, i.e. enter ddb on splassert()
failure. Will be used during fuzzing.

ok mpi@ visa@



CVS: cvs.openbsd.org: src

2019-05-08 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2019/05/08 09:55:56

Modified files:
sys/dev/pci/drm/i915: i915_drv.c 

Log message:
We're not quite ready yet to actually detach inteldrm(4).

ok jsg@



CVS: cvs.openbsd.org: src

2019-05-08 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2019/05/08 09:53:31

Modified files:
distrib/miniroot: install.sub 

Log message:
cleanup after unattended upgrade

tweak & OK kmos, OK semarie



CVS: cvs.openbsd.org: src

2019-05-08 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2019/05/08 09:34:19

Modified files:
sys/arch/mips64/mips64: db_machdep.c 

Log message:
Print the current ASID in hex instead of decimal, to match the format
with the ASID format on TLB entry lines.



CVS: cvs.openbsd.org: src

2019-05-08 Thread Ted Unangst
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/05/08 09:33:42

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

Log message:
add free size, the old number of mixers, when reallocating.
ok deraadt mpi



CVS: cvs.openbsd.org: src

2019-05-08 Thread Ted Unangst
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/05/08 09:32:53

Modified files:
sys/dev/ic : nvme.c 

Log message:
when freeing ccbs, pass the number so we can free with the size.
ok deraadt mpi



CVS: cvs.openbsd.org: src

2019-05-08 Thread Ted Unangst
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/05/08 09:32:02

Modified files:
sys/dev/acpi   : acpi.c 

Log message:
free size. the allocation is the header plus the length.



CVS: cvs.openbsd.org: src

2019-05-08 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/05/08 09:23:20

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

Log message:
match on 200 and 300 series pch kt



CVS: cvs.openbsd.org: src

2019-05-08 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/05/08 09:20:05

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

Log message:
match on 300 series pch



CVS: cvs.openbsd.org: src

2019-05-08 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/05/08 09:16:39

Modified files:
sys/dev/pci: pcidevs.h pcidevs_data.h 

Log message:
regen



CVS: cvs.openbsd.org: src

2019-05-08 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/05/08 09:16:16

Modified files:
sys/dev/pci: pcidevs 

Log message:
add more Intel 300 Series PCH ids



CVS: cvs.openbsd.org: src

2019-05-08 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2019/05/08 08:59:31

Modified files:
regress/sys/net/rtable: kern_compat.h 

Log message:
Mutex functions have no __ prefix anymore.  Adjust kernel compat
macros to make art.c compile again in regress.



CVS: cvs.openbsd.org: www

2019-05-08 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:www
Changes by: m...@cvs.openbsd.org2019/05/08 09:07:52

Modified files:
.  : want.html 

Log message:
Remove my request for a USB card.



CVS: cvs.openbsd.org: src

2019-05-08 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:src
Changes by: na...@cvs.openbsd.org   2019/05/08 09:06:20

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

Log message:
It is not an error condition if no new snapshot is available.
ok jasper@ florian@



CVS: cvs.openbsd.org: src

2019-05-08 Thread Carlos Cardenas
CVSROOT:/cvs
Module name:src
Changes by: ccarde...@cvs.openbsd.org   2019/05/08 08:53:54

Modified files:
sys/arch/arm64/dev: agintc.c 

Log message:
Fix kernel compile with DEBUG_AGINTC.

ok phessler, deraadt



CVS: cvs.openbsd.org: src

2019-05-08 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/05/08 08:18:25

Modified files:
lib/libcrypto/modes: ccm128.c 

Log message:
Make sure that the tag buffer size is equal to the tag size
in CRYPTO_ccm128_tag(). Otherwise the caller might end up
using the part of the tag buffer that was left uninitialized.

Issue found by Guido Vranken.

ok inoguchi



CVS: cvs.openbsd.org: www

2019-05-08 Thread Theo de Raadt
CVSROOT:/cvs
Module name:www
Changes by: dera...@cvs.openbsd.org 2019/05/08 07:47:24

Modified files:
.  : hackathons.html 
Added files:
images/hackathons: g2k19-s.gif g2k19.gif 

Log message:
g2k19 in Ottawa begins



CVS: cvs.openbsd.org: src

2019-05-08 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2019/05/08 07:04:27

Modified files:
usr.sbin/pkg_add/OpenBSD: PkgAdd.pm Signature.pm Update.pm 

Log message:
better signatures.
- pass state along to be able to do proper errsay instead of raw printing.
- compare VERSION markers first, because they're supposed to trump
everything else.

(todo: evaluate -v diagnostics for version bumps)

okay sthen@



CVS: cvs.openbsd.org: src

2019-05-08 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2019/05/08 06:41:55

Modified files:
usr.sbin/bgpd  : bgpd.c bgpd.h config.c pfkey.c session.c 
 session.h 

Log message:
Rework the TCP md5sig and IKE handling. Move the pfkey socket to the parent
process in this process. The refreshing of the keys is done whenever the
session state is changes to state IDLE or ACTIVE. This should behave better
when reloading configs with auth changes.
OK benno@



CVS: cvs.openbsd.org: src

2019-05-08 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2019/05/08 06:40:57

Modified files:
sys/kern   : vfs_bio.c vfs_biomem.c 

Log message:
Modify the buffer cache to always flip recovered DMA buffers high.

This also modifies the backoff logic to only back off what is requested
and not a "mimimum" amount. Tested by me, benno@, tedu@ anda ports build
by naddy@.

ok tedu@



CVS: cvs.openbsd.org: src

2019-05-08 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2019/05/08 04:19:15

Modified files:
usr.sbin/pkg_add/OpenBSD: Signature.pm 

Log message:
fix pkg_info -S bug: multiple inheritance tricks signature into actually
ignoring version elements.