CVS: cvs.openbsd.org: src

2019-10-29 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2019/10/29 23:27:50

Modified files:
usr.sbin/bgpd  : rde.c rde.h rde_rib.c 

Log message:
Add PREFIX_FLAG_STALE to mark prefixes in the Adj-RIB-Out as stale during
graceful reload. At the same time extend peer_dump() to force all updates
getting sent by adding every entry in the Adj-RIB-Out to the update tree
unless they are PREFIX_FLAG_DEAD or PREFIX_FLAG_STALE. The latter will be
removed during that stage since peer_dump() just did a full update of the
Adj-RIB-Out. Also fix prefix_withdraw to check the correct prefix flags
before removing a prefix from the update or withdraw tree.
OK benno@



CVS: cvs.openbsd.org: www

2019-10-29 Thread Kurt Mosiejczuk
CVSROOT:/cvs
Module name:www
Changes by: k...@cvs.openbsd.org2019/10/29 22:11:00

Modified files:
faq: upgrade66.html 

Log message:
Missed adding a note about the configuration changes for net/exabgp



CVS: cvs.openbsd.org: src

2019-10-29 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/10/29 20:28:38

Modified files:
sys/dev/pci/drm/amd/amdgpu: amdgpu_drv.c amdgpu_kms.c 

Log message:
drm/amdgpu: Bail earlier when amdgpu.cik_/si_support is not set to 1

>From Hans de Goede
4d5307c099afc9ce5fe89e8acf9b3c65104d0e08 in linux 4.19.y/4.19.81
984d7a929ad68b7be9990fc9c5cfa5d5c9fc7942 in mainline linux



CVS: cvs.openbsd.org: src

2019-10-29 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/10/29 20:25:33

Modified files:
sys/dev/pci/drm/ttm: ttm_bo_vm.c 

Log message:
drm/ttm: Restore ttm prefaulting

>From Thomas Hellstrom
11377c3e997eca9c9ff562fc4fc7a41a455bddf6 in linux 4.19.y/4.19.81
941f2f72dbbe0cf8c2d6e0b180a8021a0ec477fa in mainline linux



CVS: cvs.openbsd.org: src

2019-10-29 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/10/29 20:23:02

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

Log message:
drm/edid: Add 6 bpc quirk for SDC panel in Lenovo G50

>From Kai-Heng Feng
33af2a8ee304ee2deb618eebb534b52ce166467f in linux 4.19.y/4.19.81
11bcf5f78905b90baae8fb01e16650664ed0cb00 in mainline linux



CVS: cvs.openbsd.org: src

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

Modified files:
sys/dev/pci/drm/radeon: radeon_drv.c 

Log message:
Revert "drm/radeon: Fix EEH during kexec"

>From Alex Deucher
0933b0db7fb239be01270b25bf73884870d8c1e6 in linux 4.19.y/4.19.81
8d13c187c42e110625d60094668a8f778c092879 in mainline linux



CVS: cvs.openbsd.org: src

2019-10-29 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/10/29 20:08:38

Modified files:
lib/libm/src/ld80: k_sincosl.h 

Log message:
Fix declaration of S1 by swapping misplaced ',' and ';'.
This is inside !(defined(__amd64__) || defined(__i386__)),
while the file is only used on those two architectures.

"Free commit! No strings attached! No hidden tricks!" from miod



CVS: cvs.openbsd.org: src

2019-10-29 Thread joshua stein
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/10/29 12:48:18

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

Log message:
sync



CVS: cvs.openbsd.org: src

2019-10-29 Thread joshua stein
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/10/29 12:47:51

Modified files:
sys/dev/pci: pcidevs 

Log message:
add an Intel 9260 wifi card



CVS: cvs.openbsd.org: src

2019-10-29 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2019/10/29 12:40:47

Modified files:
lib/libcrypto/man: EVP_PKEY_CTX_ctrl.3 

Log message:
In rsa.h rev. 1.41, jsing@ provided RSA_pkey_ctx_ctrl(3).
Write the documentation from scratch.



CVS: cvs.openbsd.org: src

2019-10-29 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2019/10/29 12:22:21

Modified files:
lib/libcrypto/man: EVP_PKEY_CTX_ctrl.3 

Log message:
merge documentation for several macros EVP_PKEY_CTX_*_rsa_oaep_*(3)
and EVP_PKEY_CTX_*_ecdh_*(3); from Antoine Salon 
via OpenSSL commit 87103969 Oct 1 14:11:57 2018 -0700
from the OpenSSL 1.1.1 branch, which is still under a free license



CVS: cvs.openbsd.org: src

2019-10-29 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2019/10/29 11:41:45

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

Log message:
don't print a blank line if no stage1 or stage2 aspects



CVS: cvs.openbsd.org: src

2019-10-29 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2019/10/29 11:21:07

Modified files:
lib/libcrypto/man: EVP_PKEY_CTX_ctrl.3 

Log message:
merge documentation for EVP_PKEY_CTX_set1_id(3), EVP_PKEY_CTX_get1_id(3),
and EVP_PKEY_CTX_get1_id_len(3), but make it sound more like English text;
from Paul Yang via OpenSSL commit f922dac8 Sep 6 10:36:11 2018 +0800
from the OpenSSL 1.1.1 branch, which is still under a free license



CVS: cvs.openbsd.org: src

2019-10-29 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2019/10/29 10:33:27

Modified files:
lib/libcrypto/man: EVP_PKEY_CTX_ctrl.3 

Log message:
merge documentation of EVP_PKEY_CTX_set_ec_param_enc(3)
from Stephen Henson via OpenSSL commit 146ca72c Feb 19 14:35:43 2015 +



CVS: cvs.openbsd.org: src

2019-10-29 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2019/10/29 10:24:42

Modified files:
sys/kern   : spec_vnops.c 

Log message:
Consistently release the vnode lock while calling d_close of cloned and
non-cloned devices. Combine spec_close() and spec_close_clone() to avoid
code duplication.

OK mpi@



CVS: cvs.openbsd.org: src

2019-10-29 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2019/10/29 09:53:57

Modified files:
lib/libcrypto/man: EVP_PKEY_CTX_ctrl.3 

Log message:
correct HISTORY of some RSA control macros



CVS: cvs.openbsd.org: src

2019-10-29 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2019/10/29 08:10:01

Modified files:
lib/libcrypto/man: EVP_PKEY_CTX_new.3 

Log message:
list supported algorithm ids and clarify how the engine argument is used



CVS: cvs.openbsd.org: src

2019-10-29 Thread Kurt Miller
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2019/10/29 07:28:53

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

Log message:
Regen for Marvell 88SE9128 AHCI.



CVS: cvs.openbsd.org: src

2019-10-29 Thread Kurt Miller
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2019/10/29 07:27:51

Modified files:
sys/dev/pci: pcidevs 

Log message:
Add Marvell 88SE9128 AHCI. okay kettenis@



CVS: cvs.openbsd.org: src

2019-10-29 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2019/10/29 02:52:02

Modified files:
lib/libcrypto/rsa: rsa_pmeth.c 

Log message:
Add two controls that were missed in the previous commit.



CVS: cvs.openbsd.org: src

2019-10-29 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2019/10/29 02:00:18

Modified files:
lib/libcrypto/rsa: rsa.h rsa_pmeth.c 

Log message:
Update RSA OAEP code.

This syncs the RSA OAEP code with OpenSSL 1.1.1d, correctly handling OAEP
padding and providing various OAEP related controls.

ok inoguchi@ tb@



CVS: cvs.openbsd.org: src

2019-10-29 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2019/10/29 01:52:17

Modified files:
lib/libcrypto/evp: evp_locl.h pmeth_lib.c 

Log message:
Provide EVP_PKEY_CTX_md().

This handles controls with a message digest by name, looks up the message
digest and then proxies the control through with the EVP_MD *.

This is internal only for now and will be used in upcoming RSA related
changes.

Based on OpenSSL 1.1.1d.

ok inoguchi@ tb@



CVS: cvs.openbsd.org: src

2019-10-29 Thread Darren Tucker
CVSROOT:/cvs
Module name:src
Changes by: dtuc...@cvs.openbsd.org 2019/10/29 01:47:27

Modified files:
usr.bin/ssh: progressmeter.c sshd.c 

Log message:
Signal handler cleanup: remove leftover support for unreliable signals
and now-unneeded save and restore of errno.  ok deraadt@ markus@



CVS: cvs.openbsd.org: src

2019-10-29 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2019/10/29 00:47:04

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

Log message:
Replace the fatal non existing prefix call with a pt_add() call that
actually inserts the missing prefix in the prefix tree. While for
regular updates to the Adj-RIB-Out this case is indeed not reachable
it is reachable when using 'export default-route'.
Problem reported and fix tested by Esa Kuusisto.
OK benno@



CVS: cvs.openbsd.org: src

2019-10-29 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2019/10/29 00:42:05

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

Log message:
Fix two cases where the nexthop_runners tail queue can get corrupted.
First by requeuing an element that is already on the list and second
by freeing a nexthop that is still on the list resulting in a use after
free. This should fix bgpd crashes seen by various people.
Problem report including backtrace from benno@
OK benno@