CVS: cvs.openbsd.org: src

2021-09-02 Thread Darren Tucker
CVSROOT:/cvs
Module name:src
Changes by: dtuc...@cvs.openbsd.org 2021/09/02 23:25:51

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

Log message:
Refer to KEX "algorithms" instead of "methods" to match other references
and improve consistency.  Patch from scop via github PR#241, ok djm@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Darren Tucker
CVSROOT:/cvs
Module name:src
Changes by: dtuc...@cvs.openbsd.org 2021/09/02 23:12:25

Modified files:
usr.bin/ssh: sftp-client.c 

Log message:
Remove redundant attrib_clear in upload_dir_internal.  The subsequent
call to stat_to_attrib clears the struct as its first step anyway.
>From pmeinhardt via github PR#220, ok djm@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Darren Tucker
CVSROOT:/cvs
Module name:src
Changes by: dtuc...@cvs.openbsd.org 2021/09/02 22:11:13

Modified files:
regress/usr.bin/ssh: Makefile 
Added files:
regress/usr.bin/ssh: exit-status-signal.sh 

Log message:
Add test for client termination status on signal.

Based on patch from Alexxz via github PR#235 with some tweaks, to
match patch in bz#3281.



CVS: cvs.openbsd.org: src

2021-09-02 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/09/02 15:50:24

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

Log message:
various improvements to the text/usage, chiefly removing alternative long
options from SYNOPSIS/usage;

diff from leon fischer

the opening sentence is mine - i say that not to take credit, just to
distinguish that leon did not agree with wording



CVS: cvs.openbsd.org: src

2021-09-02 Thread Job Snijders
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/09/02 15:47:50

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

Log message:
Unroll ASN1_ITEM_ref()

OK @tb



CVS: cvs.openbsd.org: src

2021-09-02 Thread Job Snijders
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/09/02 15:40:32

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

Log message:
Change OPENSSL_strdup() to strdup()

OK tb@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Job Snijders
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/09/02 15:37:40

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

Log message:
Change OPENSSL_malloc to calloc()

OK tb@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Job Snijders
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/09/02 15:29:35

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

Log message:
Repair unrolling of static ASN1_ITEM IPAddrBlocks_it

The conversion tool didn't handle 'static_ASN1_ITEM_TEMPLATE_END'

OK tb@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Job Snijders
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/09/02 15:27:27

Modified files:
lib/libcrypto/x509: ext_dat.h 

Log message:
Make v3_addr and v3_asid extern const

OK tb@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Job Snijders
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/09/02 15:15:41

Modified files:
lib/libcrypto/x509: x509_addr.c x509_asid.c 

Log message:
Add err.h for X509error() and friends

OK tb@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Job Snijders
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/09/02 15:12:28

Modified files:
lib/libcrypto/x509: x509_addr.c x509_asid.c 

Log message:
Fix OPENSSL_assert() and assert()

OK tb@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2021/09/02 15:12:25

Modified files:
lib/libelf : elf_strptr.c elf_update.c 

Log message:
remove sys/param.h that are not needed



CVS: cvs.openbsd.org: src

2021-09-02 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2021/09/02 15:12:09

Modified files:
lib/libelf : _elftc.h 

Log message:
annotate that sys/param.h is needed for roundup and roundup2



CVS: cvs.openbsd.org: src

2021-09-02 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2021/09/02 15:09:29

Modified files:
usr.bin/ldap   : ldapclient.c 

Log message:
rather than using sys/param.h, define a local replacement MINIMUM() instead
of MIN(), as done elsewhere



CVS: cvs.openbsd.org: src

2021-09-02 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2021/09/02 15:06:06

Modified files:
usr.bin/rsync  : flist.c session.c symlinks.c 

Log message:
remove sys/param.h that snuck in, by replacing MAXPATHLEN with PATH_MAX



CVS: cvs.openbsd.org: src

2021-09-02 Thread Job Snijders
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/09/02 15:04:01

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

Log message:
Unroll ASN1_EX_TEMPLATE_TYPE IPAddrBlocks

OK tb@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2021/09/02 15:03:54

Modified files:
usr.bin/ssh: sftp-realpath.c 

Log message:
sys/param.h is not needed for any visible reason



CVS: cvs.openbsd.org: src

2021-09-02 Thread Job Snijders
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/09/02 15:00:07

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

Log message:
Change the OPENSSL_strdup() to strdup()

OK beck@ tb@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2021/09/02 14:57:58

Modified files:
libexec/login_ldap: login_ldap.c util.c 

Log message:
remove sys/param.h use, by replacing MAXLOGNAME -> LOGIN_NAME_MAX
and MAXHOSTNAMELEN -> HOST_NAME_MAX+1



CVS: cvs.openbsd.org: src

2021-09-02 Thread Job Snijders
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/09/02 14:53:48

Modified files:
lib/libcrypto/x509: x509_addr.c x509_asid.c 

Log message:
Fix header file includes

OK tb@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2021/09/02 14:33:04

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

Log message:
sync



CVS: cvs.openbsd.org: src

2021-09-02 Thread Job Snijders
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/09/02 14:25:40

Modified files:
lib/libcrypto/x509: x509_addr.c x509_asid.c 

Log message:
Move the error put functions from X509V3err() to X509V3error()

OK tb@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Job Snijders
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/09/02 14:11:07

Modified files:
lib/libcrypto/x509: x509_addr.c x509_asid.c 

Log message:
Unroll ASN1_SEQUENCE() ASN1_CHOICE() ASN1_ITEM_TEMPLATE()

OK jsing@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2021/09/02 13:46:44

Modified files:
regress/lib/libssl/tlsfuzzer: tlsfuzzer.py 

Log message:
Add -f to usage



CVS: cvs.openbsd.org: src

2021-09-02 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:src
Changes by: jas...@cvs.openbsd.org  2021/09/02 13:41:48

Modified files:
sys/dev/dt : dtvar.h 

Log message:
follow-up on previous commit and rename the _sys union to _args



CVS: cvs.openbsd.org: src

2021-09-02 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2021/09/02 13:38:20

Modified files:
etc: netstart 

Log message:
Do not create loopback interfaces lo1, lo2, ...  upfront.  They are
automatically set up by the kernel when a routing domain is created.
An existing lo1 in rdomain 0 would prevent to add any interfaces
in rdomain 1.
OK kn@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Tobias Heider
CVSROOT:/cvs
Module name:src
Changes by: to...@cvs.openbsd.org   2021/09/02 13:28:35

Modified files:
sbin/iked  : ikev2_msg.c 

Log message:
style



CVS: cvs.openbsd.org: src

2021-09-02 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2021/09/02 13:12:29

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

Log message:
Initialize the uvm object when we actually need it such that we can
use uvm_obj_init() to initialize the pager ops and initial reference count.
This will help future uvm unlocking diffs.

ok mpi@, jsg@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2021/09/02 12:07:45

Modified files:
sbin/fdisk : cmd.c part.c part.h 

Log message:
Split part_type into separate types 'mbr_type' and 'gpt_type',
shrinking static data demands. Split PRT_printall() into
PRT_print_mbrtypes() and PRT_print_gpttypes() to eliminate
pointless 'pseudo' MBR partition types and pointless display of
MBR partition types with no associated GPT GUIDs.

Eases future MBR and GPT partition type editing improvements.

ok kettenis@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:src
Changes by: jas...@cvs.openbsd.org  2021/09/02 11:21:39

Modified files:
sys/dev/dt : dt_prov_static.c dt_prov_syscall.c dtvar.h 
usr.sbin/btrace: btrace.c 

Log message:
rename struct dt_evt fields to make it clear this isn't only used for tracing 
syscalls
and adjust btrace(8) accordingly.
extracted from a larger diff by Tom Rollet.

ok mpi@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Job Snijders
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/09/02 09:59:05

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

Log message:
OPENSSL_assert() is not appropriate in this context

Feedback from tb@

OK tb@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Job Snijders
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/09/02 09:54:40

Modified files:
lib/libcrypto/x509: x509_addr.c x509_asid.c 

Log message:
Replace ossl_assert()/assert() with OPENSSL_assert()

OK tb@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2021/09/02 09:28:41

Modified files:
regress/lib/libc/sys: Makefile README macros.h t_fork.c 
Added files:
regress/lib/libc/sys: t_vfork.c 

Log message:
Enable vfork syscall test. Disable SIGSTOP test as it is masked until
exec/exit with vfork.
OK bluhm@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Anton Lindqvist
CVSROOT:/cvs
Module name:src
Changes by: an...@cvs.openbsd.org   2021/09/02 09:15:12

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

Log message:
Explain in a comment why two wscons_keydesc structures are needed.



CVS: cvs.openbsd.org: src

2021-09-02 Thread Jeremy Evans
CVSROOT:/cvs
Module name:src
Changes by: jer...@cvs.openbsd.org  2021/09/02 09:00:55

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

Log message:
Update for change of default Ruby version to 3.0.



CVS: cvs.openbsd.org: src

2021-09-02 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2021/09/02 08:41:03

Modified files:
lib/libssl : ssl_clnt.c 

Log message:
We need to allow for either a CERTIFICATE or CERTIFICATE_STATUS message
here or we break the handshake with BAD_MESSAGE

ok tb@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/09/02 08:14:44

Modified files:
usr.sbin/slowcgi: slowcgi.8 slowcgi.c 

Log message:
list -v with -d in SYNOPSIS, instead of seperately,
and add -v to usage();



CVS: cvs.openbsd.org: src

2021-09-02 Thread Job Snijders
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/09/02 08:14:44

Modified files:
lib/libcrypto/x509: x509_addr.c x509_asid.c 

Log message:
Replace OPENSSL_free() with free()

OK tb@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Job Snijders
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/09/02 08:11:20

Modified files:
lib/libcrypto/x509: x509_addr.c x509_asid.c 

Log message:
Unroll IMPLEMENT_ASN1_FUNCTIONS()

OK jsing@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Job Snijders
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/09/02 07:48:39

Modified files:
lib/libcrypto/x509: x509v3.h 

Log message:
Unroll DECLARE_ASN1_FUNCTIONS()

OK jsing@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Stefan Sperling
CVSROOT:/cvs
Module name:src
Changes by: s...@cvs.openbsd.org2021/09/02 07:44:10

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

Log message:
Fix our iwx(4) xtal latency values to match the values used by Linux iwlwifi.
with a fix from + ok kevlo@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Kevin Lo
CVSROOT:/cvs
Module name:src
Changes by: ke...@cvs.openbsd.org   2021/09/02 07:39:34

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

Log message:
The PCI_PRODUCT_INTEL_WL_22500_1 device is part of the 22000
family (discrete) not integrated.

ok stsp@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Job Snijders
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/09/02 07:26:51

Modified files:
lib/libcrypto/x509: x509v3.h 

Log message:
Rename DEFINE_STACK_OF() to DECLARE_STACK_OF()

OK tb@ jsing@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Florian Obser
CVSROOT:/cvs
Module name:src
Changes by: flor...@cvs.openbsd.org 2021/09/02 07:18:04

Modified files:
usr.sbin/slowcgi: slowcgi.8 slowcgi.c 

Log message:
Stop sending debug logging to syslog (which would then drop it on the
floor) all the time. Instead debug logging must be requested with the
new -v flag.
Problem reported and fix provided by weerd@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Job Snijders
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/09/02 06:41:44

Modified files:
lib/libcrypto/asn1: x_x509.c 
lib/libcrypto/x509: ext_dat.h x509.h x509_purp.c x509v3.h 
Added files:
lib/libcrypto/x509: x509_addr.c x509_asid.c 

Log message:
Lay groundwork to support X.509 v3 extensions for IP Addresses and AS 
Identifiers

These extensions are defined in RFC 3779 and used in the RPKI (RFC 6482, RFC 
8360).
Imported from OpenSSL 1.1.1j 
(aaf2fcb575cdf6491b98ab4829abf78a3dec8402b8b81efc8f23c00d443981bf)
This changeset is a no-op, as there are 10+ issues and at least 2 security 
issues.
Work will continue in-tree.

OK tb@, discussed with beck@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Moritz Buhl
CVSROOT:/cvs
Module name:src
Changes by: mb...@cvs.openbsd.org   2021/09/02 06:40:44

Modified files:
regress/lib/libc/sys: Makefile README atf-c.h h_macros.h 
  macros.h t_clock_gettime.c t_syscall.c 
Added files:
regress/lib/libc/sys: t_connect.c t_fork.c t_kevent.c 
  t_minherit.c t_pollts.c t_ppoll.c 
  t_setrlimit.c t_sigaltstack.c 
  t_wait_noproc.c t_wait_noproc_wnohang.c 

Log message:
Import more NetBSD system call regression tests.
OK bluhm@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2021/09/02 06:35:23

Modified files:
sys/kern   : kern_unveil.c 
sys/sys: namei.h 

Log message:
Refactor how unveil generates EACCES errors. Instead of tracking the
possible violation during the traversal of the path do the check at the
end. Make the code a bit easier to grok.
OK beck@ semarie@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:src
Changes by: jas...@cvs.openbsd.org  2021/09/02 06:32:22

Modified files:
sys/arch/i386/i386: locore.s 

Log message:
trailing whitespace



CVS: cvs.openbsd.org: src

2021-09-02 Thread Patrick Wildt
CVSROOT:/cvs
Module name:src
Changes by: patr...@cvs.openbsd.org 2021/09/02 06:09:26

Modified files:
sys/arch/arm64/arm64: pmap.c 

Log message:
Fix comment spelling.



CVS: cvs.openbsd.org: src

2021-09-02 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2021/09/02 05:58:30

Modified files:
lib/libssl : tls13_lib.c 

Log message:
Call the ocsp callback if present and we get no response, instead of
succeeding unconditionally.  Makes muststaple work with tls1.3 in nc

ok tb@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Inoguchi Kinichiro
CVSROOT:/cvs
Module name:src
Changes by: inogu...@cvs.openbsd.org2021/09/02 05:37:44

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

Log message:
Use defined constants



CVS: cvs.openbsd.org: src

2021-09-02 Thread Sebastien Marie
CVSROOT:/cvs
Module name:src
Changes by: sema...@cvs.openbsd.org 2021/09/02 05:36:47

Modified files:
sbin/atactl: atactl.c 

Log message:
atactl(8): few printf("%s", NULL) cleanup

ok deraadt@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Inoguchi Kinichiro
CVSROOT:/cvs
Module name:src
Changes by: inogu...@cvs.openbsd.org2021/09/02 05:30:15

Modified files:
usr.bin/openssl: apps.h 

Log message:
Add DB_TYPE_SUSP



CVS: cvs.openbsd.org: src

2021-09-02 Thread Sebastien Marie
CVSROOT:/cvs
Module name:src
Changes by: sema...@cvs.openbsd.org 2021/09/02 05:26:54

Modified files:
usr.bin/timeout: timeout.c 

Log message:
timeout(1): execvp(2) does not return except on error

there is no need to check if the return value is -1. just
unconditionally call err(3).

ok deraadt@ schwarze@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2021/09/02 05:19:02

Modified files:
usr.bin/vi/cl  : cl.h cl_funcs.c cl_main.c cl_read.c 

Log message:
Make all signal handler functions async-signal-safe
by deleting the redundant "killersig" struct member
and using the existing sig_atomic_t cl_sigterm variable instead.
While here, garbage collect the h_hup() signal handler
which is essentially identical to h_term().
This also gets rid of the last #define & #undef in cl_main.c.

OK martijn@, and also tested by Tim .



CVS: cvs.openbsd.org: src

2021-09-02 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2021/09/02 05:10:44

Modified files:
lib/libssl : ssl_tlsext.c 

Log message:
Correct the is_server flag in the call to the debug callback to be correct.
ok tb@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Inoguchi Kinichiro
CVSROOT:/cvs
Module name:src
Changes by: inogu...@cvs.openbsd.org2021/09/02 05:07:56

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

Log message:
Move subject check process after the subject edit process

Referred to OpenSSL commit 2cedf794 and arranged for our codebase.

ok tb@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2021/09/02 04:59:13

Modified files:
lib/libpcap: pcap-filter.5 

Log message:
Ah, I was fooled by a left over man page



CVS: cvs.openbsd.org: src

2021-09-02 Thread Mike Larkin
CVSROOT:/cvs
Module name:src
Changes by: mlar...@cvs.openbsd.org 2021/09/02 04:49:26

Modified files:
sys/arch/amd64/conf: RAMDISK_CD 
sys/arch/riscv64/conf: RAMDISK 

Log message:
add aq(4) to amd64 RAMDISK_CD and riscv64 RAMDISK



CVS: cvs.openbsd.org: src

2021-09-02 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2021/09/02 04:48:52

Modified files:
sys/arch/arm64/include: armreg.h 
sys/arch/arm64/arm64: locore.S 

Log message:
Fix the TCR_TG0_xxx definitions and add TCR_TG0_4K to the initial setting
of TCR_EL1 in locore to make clear we use 4K pages for both userland and
the kernel.

ok patrick@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2021/09/02 04:46:22

Modified files:
etc: services 

Log message:
nameserver alias on domain (53) collided with true nameserver (42)
which would be parsed earlier in any case.  what a weird piece of
history.
from Raf Czlonka



CVS: cvs.openbsd.org: src

2021-09-02 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2021/09/02 04:39:32

Modified files:
etc/root   : root.mail 

Log message:
delete reference to X11 README file which is no longer installed.
from Raf Czlonka



Re: CVS: cvs.openbsd.org: src

2021-09-02 Thread Mike Larkin
On Thu, Sep 02, 2021 at 04:11:21AM -0600, Mike Larkin wrote:
> CVSROOT:  /cvs
> Module name:  src
> Changes by:   mlar...@cvs.openbsd.org 2021/09/02 04:11:21
>
> Modified files:
>   sys/dev/pci: files.pci
>   sys/arch/amd64/conf: GENERIC
>   sys/arch/riscv64/conf: GENERIC
> Added files:
>   share/man/man4 : aq.4
>   sys/dev/pci: if_aq_pci.c
>
> Log message:
> aq(4) driver for Aquantia 1/2.5/5/10Gb/s PCIe ethernet adapters
>
> Adds support for Aquantia AQC1xx family of PCIe ethernet adapters. This
> driver supports 1Gbps through 10Gbps modes of operation based on the
> hardware and media/switch capabilities.
>
> The initial code was ported from NetBSD, with jmatthew@ finishing up
> the Tx/Rx ring support and interrupt handler routine.
>
> The driver only supports devices using firmware V2.
>
> This diff enables aq(4) on riscv64 and amd64, the only platforms where
> I have tested the driver, but it likely works on other architectures
> as well.
>

This was ok deraadt@ (or more precisely "what are you waiting for?")



CVS: cvs.openbsd.org: src

2021-09-02 Thread Mike Larkin
CVSROOT:/cvs
Module name:src
Changes by: mlar...@cvs.openbsd.org 2021/09/02 04:18:27

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

Log message:
Typo in previous commit



CVS: cvs.openbsd.org: src

2021-09-02 Thread Mike Larkin
CVSROOT:/cvs
Module name:src
Changes by: mlar...@cvs.openbsd.org 2021/09/02 04:17:46

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

Log message:
.Xr for aq(4) in pci(4) manpage



CVS: cvs.openbsd.org: src

2021-09-02 Thread Mike Larkin
CVSROOT:/cvs
Module name:src
Changes by: mlar...@cvs.openbsd.org 2021/09/02 04:12:20

Modified files:
share/man/man4 : Makefile 

Log message:
Forgot the man page Makefile in the previous commit



CVS: cvs.openbsd.org: src

2021-09-02 Thread Mike Larkin
CVSROOT:/cvs
Module name:src
Changes by: mlar...@cvs.openbsd.org 2021/09/02 04:11:21

Modified files:
sys/dev/pci: files.pci 
sys/arch/amd64/conf: GENERIC 
sys/arch/riscv64/conf: GENERIC 
Added files:
share/man/man4 : aq.4 
sys/dev/pci: if_aq_pci.c 

Log message:
aq(4) driver for Aquantia 1/2.5/5/10Gb/s PCIe ethernet adapters

Adds support for Aquantia AQC1xx family of PCIe ethernet adapters. This
driver supports 1Gbps through 10Gbps modes of operation based on the
hardware and media/switch capabilities.

The initial code was ported from NetBSD, with jmatthew@ finishing up
the Tx/Rx ring support and interrupt handler routine.

The driver only supports devices using firmware V2.

This diff enables aq(4) on riscv64 and amd64, the only platforms where
I have tested the driver, but it likely works on other architectures
as well.



CVS: cvs.openbsd.org: src

2021-09-02 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2021/09/02 03:50:38

Modified files:
lib/libc/stdio : wprintf.3 

Log message:
Document new %n syslog+abort behaviour, text mostly copied from printf.3



CVS: cvs.openbsd.org: src

2021-09-02 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2021/09/02 03:46:21

Modified files:
regress/lib/libc/sprintf: sprintf_test.c 

Log message:
delete %n using test cases, which now intentionally fault
spotted by anton



CVS: cvs.openbsd.org: src

2021-09-02 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2021/09/02 03:35:17

Modified files:
usr.bin/timeout: timeout.c 

Log message:
move comment into correct place



Re: CVS: cvs.openbsd.org: xenocara

2021-09-02 Thread Theo de Raadt
hurray

Matthieu Herrb  wrote:

> CVSROOT:  /cvs
> Module name:  xenocara
> Changes by:   matth...@cvs.openbsd.org2021/09/02 03:31:38
> 
> Modified files:
>   app/xterm  : main.c 
> 
> Log message:
> Unveil paths needed by xterm at run-time. work with tb@ and deraadt@
> 
> Only in (default) case where there are no exec-formatted or
> exec-selected resources set. In those case the commands and their
> arguments could be anywhere.
> 



CVS: cvs.openbsd.org: xenocara

2021-09-02 Thread Matthieu Herrb
CVSROOT:/cvs
Module name:xenocara
Changes by: matth...@cvs.openbsd.org2021/09/02 03:31:38

Modified files:
app/xterm  : main.c 

Log message:
Unveil paths needed by xterm at run-time. work with tb@ and deraadt@

Only in (default) case where there are no exec-formatted or
exec-selected resources set. In those case the commands and their
arguments could be anywhere.



CVS: cvs.openbsd.org: src

2021-09-02 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2021/09/02 03:08:08

Modified files:
usr.bin/timeout: timeout.c 

Log message:
bunch of err() should be errx()



CVS: cvs.openbsd.org: src

2021-09-02 Thread Job Snijders
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2021/09/02 02:52:10

Modified files:
usr.bin/timeout: timeout.c 

Log message:
No need to list foreign source code repository tags

Feedback from deraadt@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2021/09/02 02:51:56

Modified files:
lib/libssl : ssl_clnt.c 

Log message:
RFC 6066 section 8 allows the server MAY choose not send the CertificateStatus
message, even if it has received a "status_request" extension in the client
hello message and has sent a "status_request" extention in the server hello
message.  Genua found a site that is this broken. This makes it work.

ok jsing@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2021/09/02 02:48:22

Modified files:
sys/arch/i386/i386: ioapic.c 

Log message:
Initialize mutex to IPL_NONE.

ok kettenis@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Dave Voutila
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2021/09/02 01:19:53

Modified files:
sys/arch/amd64/amd64: vmm.c 

Log message:
rename rw locks to avoid ambiguity and verboseness

Syzbot might complain about "new" panics, but to help debug a recent
report it helps to have unique rw lock names.

"sounds good to me" @mlarkin



CVS: cvs.openbsd.org: src

2021-09-02 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:src
Changes by: jas...@cvs.openbsd.org  2021/09/02 01:14:15

Modified files:
regress/bin/csh: Makefile filec.sh 
regress/bin/ksh/edit: emacs.sh vi.sh 
regress/bin/ksh: th 
regress/usr.bin/doas: Makefile 
regress/usr.bin/mail: send.sh 
regress/usr.bin/make: Makefile 
share/man/man5 : bsd.regress.mk.5 

Log message:
regress tests shouldn't set or modify MALLOC_OPTIONS unless they're actually 
very specific behaviour

document this accordingly in the guidelines section of the manpage

ok bluhm@



CVS: cvs.openbsd.org: src

2021-09-02 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2021/09/02 01:11:03

Modified files:
usr.bin/tmux   : arguments.c 

Log message:
Change copying arguments to that flags without arguments are inserted
correctly and empty arguments lists do not crash. Fixes crash reported
by & ok mpi@.



CVS: cvs.openbsd.org: src

2021-09-02 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2021/09/02 00:46:32

Modified files:
lib/libpcap: pcap-filter.5 

Log message:
this is not a section 3 man page anymore



CVS: cvs.openbsd.org: src

2021-09-02 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2021/09/02 00:23:32

Modified files:
usr.bin/timeout: timeout.c 

Log message:
some functionality requires pledge "proc"