OpenBSD/src ZAQdjodusr.sbin/syslogd syslogd.c

   Fix memleak in syslogd(8) when client aborts TLS connection.

   In the callback tcp_closecb() the TLS context was not freed.  This
   happend when a TLS client aborted or terminated the syslog connection.
   While there, initialize variables before registering the bufferevent
   errorcb callback although they should not be used that early.

   reported, tested and OK henning@
VersionDeltaFile
1.286+7-2usr.sbin/syslogd/syslogd.c
+7-21 files

OpenBSD/src F34KCBdusr.bin/watch watch.c

   Fix highlighting by a word to work again.  Also, remove untabify()
   which is unused now.

   ok job; ok tedu (for the initial diff)
VersionDeltaFile
1.31+7-32usr.bin/watch/watch.c
+7-321 files

OpenBSD/src BNaE41Dusr.sbin/vmd pci.c

   Prevent vmd(8) guests from reading outside pci config space.

   vmd emulates a pci host bridge and attached devices. Guests could
   read and write beyond a device's configuration space, clobbering
   device state or worse. They could also do this for non-existent
   devices on the pci host bridge.

   The PCI spec says to return all 1's when accessing non-existent
   devices, so make vmd's emulation to do the same for these invalid
   reads. For invalid writes, drop them.

   ok mlarkin@
VersionDeltaFile
1.38+33-22usr.sbin/vmd/pci.c
+33-221 files

OpenBSD/src XJPzmHusys/arch/arm64/arm64 db_trace.c

   Make "tr /t" start backtraces from the switchframe like we do on other
   architectures (e.g. amd64 and sparc64).

   ok claudio@
VersionDeltaFile
1.18+8-5sys/arch/arm64/arm64/db_trace.c
+8-51 files

OpenBSD/src 5Q2VcNMsys/netinet in_pcb.c ip_input.c

   Unlock IPCTL_IPPORT_* cases of ip_sysctl(). Corresponding variables
   accessed read-only only within in_pcbpickport().

   ok bluhm
VersionDeltaFile
1.317+14-9sys/netinet/in_pcb.c
1.414+9-5sys/netinet/ip_input.c
+23-142 files

OpenBSD/src WidxSoosys/netinet6 ip6_input.c ip6_mroute.c

   Unlock IPV6CTL_DAD_PENDING and IPV6CTL_MRTPROTO cases of ip6_sysctl().
   Read-only access from sysctl(2) interface.

   ok bluhm
VersionDeltaFile
1.277+8-4sys/netinet6/ip6_input.c
1.148+7-2sys/netinet6/ip6_mroute.c
+15-62 files

OpenBSD/src lys0HL4usr.sbin/rpki-client parser.c cert.c

   put an end to this silly strerror bikeshed

   ok job
VersionDeltaFile
1.160+83-53usr.sbin/rpki-client/parser.c
1.169+13-11usr.sbin/rpki-client/cert.c
1.47+11-10usr.sbin/rpki-client/crl.c
+107-743 files

OpenBSD/src sssLajjsys/kern kern_lock.c

   Reinstate MP_LOCKDEBUG support for mutexes

   Input & ok claudio@

   Please don't use MP_LOCKDEBUG if you don't understand its
   limitations. :)
VersionDeltaFile
1.81+11-1sys/kern/kern_lock.c
+11-11 files

OpenBSD/src x58ozcxusr.bin/nc nc.1

   nc: document -Talpn

   From David Leadbeater
VersionDeltaFile
1.101+6-2usr.bin/nc/nc.1
+6-21 files

OpenBSD/src XjhnpiMusr.bin/nc netcat.c

   nc: add ALPN TLS option, so you can specify -T alpn=value

   From David Leadbeater with a report_tls tweak by me
   ok jsing
VersionDeltaFile
1.234+8-2usr.bin/nc/netcat.c
+8-21 files

OpenBSD/src ZRJlpuqusr.bin/nc netcat.c

   sort process_tls_opt[]

   requested by jsing
VersionDeltaFile
1.233+2-2usr.bin/nc/netcat.c
+2-21 files

OpenBSD/src QPpqfobregress/usr.bin/ssh password.sh Makefile

   Add simple test for password auth.  Requires some setup so does not run
   by default.
VersionDeltaFile
1.1+59-0regress/usr.bin/ssh/password.sh
1.138+2-1regress/usr.bin/ssh/Makefile
+61-12 files

OpenBSD/src CCup75hsys/dev/pci if_ngbe.c

   ngbe(4): do not call ifq_restart() if no space was made on tx ring

   Same fix as applied to vmx(4) by yasuoka@

   test & ok kevlo@
VersionDeltaFile
1.7+4-2sys/dev/pci/if_ngbe.c
+4-21 files

OpenBSD/src 77OJctWsys/dev/pci if_ixl.c

   ixl(4): do not call ifq_restart() if no space was made on tx ring

   Same fix as applied to vmx(4) by yasuoka@

   test & ok bluhm@
VersionDeltaFile
1.108+2-2sys/dev/pci/if_ixl.c
+2-21 files

OpenBSD/src RSbjlUtsys/dev/pci if_ix.c

   ix(4): do not call ifq_restart() if no space was made on tx ring

   Same fix as applied to vmx(4) by yasuoka@

   test & ok by bluhm@ and kevlo@
VersionDeltaFile
1.221+4-2sys/dev/pci/if_ix.c
+4-21 files

OpenBSD/src uxwHlTYsys/dev/pci if_igc.c

   igc(4): do not call ifq_restart() if no space was made on tx ring

   Same fix as applied to vmx(4) by yasuoka@

   test & ok by bluhm@ and kevlo@
VersionDeltaFile
1.28+2-2sys/dev/pci/if_igc.c
+2-21 files

OpenBSD/src riaKqxDsys/dev/pci if_iavf.c

   iavf(4): do not call ifq_restart() if no space was made on tx ring

   Same fix as applied to vmx(4) by yasuoka@

   tested by Yuichiro NAITO
VersionDeltaFile
1.25+2-2sys/dev/pci/if_iavf.c
+2-21 files

OpenBSD/src H7ePRVYusr.bin/tmux tty-keys.c

   Detect support for OSC 52 using the device attributes report. Some
   terminals are using this to indicate that they support copying to the
   clipboard with XTerm's OSC 52 sequence. From James Holderness in GitHub
   issue 4539.
VersionDeltaFile
1.191+3-1usr.bin/tmux/tty-keys.c
+3-11 files

OpenBSD/src GKGjABtusr.sbin/rpki-client parser.c

   First emit pthread signal, then unlock mutex

   POSIX says this:

     The pthread_cond_broadcast() or pthread_cond_signal() functions may
     be called by a thread whether or not it currently owns the mutex
     that threads calling pthread_cond_clockwait(),
     pthread_cond_timedwait(), or pthread_cond_wait() have associated
     with the condition variable during their waits; however, if
     predictable scheduling behavior is required, then that mutex shall
     be locked by the thread calling pthread_cond_broadcast() or
     pthread_cond_signal().

   While both ordering approaches are correct, the predictable scheduling
   pattern is preferred.

   "yes" kettenis@
   "clearer to hold mutex around the signal" tedu@
VersionDeltaFile
1.159+3-3usr.sbin/rpki-client/parser.c
+3-31 files

OpenBSD/src UpB5oA9usr.bin/ssh readconf.c

   make "Match !final" not trigger a 2nd pass ssh_config parsing pass
   (unless hostname canonicalisation or a separate "Match final" does).
   bz3843

   ok dtucker@
VersionDeltaFile
1.400+5-4usr.bin/ssh/readconf.c
+5-41 files

OpenBSD/src 3COJcyXdistrib/sets/lists/base md.loongson, distrib/sets/lists/comp clang.loongson

   sync
VersionDeltaFile
1.34+230-71distrib/sets/lists/comp/clang.loongson
1.484+1-1distrib/sets/lists/base/md.loongson
+231-722 files

OpenBSD/src 8VXO80Ousr.sbin/rpki-client cert.c

   Indent a label with a space as usual
VersionDeltaFile
1.168+2-2usr.sbin/rpki-client/cert.c
+2-21 files

OpenBSD/src kaeDGZrusr.sbin/rpki-client cert.c

   Explain why issuer and subject UIDs are disallowed in the RPKI

   RFC 5280 disallows them for CA certificates and RFC 6487 section 4.5
   requires subjects of all certs issued by the same CA to be unique,
   which renders them meaningless. Apparently nothing more explicit is
   in the RPKI specs.

   ok job
VersionDeltaFile
1.167+5-1usr.sbin/rpki-client/cert.c
+5-11 files

OpenBSD/src CNZ8FDodistrib/sets/lists/man mi

   sync
VersionDeltaFile
1.1745+1-0distrib/sets/lists/man/mi
+1-01 files

OpenBSD/src Yn4T6LHusr.bin/watch watch.c

   Interleave stdout and stderr emitted by the child

   OK yasuoka@
VersionDeltaFile
1.30+4-10usr.bin/watch/watch.c
+4-101 files

OpenBSD/src tGQZiIqsbin/iked radius.c

   Add NAS-Port-ID for radius request packets this is suggested by RFC 2869.

   ok markus
VersionDeltaFile
1.14+7-1sbin/iked/radius.c
+7-11 files

OpenBSD/src 4oWJ2bKusr.sbin/radiusd radiusd_ipcp.c radiusd_ipcp.8

   Use the value from RADIUS in preference.
VersionDeltaFile
1.26+5-4usr.sbin/radiusd/radiusd_ipcp.c
1.7+6-2usr.sbin/radiusd/radiusd_ipcp.8
+11-62 files

OpenBSD/src qTlr1MZusr.sbin/rpki-client parser.c cert.c

   Check for errors on all pthread_*() calls

   A pthread implementation might dynamically allocate memory on some paths,
   checking whether calls were successful seems a necessity.

   OK tb@ claudio@
VersionDeltaFile
1.158+47-24usr.sbin/rpki-client/parser.c
1.166+13-9usr.sbin/rpki-client/cert.c
1.46+9-5usr.sbin/rpki-client/crl.c
+69-383 files

OpenBSD/src vGy4pflsys/net if_bridge.c, sys/netinet ip_input.c ip_output.c

   Unlock IPCTL_MTUDISC case of ip_sysctl().

   `ip_mtudisc' is atomically accessed boolean, so allow only 0 and 1
   values to set. Also, while `ip_mtudisc' is 0, the rt_timer_queue_flush()
   will be triggered all the times even if we do read access. There is no
   reason for that, so flush the queue only if this thread successfully
   assigned 0 value. The rt_timer_queue_flush() requires to be serialized
   with the netlock.

   ok bluhm
VersionDeltaFile
1.413+13-7sys/netinet/ip_input.c
1.410+7-6sys/netinet/ip_output.c
1.300+7-6sys/netinet6/ip6_output.c
1.454+3-3sys/netinet/tcp_input.c
1.213+3-3sys/netinet/tcp_subr.c
1.375+3-2sys/net/if_bridge.c
+36-275 files not shown
+47-3711 files

OpenBSD/src 9yDaGYFsys/netinet ip_input.c ip_mroute.c

   Unlock IPCTL_MRTPROTO case of ip_sysctl(). We do read-only access from
   sysctl(2) interface. Also `ip_mrtproto' is immutable.

   ok bluhm
VersionDeltaFile
1.412+7-4sys/netinet/ip_input.c
1.147+7-2sys/netinet/ip_mroute.c
+14-62 files