CVS: cvs.openbsd.org: src

2020-01-21 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2020/01/22 00:58:28

Modified files:
lib/libcrypto  : Makefile 
lib/libssl : Makefile 
lib/libtls : Makefile 

Log message:
Add checks to ensure that lib{crypto,ssl,tls} public headers have actually
been installed prior to building.

Requested by and ok tb@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2020/01/22 00:52:38

Modified files:
sys/kern   : kern_unveil.c 
lib/libc/net   : ip6opt.c 
regress/sys/kern/cmsgsize: cmsgsize.c 
sbin/iked  : ikev2_msg.c 
sys/dev/fdt: rkclock.c 
sys/dev/sdmmc  : sdhc.c 
usr.bin/pr : pr.c 
usr.sbin/bgpctl: parser.c 
usr.sbin/bgpd  : rde_community.c 
usr.sbin/ldomctl: config.c 

Log message:
delete wasteful ;;
ok tedu



CVS: cvs.openbsd.org: src

2020-01-21 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2020/01/22 00:52:31

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

Log message:
Remove empty unmap_mapping_range() define and hide drm_vma_node_unmap().
Errors at compile time are preferred over being silently broken.
ok kettenis@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2020/01/22 00:49:33

Modified files:
lib/libssl : ssl.h ssl_locl.h 

Log message:
Move guards from public to internal headers, and fix not use values.

reverts previous attempt which would have broken ports

ok jsing@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2020/01/22 00:46:26

Modified files:
usr.sbin/bind/lib/dns: Makefile.in 
usr.sbin/bind/lib/isc: Makefile.in 
usr.sbin/bind/lib/isccfg: Makefile.in 
Removed files:
usr.sbin/bind/lib/dns: version.c 
usr.sbin/bind/lib/dns/include/dns: version.h 
usr.sbin/bind/lib/isc: version.c 
usr.sbin/bind/lib/isc/include/isc: version.h 
usr.sbin/bind/lib/isccfg: version.c 
usr.sbin/bind/lib/isccfg/include/isccfg: version.h 

Log message:
delete version detailing in all libraries; ok tedu florian



CVS: cvs.openbsd.org: src

2020-01-21 Thread Darren Tucker
CVSROOT:/cvs
Module name:src
Changes by: dtuc...@cvs.openbsd.org 2020/01/22 00:38:30

Modified files:
usr.bin/ssh: sshconnect.c 

Log message:
Ignore whitespace when checking explict fingerprint.  When confirming a host
key using the fingerprint itself, ignore leading and trailing whitespace.
ok deraadt@ djm@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Darren Tucker
CVSROOT:/cvs
Module name:src
Changes by: dtuc...@cvs.openbsd.org 2020/01/22 00:31:27

Modified files:
regress/usr.bin/ssh: keyscan.sh 

Log message:
Increase keyscan timeout from default.  On slow hosts 3 concurrent keyscans
can hit the default 5 second timeout, so increase to 15 seconds.



CVS: cvs.openbsd.org: src

2020-01-21 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2020/01/22 00:18:32

Modified files:
usr.sbin/bind/lib/isc/unix: app.c 

Log message:
Pretty sure we are not BSDI 3.1; remove a threading straggler



CVS: cvs.openbsd.org: src

2020-01-21 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2020/01/21 23:56:50

Modified files:
lib/libcrypto  : Makefile 

Log message:
Simplify header installation by combining the HDRS and HDRS_GEN loops.

ok beck@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2020/01/21 23:47:15

Modified files:
usr.sbin/bind/lib/dns: ds.c dst_api.c dst_gost.h dst_internal.h 
   dst_openssl.h hmac_link.c openssl_link.c 
   openssldsa_link.c opensslecdsa_link.c 
   opensslrsa_link.c 
usr.sbin/bind/lib/isc: aes.c hmacsha.c sha1.c sha2.c 
usr.sbin/bind/lib/isc/include/isc: hmacsha.h platform.h.in 
   sha1.h sha2.h 
Removed files:
usr.sbin/bind/lib/dns: openssleddsa_link.c opensslgost_link.c 

Log message:
unifdef openssl, specifically with passing this to unifdef(1) and
a bit of hand massaging:

define HAVE_EVP_SHA256
define HAVE_EVP_SHA384
define HAVE_EVP_SHA512
undef HAVE_FIPS_MODE
undef HAVE_OPENSSL_AES
define HAVE_OPENSSL_ECDSA
undef HAVE_OPENSSL_ED25519
undef HAVE_OPENSSL_ED448
define HAVE_OPENSSL_EVP_AES
undef HAVE_OPENSSL_GOST
define ISC_PLATFORM_OPENSSLHASH
define OPENSSL_VERSION_NUMBER 0x2000L
define USE_EVP
define ECDSA_R_RANDOM_NUMBER_GENERATION_FAILED
define OPENSSL

Guidance & OK tb



CVS: cvs.openbsd.org: src

2020-01-21 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2020/01/21 23:46:34

Modified files:
lib/libtls/man : tls_config_set_protocols.3 

Log message:
Note in the man page that the default protocols list includes 1.3

ok jsing@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2020/01/21 23:44:02

Modified files:
lib/libtls : tls.h 

Log message:
Enable TLS version 1.3 in the default protocols for libtls.

This will as yet not do anything, until we turn it on in the
lower level libraries.

ok jsing@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2020/01/21 23:40:42

Modified files:
usr.bin/openssl: s_client.c 

Log message:
Simplify the peekaboo code.

ok beck@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Ted Unangst
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2020/01/21 23:24:43

Modified files:
usr.sbin/acme-client: json.c 

Log message:
set array length after allocation succeeds so free path doesn't deref null.
ok deraadt



CVS: cvs.openbsd.org: src

2020-01-21 Thread Ted Unangst
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2020/01/21 23:24:08

Modified files:
sbin/ifconfig  : brconfig.c 
sbin/kbd   : kbd_wscons.c 
sbin/mount_nfs : mount_nfs.c 
sbin/nfsd  : nfsd.c 

Log message:
remove semicolons not needed after } statements. ok deraadt



CVS: cvs.openbsd.org: src

2020-01-21 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2020/01/21 23:23:00

Modified files:
lib/libssl : tls13_internal.h tls13_lib.c 
 tls13_record_layer.c 

Log message:
Implement support for SSL_peek() in the TLSv1.3 record layer.

ok beck@ tb@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Patrick Wildt
CVSROOT:/cvs
Module name:src
Changes by: patr...@cvs.openbsd.org 2020/01/21 22:25:05

Modified files:
sys/dev/fdt: simplefb.c 

Log message:
The Pinebook Pro's u-boot seems to add a zero-length framebuffer
node, which essentially means that there is none.  Make sure we
don't attach in that case, so that we don't panic while trying
to map it.

ok kettenis@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2020/01/21 22:19:24

Modified files:
share/man/man4 : com.4 isa.4 

Log message:
remove references to rtfps



CVS: cvs.openbsd.org: src

2020-01-21 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2020/01/21 22:06:23

Modified files:
lib/libssl : tls13_client.c tls13_internal.h 
 tls13_record_layer.c tls13_server.c 

Log message:
After the ClientHello has been sent or received and before the peer's
Finished message has been received, a change cipher spec may be received
and must be ignored. Add a flag to the record layer struct and set it at
the appropriate moments during the handshake so that we will ignore it.

ok jsing



CVS: cvs.openbsd.org: src

2020-01-21 Thread Ted Unangst
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2020/01/21 22:06:19

Modified files:
share/man/man4 : Makefile 
sys/dev/isa: files.isa 
sys/arch/i386/conf: GENERIC 
Removed files:
share/man/man4 : rtfps.4 
sys/dev/isa: rtfps.c 

Log message:
rm rtfps driver. disabled and man page doesn't inspire much confidence.
ok deraadt



CVS: cvs.openbsd.org: src

2020-01-21 Thread Ted Unangst
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2020/01/21 21:58:23

Modified files:
usr.bin/ssh: myproposal.h 

Log message:
remove diffie-hellman-group14-sha1 from default kex to see what happens.
general mostly ok



CVS: cvs.openbsd.org: src

2020-01-21 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2020/01/21 21:51:48

Modified files:
usr.bin/openssl: s_client.c 

Log message:
Add -peekaboo option to s_client, to test SSL_peek
peeks data before reading, compares to subsequent read.

ok jsing@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2020/01/21 21:51:51

Modified files:
usr.bin/ssh: ssh-keygen.c 

Log message:
For ssh-keygen -lF only add a space after key fingerprint when there is a
comment. This makes copy-paste of fingerprints into ssh easier.
OK djm@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2020/01/21 21:49:16

Modified files:
usr.bin/ssh: msg.c 

Log message:
some __func__ and strerror(errno) here; no functional change



CVS: cvs.openbsd.org: src

2020-01-21 Thread Ted Unangst
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2020/01/21 21:35:21

Modified files:
usr.sbin/bind/lib/isc/include/isc: Makefile.in 
Removed files:
usr.sbin/bind/lib/isc/include/isc: queue.h 

Log message:
florian points out that queue.h is unused



CVS: cvs.openbsd.org: src

2020-01-21 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2020/01/21 21:17:50

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

Log message:
Make ttm_bo_unmap_virtual_locked() actually unmap things.  Fixes cursor
issues and suspend/resume on amdgpu(4).  Might help radeondrm(4) issues
as well.

tested by mortimer@, abieber@, krw@
ok jsg@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Ted Unangst
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2020/01/21 21:04:39

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

Log message:
reword to avoid second person. ok cheloha deraadt



CVS: cvs.openbsd.org: src

2020-01-21 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2020/01/21 20:47:39

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

Log message:
claudio noticed that "exit" inside the main {} clause still runs the EXIT
clause, this was poorly documented as "immediately", and "after the last line"
which is inaccurate there are other causes.  Explain this a bit better.
ok millert claudio



CVS: cvs.openbsd.org: src

2020-01-21 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2020/01/21 20:43:13

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

Log message:
Some devices do not update the TRB transfer residual information as
STALL'ing. So use the standard's recommended csw.dCSWDataResidue and
copy data only on successful completion of the request.

Fixes issue where N bytes are requested, M bytes are returned, and the
device STALL's because it has no more data to give. Thus resulting in
no data is copied to the user buffer but the claim being made that
said buffer now contains M new bytes of valid data.

e.g. when cdio(1) asks for 4096 bytes of media data and only 96 bytes
are provided by the CDRW device.

Feeback, cluebats, fixes and ok patrick@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2020/01/21 20:35:11

Modified files:
distrib/sets/lists/comp: mi 
distrib/sets/lists/man: mi 

Log message:
sync



CVS: cvs.openbsd.org: xenocara

2020-01-21 Thread Jonathan Gray
CVSROOT:/cvs
Module name:xenocara
Changes by: j...@cvs.openbsd.org2020/01/21 20:34:13

Modified files:
lib/mesa/m4: .gitignore 
lib/mesa/src/gallium/winsys/panfrost/drm: Makefile.am 
Added files:
lib/mesa/src/mesa/drivers/dri/r200: radeon_buffer_objects.c 
radeon_buffer_objects.h 
radeon_chipset.h 
radeon_cmdbuf.h 
radeon_common.c 
radeon_common.h 
radeon_common_context.c 
radeon_common_context.h 
radeon_debug.c 
radeon_debug.h radeon_dma.c 
radeon_dma.h radeon_fbo.c 
radeon_fog.c radeon_fog.h 
radeon_mipmap_tree.c 
radeon_mipmap_tree.h 
radeon_pixel_read.c 
radeon_queryobj.c 
radeon_queryobj.h 
radeon_screen.c 
radeon_screen.h 
radeon_span.c radeon_span.h 
radeon_tex_copy.c 
radeon_texture.c 
radeon_texture.h 
radeon_tile.c radeon_tile.h 
lib/mesa/src/mesa/drivers/dri/r200/server: radeon_reg.h 

Log message:
fix some things which got broken in merge



CVS: cvs.openbsd.org: src

2020-01-21 Thread Mike Larkin
CVSROOT:/cvs
Module name:src
Changes by: mlar...@cvs.openbsd.org 2020/01/21 20:29:58

Modified files:
sys/arch/amd64/include: vmmvar.h 

Log message:
Remove trailing whitespace, no code change.



CVS: cvs.openbsd.org: src

2020-01-21 Thread Scott Soule Cheloha
CVSROOT:/cvs
Module name:src
Changes by: chel...@cvs.openbsd.org 2020/01/21 20:26:02

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

Log message:
wbsd(4): timeout_add(9) -> timeout_add_msec(9); ok deraadt@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2020/01/21 20:20:09

Modified files:
lib/libssl : tls13_client.c 

Log message:
Correctly set the legacy version when TLSv1.3 is building a client hello.

The legacy version field is capped at TLSv1.2, however it may be lower than
this if we are only choosing to use TLSv1.0 or TLSv1.1.

ok beck@ tb@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2020/01/21 20:15:43

Modified files:
lib/libssl : tls13_lib.c 

Log message:
Don't add an extra unknown error if we got a fatal alert
ok jsing@



CVS: cvs.openbsd.org: xenocara

2020-01-21 Thread Jonathan Gray
CVSROOT:/cvs
Module name:xenocara
Changes by: j...@cvs.openbsd.org2020/01/21 20:07:53

Added files:
lib/mesa/src/amd/common: sid_tables.h 
lib/mesa/src/amd/vulkan: radv_entrypoints.c radv_entrypoints.h 
 radv_extensions.c radv_extensions.h 
 vk_format_table.c 
lib/mesa/src/broadcom/cle: v3d_packet_v21_pack.h 
   v3d_packet_v33_pack.h 
   v3d_packet_v41_pack.h 
   v3d_packet_v42_pack.h v3d_xml.h 
lib/mesa/src/compiler/glsl: float64_glsl.h glsl_lexer.cpp 
glsl_parser.cpp glsl_parser.h 
ir_expression_operation.h 
ir_expression_operation_constant.h 
ir_expression_operation_strings.h 
lib/mesa/src/compiler/glsl/glcpp: glcpp-lex.c glcpp-parse.c 
  glcpp-parse.h 
lib/mesa/src/compiler/nir: nir_builder_opcodes.h 
   nir_constant_expressions.c 
   nir_intrinsics.c nir_intrinsics.h 
   nir_opcodes.c nir_opcodes.h 
   nir_opt_algebraic.c 
lib/mesa/src/compiler/spirv: spirv_info.c vtn_gather_types.c 
lib/mesa/src/egl: g_egldispatchstubs.c g_egldispatchstubs.h 
lib/mesa/src/freedreno/ir3: ir3_nir_trig.c 
lib/mesa/src/gallium/auxiliary/indices: u_indices_gen.c 
u_unfilled_gen.c 
lib/mesa/src/gallium/auxiliary/util: u_format_table.c 
lib/mesa/src/gallium/drivers/radeonsi: si_driinfo.h 
lib/mesa/src/gallium/state_trackers/xa: xa_tracker.h 
lib/mesa/src/glx: indirect.c indirect.h indirect_init.c 
  indirect_size.c indirect_size.h 
lib/mesa/src/intel/compiler: brw_nir_trig_workarounds.c 
lib/mesa/src/intel/genxml: gen10_pack.h gen11_pack.h 
   gen45_pack.h gen4_pack.h gen5_pack.h 
   gen6_pack.h gen75_pack.h gen7_pack.h 
   gen8_pack.h gen9_pack.h genX_bits.h 
   genX_xml.h 
lib/mesa/src/intel/isl: isl_format_layout.c 
lib/mesa/src/intel/vulkan: anv_entrypoints.c anv_entrypoints.h 
   anv_extensions.c anv_extensions.h 
lib/mesa/src/mapi/es1api: glapi_mapi_tmp.h 
lib/mesa/src/mapi/es2api: glapi_mapi_tmp.h 
lib/mesa/src/mapi/glapi: glapi_gentable.c glapi_mapi_tmp.h 
 glapi_sparc.S glapi_x86-64.S 
 glapi_x86.S glapitable.h glapitemp.h 
 glprocs.h 
lib/mesa/src/mapi/shared-glapi: glapi_mapi_tmp.h 
lib/mesa/src/mesa/main: api_exec.c dispatch.h enums.c 
format_fallback.c format_info.h 
format_pack.c format_unpack.c get_hash.h 
marshal_generated.c marshal_generated.h 
remap_helper.h 
lib/mesa/src/mesa/program: lex.yy.c program_parse.tab.c 
   program_parse.tab.h 
lib/mesa/src/util: format_srgb.c 
lib/mesa/src/util/xmlpool: options.h ca.gmo de.gmo es.gmo nl.gmo 
   fr.gmo sv.gmo 
lib/mesa/src/vulkan/util: vk_enum_to_str.c vk_enum_to_str.h 

Log message:
add files generated by python scripts which stopped being shipped with
distfiles when upstream removed autotools



CVS: cvs.openbsd.org: xenocara

2020-01-21 Thread Jonathan Gray
CVSROOT:/cvs
Module name:xenocara
Changes by: j...@cvs.openbsd.org2020/01/21 20:03:06

Modified files:
lib/mesa/m4: .gitignore 
lib/mesa/src/gallium/winsys/panfrost/drm: Makefile.am 
Added files:
lib/mesa   : Makefile.am Makefile.in aclocal.m4 autogen.sh 
 configure configure.ac install-gallium-links.mk 
 install-lib-links.mk 
lib/mesa/bin   : ar-lib compile config.guess config.sub depcomp 
 install-sh ltmain.sh missing 
lib/mesa/m4: ax_check_compile_flag.m4 ax_check_gnu_make.m4 
 ax_check_python_mako_module.m4 
 ax_gcc_builtin.m4 ax_gcc_func_attribute.m4 
 ax_prog_bison.m4 ax_prog_flex.m4 ax_pthread.m4 
 libtool.m4 ltoptions.m4 ltsugar.m4 ltversion.m4 
 lt~obsolete.m4 
lib/mesa/src   : Makefile.am Makefile.in 
lib/mesa/src/amd: Makefile.addrlib.am Makefile.am 
  Makefile.common.am Makefile.in 
lib/mesa/src/amd/vulkan: Makefile.am Makefile.in 
lib/mesa/src/broadcom: Makefile.am Makefile.cle.am 
   Makefile.genxml.am Makefile.in 
   Makefile.v3d.am 
lib/mesa/src/compiler: Makefile.am Makefile.glsl.am Makefile.in 
   Makefile.nir.am Makefile.spirv.am 
lib/mesa/src/egl: Makefile.am Makefile.in 
lib/mesa/src/egl/main: egl.pc.in 
lib/mesa/src/egl/wayland/wayland-drm: Makefile.am Makefile.in 
lib/mesa/src/freedreno: Makefile.am Makefile.in 
lib/mesa/src/gallium: Automake.inc Makefile.am Makefile.in 
lib/mesa/src/gallium/auxiliary: Makefile.am Makefile.in 
lib/mesa/src/gallium/auxiliary/pipe-loader: Makefile.am 
Makefile.in 
lib/mesa/src/gallium/drivers/etnaviv: Automake.inc Makefile.am 
  Makefile.in 
lib/mesa/src/gallium/drivers/freedreno: Automake.inc Makefile.am 
Makefile.in 
lib/mesa/src/gallium/drivers/i915: Automake.inc Makefile.am 
   Makefile.in 
lib/mesa/src/gallium/drivers/kmsro: Automake.inc Makefile.am 
Makefile.in 
lib/mesa/src/gallium/drivers/llvmpipe: Automake.inc Makefile.am 
   Makefile.in 
lib/mesa/src/gallium/drivers/nouveau: Automake.inc Makefile.am 
  Makefile.in 
lib/mesa/src/gallium/drivers/r300: Automake.inc Makefile.am 
   Makefile.in 
lib/mesa/src/gallium/drivers/r600: Automake.inc Makefile.am 
   Makefile.in 
lib/mesa/src/gallium/drivers/radeonsi: Automake.inc Makefile.am 
   Makefile.in 
lib/mesa/src/gallium/drivers/softpipe: Automake.inc Makefile.am 
   Makefile.in 
lib/mesa/src/gallium/drivers/svga: Automake.inc Makefile.am 
   Makefile.in 
lib/mesa/src/gallium/drivers/swr: Automake.inc Makefile.am 
  Makefile.in 
lib/mesa/src/gallium/drivers/tegra: Automake.inc Makefile.am 
Makefile.in 
lib/mesa/src/gallium/drivers/v3d: Automake.inc Makefile.am 
  Makefile.in 
lib/mesa/src/gallium/drivers/vc4: Automake.inc Makefile.am 
  Makefile.in 
lib/mesa/src/gallium/drivers/virgl: Automake.inc Makefile.am 
Makefile.in 
lib/mesa/src/gallium/state_trackers/clover: Makefile.am 
Makefile.in 
lib/mesa/src/gallium/state_trackers/dri: Makefile.am Makefile.in 
lib/mesa/src/gallium/state_trackers/glx/xlib: Makefile.am 
  Makefile.in 
lib/mesa/src/gallium/state_trackers/nine: Makefile.am 
  Makefile.in 
lib/mesa/src/gallium/state_trackers/omx: Makefile.am Makefile.in 
lib/mesa/src/gallium/state_trackers/omx/bellagio: Makefile.am 
  Makefile.in 
lib/mesa/src/gallium/state_trackers/omx/tizonia: Makefile.am 
 Makefile.in 
lib/mesa/src/gallium/state_trackers/osmesa: Makefile.am 
Makefile.in 
lib/mesa/src/gallium/state_tracke

CVS: cvs.openbsd.org: xenocara

2020-01-21 Thread Jonathan Gray
CVSROOT:/cvs
Module name:xenocara
Changes by: j...@cvs.openbsd.org2020/01/21 19:54:22

Modified files:
.  : 3RDPARTY 

Log message:
update



CVS: cvs.openbsd.org: xenocara

2020-01-21 Thread Jonathan Gray
CVSROOT:/cvs
Module name:xenocara
Changes by: j...@cvs.openbsd.org2020/01/21 19:52:03

Modified files:
distrib/sets/lists/xbase: md.alpha md.amd64 md.arm64 md.armv7 
  md.hppa md.i386 md.landisk md.loongson 
  md.macppc md.octeon md.sgi md.sparc64 

Log message:
sync



CVS: cvs.openbsd.org: xenocara

2020-01-21 Thread Jonathan Gray
CVSROOT:/cvs
Module name:xenocara
Changes by: j...@cvs.openbsd.org2020/01/21 19:49:53

Modified files:
lib/mesa   : Makefile.bsd-wrapper SConstruct VERSION 
 common.py meson.build 
lib/mesa/docs  : application-issues.html bugs.html 
 codingstyle.html contents.html developers.html 
 devinfo.html download.html egl.html 
 envvars.html faq.html features.txt 
 helpwanted.html index.html install.html 
 intro.html license.html lists.html 
 llvmpipe.html opengles.html postprocess.html 
 precompiled.html release-calendar.html 
 releasing.html relnotes.html repository.html 
 shading.html sourcedocs.html sourcetree.html 
 submittingpatches.html systems.html thanks.html 
 utilities.html viewperf.html vmware-guest.html 
 xlibdriver.html 
lib/mesa/docs/relnotes: 12.0.4.html 12.0.5.html 12.0.6.html 
13.0.6.html 17.0.0.html 17.0.1.html 
17.0.2.html 17.0.3.html 17.0.4.html 
17.0.5.html 17.0.6.html 17.0.7.html 
17.1.0.html 17.1.1.html 17.1.2.html 
17.1.3.html 17.1.4.html 17.1.5.html 
17.1.6.html 17.2.0.html 17.2.1.html 
17.2.2.html 17.2.3.html 17.2.4.html 
17.2.5.html 17.2.6.html 17.2.7.html 
17.2.8.html 6.5.2.html 7.11.html 
7.5.1.html 7.5.2.html 7.5.html 9.0.html 
9.1.2.html 
lib/mesa/include: c99_compat.h 
lib/mesa/include/CL: cl_d3d10.h cl_d3d11.h 
 cl_dx9_media_sharing.h cl_ext.h cl_gl_ext.h 
 cl_platform.h opencl.h 
lib/mesa/include/EGL: egl.h eglext.h eglplatform.h 
lib/mesa/include/GL: glcorearb.h glext.h 
lib/mesa/include/GL/internal: dri_interface.h 
lib/mesa/include/GLES: gl.h glext.h 
lib/mesa/include/GLES2: gl2.h gl2ext.h 
lib/mesa/include/GLES3: gl3.h gl31.h gl32.h gl3ext.h 
lib/mesa/include/KHR: khrplatform.h 
lib/mesa/include/drm-uapi: drm.h drm_fourcc.h drm_mode.h 
   i915_drm.h 
lib/mesa/include/pci_ids: i965_pci_ids.h radeonsi_pci_ids.h 
lib/mesa/include/vulkan: vulkan.h 
lib/mesa/scons : custom.py gallium.py llvm.py 
lib/mesa/src   : meson.build 
lib/mesa/src/amd: Makefile.sources 
lib/mesa/src/amd/common: ac_binary.c ac_binary.h ac_debug.c 
 ac_debug.h ac_gpu_info.c ac_gpu_info.h 
 ac_llvm_build.c ac_llvm_build.h 
 ac_llvm_helper.cpp ac_llvm_util.c 
 ac_llvm_util.h ac_nir_to_llvm.c 
 ac_surface.c ac_surface.h amd_family.h 
 sid.h sid_tables.py 
lib/mesa/src/amd/vulkan: Makefile.sources radv_cmd_buffer.c 
 radv_cs.h radv_debug.h 
 radv_descriptor_set.c 
 radv_descriptor_set.h radv_device.c 
 radv_entrypoints_gen.py radv_formats.c 
 radv_image.c radv_meta.c radv_meta.h 
 radv_meta_blit.c radv_meta_blit2d.c 
 radv_meta_buffer.c radv_meta_bufimage.c 
 radv_meta_clear.c radv_meta_copy.c 
 radv_meta_decompress.c 
 radv_meta_fast_clear.c 
 radv_meta_resolve.c 
 radv_meta_resolve_cs.c 
 radv_meta_resolve_fs.c radv_pipeline.c 
 radv_pipeline_cache.c radv_private.h 
 radv_query.c radv_radeon_winsys.h 
 radv_wsi.c si_cmd_buffer.c vk_format.h 
 vk_format_parse.py vk_format_table.py 
lib/mesa/src/amd/vulkan/winsys/amdgpu: radv_amdgpu_bo.c 
   radv_amdgpu_cs.c 
   radv_amdgpu_surface.c 
   radv_amdgpu_winsys.c 
lib/mesa/src/broadcom: Makefile.sources 
lib/mesa/src/broadcom/cle: gen_pack_header.py 
   v3d_packet_helpers.h 
lib/mesa/src/broadcom/common: v3d_device_info.h 
lib/mes

CVS: cvs.openbsd.org: src

2020-01-21 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2020/01/21 19:39:45

Modified files:
lib/libssl : tls13_client.c tls13_handshake.c 
 tls13_internal.h tls13_record_layer.c 

Log message:
The legacy_record_version must be set to TLS1_2_VERSION except
in the ClientHello where it may be set to TLS1_VERSION.  Use
the minimal supported version to decide whether we choose to do
so or not. Use a sent hook to set it back TLS1_2_VERSION right
after the ClientHello message is on the wire.

ok beck jsing



CVS: cvs.openbsd.org: src

2020-01-21 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2020/01/21 19:34:39

Modified files:
lib/libssl : ssl_methods.c 

Log message:
Hook up the TLSv1.3 legacy shutdown code.

Missed in an earlier commit.



CVS: cvs.openbsd.org: src

2020-01-21 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2020/01/21 19:25:11

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

Log message:
Add a zero length TD, rather than adding a zero length TRB to the
original TD, when a transfer is a multiple of the max packet size. The
zero length TD will have a NULL xfer pointer.

As a result "NULL xfer pointer" situations become perfectly normal. So
change the log_warnx() that issues that verbiage to a log_debug().

Note that the original transfer will complete and report its result up
the USB stack before the zero length transfer is executed.

Fixes (at least) urtwn(4) interfaces.

Feeback, cluebats, fixes and ok patrick@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2020/01/21 19:25:21

Modified files:
usr.bin/ssh: sshsig.c 

Log message:
factor out parsing of allowed-signers lines



CVS: cvs.openbsd.org: src

2020-01-21 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2020/01/21 19:21:05

Modified files:
lib/libssl : tls13_client.c tls13_internal.h tls13_lib.c 
 tls13_server.c 

Log message:
Add minimal support for hello retry request for RFC conformance.
We currently don't support sending a modified clienthello

ok jsing@ tb@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Scott Soule Cheloha
CVSROOT:/cvs
Module name:src
Changes by: chel...@cvs.openbsd.org 2020/01/21 19:02:31

Modified files:
sys/dev/pv : xbf.c 

Log message:
xbf(4): tsleep(9) -> tsleep_nsec(9); ok mikeb@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2020/01/21 19:01:11

Modified files:
regress/usr.sbin/bgpd/integrationtests: Makefile 
Added files:
regress/usr.sbin/bgpd/integrationtests: 
bgpd.maxprefix.rdomain1.conf 
bgpd.maxprefix.rdomain2.conf 
maxprefix.sh 

Log message:
Add a simple regress test to check that max-prefix works



CVS: cvs.openbsd.org: src

2020-01-21 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2020/01/21 18:21:43

Modified files:
lib/libssl : Makefile ssl.h ssl_methods.c 

Log message:
Split the TLSv1.3 guards into separate client and server guards.

ok beck@ tb@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2020/01/21 18:02:28

Modified files:
lib/libssl : tls13_internal.h tls13_lib.c 
 tls13_record_layer.c 

Log message:
Implement close-notify and SSL_shutdown() handling for the TLSv1.3 client.

ok beck@ inoguchi@ tb@



Re: CVS: cvs.openbsd.org: src

2020-01-21 Thread Theo de Raadt
Scott Soule Cheloha  wrote:

> CVSROOT:  /cvs
> Module name:  src
> Changes by:   chel...@cvs.openbsd.org 2020/01/21 17:17:46
> 
> Modified files:
>   sys/scsi   : scsi_base.c 
> 
> Log message:
> scsi_delay(): sleep without lbolt
> 
> If we want to sleep for a multiple of seconds we can do that without
> involving lbolt.
> 
> This may cause some paths to sleep longer than they have on average,
> as sleeping on lbolt wakes you up within one second, not after one
> second.  If this is a problem we will need to shorten the intervals
> given to scsi_delay().

Well... It means some codepaths (particularily those with very small
sleeps) have been sleeping far less than expected.  Like you look
in a manual and it says "sleep 1/100th of a second", and you code for
that, but lbolt fires early.

So this change makes it more correct: undersleep is a bug.



CVS: cvs.openbsd.org: src

2020-01-21 Thread Scott Soule Cheloha
CVSROOT:/cvs
Module name:src
Changes by: chel...@cvs.openbsd.org 2020/01/21 17:17:46

Modified files:
sys/scsi   : scsi_base.c 

Log message:
scsi_delay(): sleep without lbolt

If we want to sleep for a multiple of seconds we can do that without
involving lbolt.

This may cause some paths to sleep longer than they have on average,
as sleeping on lbolt wakes you up within one second, not after one
second.  If this is a problem we will need to shorten the intervals
given to scsi_delay().

With insight from deraadt@.

ok krw@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Ted Unangst
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2020/01/21 16:59:20

Modified files:
usr.sbin/bind/bin/dig: dighost.c 
usr.sbin/bind/lib/dns: lib.c master.c openssl_link.c 
usr.sbin/bind/lib/dns/rdata/in_1: wks_11.c 
usr.sbin/bind/lib/isc: Makefile.in app_api.c hash.c log.c 
   refcount.c result.c socket_api.c task.c 
   timer.c 
usr.sbin/bind/lib/isc/include/isc: Makefile.in queue.h 
   refcount.h util.h 
usr.sbin/bind/lib/isc/nothreads/include/isc: Makefile.in 
 condition.h 
usr.sbin/bind/lib/isc/unix: app.c socket.c strerror.c 
Removed files:
usr.sbin/bind/lib/isc: mutexblock.c 
usr.sbin/bind/lib/isc/include/isc: mutexblock.h 
usr.sbin/bind/lib/isc/nothreads: mutex.c 
usr.sbin/bind/lib/isc/nothreads/include/isc: mutex.h 

Log message:
remove mutex.h etc. since this code is now unthreaded.
ok florian



CVS: cvs.openbsd.org: src

2020-01-21 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2020/01/21 15:47:39

Modified files:
regress/usr.bin/nc: Makefile server-tcp.c 

Log message:
Connect netcat client to server and close stdin.  Then netcat waits
for the other side to terminate.  Check that netcat is sleeping and
does not run in a busy loop.  Add tests for TCP, TLS, and UDP.



CVS: cvs.openbsd.org: src

2020-01-21 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2020/01/21 15:39:57

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

Log message:
expose the number of currently-authenticating connections
along with the MaxStartups limit in the proctitle;
suggestion from Philipp Marek, w/ feedback from Craig Miskell
ok dtucker@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Remi Locherer
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2020/01/21 13:38:52

Modified files:
usr.sbin/ospf6d: ospf6d.h parse.y printconf.c 
usr.sbin/ospfd : ospfd.c ospfd.h parse.y printconf.c 

Log message:
Allow the interface setting "type p2p" to be configured globallz or per
area. Most of the other interface settings allow this.

ok denis@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2020/01/21 09:32:54

Added files:
usr.sbin/btrace: TODO 

Log message:
Some remaining items for the curious.



CVS: cvs.openbsd.org: src

2020-01-21 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2020/01/21 09:27:18

Added files:
regress/usr.sbin/btrace: Makefile arithm.bt arithm.ok 
 beginend.bt beginend.ok comments.bt 
 comments.ok delete.bt exit.bt exit.ok 
 map.bt map.ok maxoperand.bt 
 maxoperand.ok multismts.bt multismts.ok 
 nsecs+var.bt nsecs+var.ok 

Log message:
Regression tests for btrace(8).



CVS: cvs.openbsd.org: src

2020-01-21 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2020/01/21 09:25:41

src/regress/usr.sbin/btrace

Update of /cvs/src/regress/usr.sbin/btrace
In directory cvs.openbsd.org:/tmp/cvs-serv23234/btrace

Log Message:
Directory /cvs/src/regress/usr.sbin/btrace added to the repository



CVS: cvs.openbsd.org: src

2020-01-21 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2020/01/21 09:24:55

Added files:
usr.sbin/btrace: Makefile bt.5 bt_parse.y bt_parser.h btrace.8 
 btrace.c btrace.h ksyms.c map.c printf.c 

Log message:
Import a bug tracer, companion of dt(4), that speaks the bt(5) language.

ok kettenis@, visa@, jasper@, deraadt@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2020/01/21 09:21:40

Modified files:
etc/etc.amd64  : MAKEDEV 
etc/etc.arm64  : MAKEDEV 
etc/etc.armv7  : MAKEDEV 
etc/etc.i386   : MAKEDEV 
etc/etc.landisk: MAKEDEV 
etc/etc.loongson: MAKEDEV 
etc/etc.luna88k: MAKEDEV 
etc/etc.macppc : MAKEDEV 
etc/etc.octeon : MAKEDEV 
etc/etc.sgi: MAKEDEV 
etc/etc.sparc64: MAKEDEV 

Log message:
regen



CVS: cvs.openbsd.org: src

2020-01-21 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2020/01/21 09:22:19

src/usr.sbin/btrace

Update of /cvs/src/usr.sbin/btrace
In directory cvs.openbsd.org:/tmp/cvs-serv47405/btrace

Log Message:
Directory /cvs/src/usr.sbin/btrace added to the repository



CVS: cvs.openbsd.org: src

2020-01-21 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2020/01/21 09:20:44

Modified files:
etc: MAKEDEV.common 
etc/etc.amd64  : MAKEDEV.md 
etc/etc.arm64  : MAKEDEV.md 
etc/etc.armv7  : MAKEDEV.md 
etc/etc.i386   : MAKEDEV.md 
etc/etc.landisk: MAKEDEV.md 
etc/etc.loongson: MAKEDEV.md 
etc/etc.luna88k: MAKEDEV.md 
etc/etc.macppc : MAKEDEV.md 
etc/etc.octeon : MAKEDEV.md 
etc/etc.sgi: MAKEDEV.md 
etc/etc.sparc64: MAKEDEV.md 

Log message:
Add /dev/dt



CVS: cvs.openbsd.org: src

2020-01-21 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2020/01/21 09:18:28

Modified files:
share/man/man4 : Makefile 
Added files:
share/man/man4 : dt.4 

Log message:
Manual for dt(4).



CVS: cvs.openbsd.org: src

2020-01-21 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2020/01/21 09:16:23

Modified files:
sys/arch/amd64/amd64: conf.c 
sys/arch/arm/arm: conf.c 
sys/arch/arm64/arm64: conf.c 
sys/arch/i386/i386: conf.c 
sys/arch/landisk/landisk: conf.c 
sys/arch/loongson/loongson: conf.c 
sys/arch/luna88k/luna88k: conf.c 
sys/arch/macppc/macppc: conf.c 
sys/arch/octeon/octeon: conf.c 
sys/arch/sgi/sgi: conf.c 
sys/arch/sparc64/sparc64: conf.c 
sys/conf   : GENERIC files 
sys/kern   : kern_clock.c kern_sched.c kern_synch.c 
 sched_bsd.c 
sys/sys: conf.h syscall_mi.h 
Added files:
sys/dev/dt : dt_dev.c dt_prov_profile.c dt_prov_static.c 
 dt_prov_syscall.c dtvar.h 
sys/sys: tracepoint.h 

Log message:
Import dt(4) a driver and framework for Dynamic Profiling.

The design is fairly simple: events, in the form of descriptors on a
ring, are being produced in any kernel context and being consumed by
a userland process reading /dev/dt.

Code and hooks are all guarded under '#if NDT > 0' so this commit
shouldn't introduce any change as long as dt(4) is disable in GENERIC.

ok kettenis@, visa@, jasper@, deraadt@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2020/01/21 09:15:46

src/sys/dev/dt

Update of /cvs/src/sys/dev/dt
In directory cvs.openbsd.org:/tmp/cvs-serv80812/sys/dev/dt

Log Message:
Directory /cvs/src/sys/dev/dt added to the repository



CVS: cvs.openbsd.org: xenocara

2020-01-21 Thread Okan Demirmen
CVSROOT:/cvs
Module name:xenocara
Changes by: o...@cvs.openbsd.org2020/01/21 08:50:03

Modified files:
app/cwm: kbfunc.c 

Log message:
Ensure the pointer stays within client bounds after a window 'snap' (to edge).

reported by Stefan Hagen.



CVS: cvs.openbsd.org: src

2020-01-21 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2020/01/21 08:21:42

Modified files:
sys/kern   : init_sysent.c syscalls.c 
sys/sys: syscall.h syscallargs.h 

Log message:
regen



CVS: cvs.openbsd.org: src

2020-01-21 Thread Visa Hankala
CVSROOT:/cvs
Module name:src
Changes by: v...@cvs.openbsd.org2020/01/21 08:20:47

Modified files:
sys/kern   : kern_fork.c kern_synch.c syscalls.master 
sys/sys: proc.h 

Log message:
Make __thrsleep(2) and __thrwakeup(2) MP-safe

Threads in __thrsleep(2) are tracked using queues, one queue per each
process for synchronization between threads of a process, and one
system-wide queue for the special ident -1 handling. Each of these
queues has an associated rwlock that serializes access.

The queue lock is released when calling copyin() and copyout() in
thrsleep(). This preserves the existing behaviour where a blocked copy
operation does not prevent other threads from making progress.

Tested by anton@, claudio@
OK anton@, claudio@, tedu@, mpi@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Denis Fondras
CVSROOT:/cvs
Module name:src
Changes by: de...@cvs.openbsd.org   2020/01/21 08:17:13

Modified files:
usr.sbin/ospf6d: rde.c rde.h rde_lsdb.c 

Log message:
No need to pass peerid to lsa_snap()

OK remi@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:src
Changes by: na...@cvs.openbsd.org   2020/01/21 05:40:04

Modified files:
usr.bin/ssh: ssh_config.5 

Log message:
document the default value of the ControlPersist option; ok dtucker@ djm@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2020/01/21 05:13:21

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

Log message:
In -C mode, the public key is optional since it can be deduced from
the untrusted comment.  In this case, don't ignore -t but rather make
it work as expected.

ok tedu



CVS: cvs.openbsd.org: src

2020-01-21 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2020/01/21 05:08:04

Modified files:
lib/libssl : tls13_client.c tls13_internal.h 
 tls13_record_layer.c 

Log message:
Correct legacy fallback for TLSv1.3 client.

When falling back to the legacy TLS client, in the case where a server has
sent a TLS record that contains more than one handshake message, we also
need to stash the unprocessed record data for later processing. Otherwise
we end up with missing handshake data.

ok beck@ tb@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2020/01/21 04:16:35

Modified files:
usr.sbin/bgpctl: output.c 

Log message:
Report sent or received errors (normally not both at the same time).
With this the last notfication causing a session teardown will be shown
in bgpctl show neighbor output.
OK denis@ deraadt@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2020/01/21 04:14:26

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

Log message:
Update get_errstr() to report errors like log_notification() in bgpd.
With this suberrors of cease will be reported which is very helpful.
OK denis@ deraadt@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2020/01/21 04:12:06

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

Log message:
Add last_rcvd_errcode and last_rcvd_suberr to the peer_stats so that
not only sent errors can be reported but also received ones.
OK denis@ deraadt@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2020/01/21 04:11:42

Modified files:
usr.sbin/bind/lib/dns: opensslrsa_link.c 

Log message:
Whack last remaining LIBRESSL_VERSION_NUMBER check in the C code.



CVS: cvs.openbsd.org: src

2020-01-21 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2020/01/21 04:10:24

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

Log message:
Add some additional cease error subcodes as defined by iana.
OK denis@ deraadt@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2020/01/21 04:06:47

Modified files:
usr.sbin/bind  : Makefile.bsd-wrapper 
usr.sbin/bind/lib/dns: dst_openssl.h opensslgost_link.c 
   opensslrsa_link.c 
usr.sbin/bind/lib/isc: aes.c hmacsha.c sha1.c sha2.c 
usr.sbin/bind/lib/isc/include/isc: hmacsha.h sha1.h sha2.h 

Log message:
Set --enable-openssl-hash to use digests from libcrypto instead
of the isc-provided ones. Get rid of most LIBRESSL_VERSION_NUMBER
checks in the C code to avoid hacky workarounds that were implemented
for old LibreSSL versions.

ok florian



CVS: cvs.openbsd.org: src

2020-01-21 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2020/01/21 04:06:09

Modified files:
usr.bin/ssh: ssh-keygen.c 

Log message:
don't #ifdef out the KRL code when compiling without libcrypto
support; it works just fine and disabling it breaks a few tests.
ok dtucker@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Inoguchi Kinichiro
CVSROOT:/cvs
Module name:src
Changes by: inogu...@cvs.openbsd.org2020/01/21 03:18:52

Modified files:
lib/libcrypto/pkcs7: pk7_lib.c 

Log message:
Remove redundant ASN1_INTEGER_set call in PKCS7_set_type

ok bcook@



CVS: cvs.openbsd.org: src

2020-01-21 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2020/01/21 03:11:09

Modified files:
usr.sbin/bind/lib/isc: Makefile.in app_api.c socket_api.c task.c 
   timer.c 
usr.sbin/bind/lib/isc/unix: app.c 
Removed files:
usr.sbin/bind/lib/isc: bind9.c lib.c 

Log message:
libisc has a global variable called "isc_bind9" that indicates the 
program-family
(bind, dig, nslookup, host..) the library is being used by, this flag is cleared
using a constructor-like mechanism in a .c file which is not compiled nor 
called.
if the flag is cleared, the library acts differently in 40+ functions.
Imagine if our libc had such a global variable??
delete all of that.
ok florian



CVS: cvs.openbsd.org: src

2020-01-21 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2020/01/21 01:06:56

Modified files:
usr.sbin/bind/lib/isccfg: Makefile.in namedconf.c parser.c 
usr.sbin/bind/lib/isccfg/include/isccfg: Makefile.in 
Removed files:
usr.sbin/bind/lib/isccfg: log.c 
usr.sbin/bind/lib/isccfg/include/isccfg: log.h 

Log message:
Get rid of isccfg/log.c by pulling in the tiny bits needed into
parser.c. One less conflicting .o file generated.
OK deraadt



CVS: cvs.openbsd.org: src

2020-01-21 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2020/01/21 01:06:27

Modified files:
regress/usr.bin/ssh: integrity.sh test-exec.sh 

Log message:
pass SSH_SK_HELPER explicitly past $SUDO to avoid it getting cleared;
with dtucker@