CVS: cvs.openbsd.org: src

2020-11-16 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2020/11/17 00:39:28

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

Log message:
fix time_after32() macro



CVS: cvs.openbsd.org: src

2020-11-16 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2020/11/17 00:02:30

Modified files:
lib/libssl : tls13_server.c 

Log message:
typo & punctuation in comment



CVS: cvs.openbsd.org: src

2020-11-16 Thread Jonathan Gray
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2020/11/16 21:21:20

Modified files:
sys/dev/pci/drm/i915/display: intel_vga.c 

Log message:
adjust for reversed outb arguments linux uses



CVS: cvs.openbsd.org: src

2020-11-16 Thread Greg Steuck
CVSROOT:/cvs
Module name:src
Changes by: gne...@cvs.openbsd.org  2020/11/16 20:23:54

Modified files:
sys/kern   : sysv_sem.c 

Log message:
Convert sysctl_sysvsem to sysctl_bounded_args

Used sysctl_int_bounded in many places to shrink code.
Extracted a new function to make the case tidy.
Removed some superflous fluff.

OK millert@



CVS: cvs.openbsd.org: src

2020-11-16 Thread Jeremy Evans
CVSROOT:/cvs
Module name:src
Changes by: jer...@cvs.openbsd.org  2020/11/16 20:23:32

Modified files:
share/man/man5 : ruby-module.5 

Log message:
Update ruby-module.5 for change in default Ruby version



CVS: cvs.openbsd.org: src

2020-11-16 Thread Greg Steuck
CVSROOT:/cvs
Module name:src
Changes by: gne...@cvs.openbsd.org  2020/11/16 20:23:10

Modified files:
sys/miscfs/fuse: fuse_vfsops.c 

Log message:
Convert fusefs_sysctl to sysctl_bounded_args

OK millert@



CVS: cvs.openbsd.org: src

2020-11-16 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2020/11/16 12:04:57

Modified files:
sys/arch/powerpc64/conf: GENERIC RAMDISK 

Log message:
Enable mcx(4)



CVS: cvs.openbsd.org: src

2020-11-16 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2020/11/16 11:55:15

Modified files:
lib/libssl : ssl_lib.c tls13_internal.h tls13_key_schedule.c 
 tls13_lib.c 

Log message:
Implement exporter for TLSv1.3.

This implements the key material exporter for TLSv1.3, as defined in
RFC8446 section 7.5.

Issue reported by nmathewson on github.

ok inoguchi@ tb@



CVS: cvs.openbsd.org: src

2020-11-16 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2020/11/16 11:37:06

Modified files:
sys/kern   : kern_exit.c 

Log message:
Prevent exit status from being clobbered on thread exit.

Ensure that EXIT_NORMAL only runs once by guarding it with PS_EXITING.

It was previously possible for EXIT_NORMAL to be run twice, depending on
which thread called exit() and the order in which the threads were torn
down. This is due to the P_HASSIBLING() check triggering the last thread
to run EXIT_NORMAL, even though it may have already been run via an exit()
call.

ok kettenis@ visa@



CVS: cvs.openbsd.org: src

2020-11-16 Thread Tobias Heider
CVSROOT:/cvs
Module name:src
Changes by: to...@cvs.openbsd.org   2020/11/16 11:00:30

Modified files:
sbin/iked  : ikev2.c 

Log message:
Reenable ikev2_init_auth() return value check.  Make sure sa_stateok()
returns 0 on error.  This code path is taken multiple times until all
requirements for sa_stateok() are met, so don't delete the SA because
of a single failure.

ok patrick@



CVS: cvs.openbsd.org: src

2020-11-16 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2020/11/16 10:53:13

Modified files:
share/man/man4 : acpi.4 

Log message:
add acpige(4) and pchgpio(4);



CVS: cvs.openbsd.org: src

2020-11-16 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2020/11/16 10:52:08

Modified files:
usr.sbin/pkg_add: pkg_check.8 

Log message:
zap trailing whitespace;



CVS: cvs.openbsd.org: src

2020-11-16 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2020/11/16 10:43:37

Modified files:
lib/libcrypto/x509: x509_verify.c 

Log message:
Use X509_V_OK instead of 0.

ok beck@ tb@



CVS: cvs.openbsd.org: src

2020-11-16 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2020/11/16 10:42:35

Modified files:
lib/libcrypto/x509: x509_verify.c 

Log message:
Add back an X509_STORE_CTX error code assignment.

This was inadvertently removed in r1.19.

Spotted by tb@

ok beck@ tb@



CVS: cvs.openbsd.org: src

2020-11-16 Thread Patrick Wildt
CVSROOT:/cvs
Module name:src
Changes by: patr...@cvs.openbsd.org 2020/11/16 10:12:55

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

Log message:
Fix compile error on big-endian machines caused by recent multicast commit.



CVS: cvs.openbsd.org: src

2020-11-16 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2020/11/16 08:50:45

Modified files:
regress/usr.sbin/syslogd: args-tls-cafile-default.pl 

Log message:
Certificate verification error message has been improved.



CVS: cvs.openbsd.org: src

2020-11-16 Thread Patrick Wildt
CVSROOT:/cvs
Module name:src
Changes by: patr...@cvs.openbsd.org 2020/11/16 07:46:00

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

Log message:
Add multicast support to bwfm(4) to make IPv6 work and to fix
promiscuous mode.

ok gerhard@



CVS: cvs.openbsd.org: src

2020-11-16 Thread Tobias Heider
CVSROOT:/cvs
Module name:src
Changes by: to...@cvs.openbsd.org   2020/11/16 05:59:20

Modified files:
sbin/iked  : ikev2.c 

Log message:
Backout ikev2_init_auth() return check to fix regression with
certificate authentication.

Reported by Mark Patruck 



CVS: cvs.openbsd.org: src

2020-11-16 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2020/11/16 05:30:16

Modified files:
sys/uvm: uvm_fault.c 

Log message:
Remove Case2 goto, use a simple if () instead.

ok tb@, jmatthew@



CVS: cvs.openbsd.org: src

2020-11-16 Thread Patrick Wildt
CVSROOT:/cvs
Module name:src
Changes by: patr...@cvs.openbsd.org 2020/11/16 02:49:40

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

Log message:
regen



CVS: cvs.openbsd.org: src

2020-11-16 Thread Patrick Wildt
CVSROOT:/cvs
Module name:src
Changes by: patr...@cvs.openbsd.org 2020/11/16 02:49:10

Modified files:
sys/dev/usb: usbdevs 

Log message:
Move PL2303GC around to make sure the list is sorted properly.