OpenBSD/src NQtJmLK — libexec/ld.so Makefile resolve.h

   Hide LD_DEBUG support behind a compile-time #ifdel DL_DEBUG.
   Also delete the LD_TRACE_LOADED_OBJECTS_FMT1, LD_TRACE_LOADED_OBJECTS_FMT2,
   and LD_TRACE_LOADED_OBJECTS_PROGNAME environment options.
   ok kettenis
VersionDeltaFile
1.28+2-58libexec/ld.so/ld.so.1
1.119+8-33libexec/ld.so/dlfcn.c
1.228+4-9libexec/ld.so/loader.c
1.110+1-4libexec/ld.so/resolve.h
1.91+3-1libexec/ld.so/Makefile
+18-1055 files

OpenBSD/src H6ZVTGu — usr.bin/ipcs ipcs.c

   Use struct msqid_ds_kern in ipcs.

   Kernel structure has changed, build failed after kvm_read(3).

   reported by matthieu@; OK mvs@
VersionDeltaFile
1.31+4-5usr.bin/ipcs/ipcs.c
+4-51 files

OpenBSD/src aiXJc9v — sys/netinet in.h ip_output.c, sys/netinet6 in6.h ip6_output.c

   Turn in_cksum_phdr() and in6_cksum_phdr() global.

   Needed for TSO checksum refactoring.

   ok bluhm@
VersionDeltaFile
1.310+3-6sys/netinet6/ip6_output.c
1.421+3-4sys/netinet/ip_output.c
1.127+3-1sys/netinet6/in6.h
1.150+2-1sys/netinet/in.h
+11-124 files

OpenBSD/src kFXM9n1 — distrib/miniroot group

   the installer MAKEDEV runs against this group file, and therefore needs
   the wscons present.
VersionDeltaFile
1.8+1-0distrib/miniroot/group
+1-01 files

OpenBSD/src ezdM4hV — sys/kern vfs_subr.c

   sys/vfs: skip DOCLOSE for incomplete spec vnodes

   Several checkalias() callers discard the vnode passed to checkalias()
   after moving its filesystem node to the returned alias. In the uncommon
   block device alias case, checkalias() leaves that discarded vnode as a
   shell: it uses spec_vops, but has no specinfo.

   If vgonel() reclaims such a vnode while the caller still holds the last
   reference, vclean(DOCLOSE) treats it as active and dispatches
   VOP_CLOSE() to spec_close(), which expects v_specinfo to be present and
   dereferences v_rdev.

   Such shell vnodes do not represent an opened device instance, so there
   is nothing to close through spec_vops. Skip DOCLOSE for spec_vops vnodes
   without specinfo.

   OK: beck@
VersionDeltaFile
1.336+5-3sys/kern/vfs_subr.c
+5-31 files

OpenBSD/src d3GLPGw — usr.bin/openssl ca.c

   openssl ca: garbage collect an unused variable
VersionDeltaFile
1.68+1-4usr.bin/openssl/ca.c
+1-41 files

OpenBSD/src sMSkz51 — sys/sys msg.h

   Use in-kernel msqid_ds_kern structure instead of userland shared msqid_ds.
   Padding was removed from msqid_ds_kern, so it saves some kernel space.

   ok bluhm
VersionDeltaFile
1.27+20-6sys/sys/msg.h
+20-61 files

OpenBSD/src KwF4Uyl — distrib/sets/lists/base mi

   libutil is now 23.0.

   ok deraadt@
VersionDeltaFile
1.1210+1-1distrib/sets/lists/base/mi
+1-11 files

OpenBSD/src j7TZ9Dp — etc MAKEDEV.mi MAKEDEV.common

   Correctly apply the group and permissions change for console-related devices,
   so that they won't get lost at the next regen.
VersionDeltaFile
1.125+10-10etc/MAKEDEV.common
1.92+2-2etc/MAKEDEV.mi
+12-122 files

OpenBSD/src TxUg7eL — sys/net if_rport.c

   don't leak an interface reference in an error path in rport_set_parent().

   if_unit takes an interface reference, but the ifp0 == ifp check
   didn't release it. if you tried to add an rport as it's own parent
   then you'd leak a ref and get stuck if you tried to destroy it in
   the future.

   found and fixed by tom smyth
VersionDeltaFile
1.14+2-2sys/net/if_rport.c
+2-21 files

OpenBSD/src zyJNFoz — sys/net bridgectl.c

   Do not schedule sc_brtimeout timeout(9) while IFF_RUNNING flag is not
   set on brigge interface. bridge_stop() does not disable timeout if
   IFF_RUNNING flag is missing. Both bridgectl_ioctl() and bridge_rtage()
   are kernel locked and bridge_rtage() has no sleep points, so
   timeout_del() is enough in bridgectl_ioctl().

   Reported by Tom Smyth. OK deraadt bluhm.
VersionDeltaFile
1.27+6-4sys/net/bridgectl.c
+6-41 files

OpenBSD/src BP29l3V — sys/net if_mpw.c

   Move `sc_ifa' initialization after ether_ifattach() did if_sadl
   allocation. Otherwise ifp->if_sadl is NULL and sdltosa(ifp->if_sadl)
   causes NULL dereference.

   Reported by Tom Smyth. OK claudio.
VersionDeltaFile
1.73+6-4sys/net/if_mpw.c
+6-41 files

OpenBSD/src NCEH6VW — lib/libcrypto/x509 x509_vfy.c

   Reject any v1 CRL's

   Go already does this, so this is likely low risk,

   This is again a minimal change to catch this, easily
   revertable. Code cleanup for the v1 stuff will follow

   ok tb@
VersionDeltaFile
1.155+3-1lib/libcrypto/x509/x509_vfy.c
+3-11 files

OpenBSD/src ZuEOWLM — usr.bin/openssl ca.c

   Make openssl(1) always issue v2 CRLs

   Make openssl ca -gencrl issue every CRL as v2, instead of falling back to v1
   when no extensions are configured.
VersionDeltaFile
1.67+3-9usr.bin/openssl/ca.c
+3-91 files

OpenBSD/src gkF9u2e — usr.sbin/tcpdump print-ike.c

   limit accesses to the plv2types array to the bounds of the array.

   a value off the wire was used an index into this array, but wire values could exceed the number of entries in it.

   report and fix from Acts1631
   ok hshoexer
VersionDeltaFile
1.42+3-2usr.sbin/tcpdump/print-ike.c
+3-21 files

OpenBSD/src K8HlOdk — regress/usr.bin/patch fetchname.c

   add $OpenBSD$ and copyright :)
VersionDeltaFile
1.4+20-0regress/usr.bin/patch/fetchname.c
+20-01 files

OpenBSD/src eKQfpJ0 — sys/net if_ethersubr.c

   ether_extract_headers: double check ip versions

   suggested by bluhm
   tested by bluhm

   ok bluhm@
VersionDeltaFile
1.309+12-2sys/net/if_ethersubr.c
+12-21 files

OpenBSD/src 9VYLjt1 — regress/usr.bin/patch fetchname.c

   add strip= to the output on a failed test as well
VersionDeltaFile
1.3+3-2regress/usr.bin/patch/fetchname.c
+3-21 files

OpenBSD/src Gql1RAw — regress/usr.bin/patch fetchname.c

   tweak format on failed tests
VersionDeltaFile
1.2+2-1regress/usr.bin/patch/fetchname.c
+2-11 files

OpenBSD/src n5ZgxQY — regress/usr.bin/patch Makefile

   add a regress that tries to locate a Prereq in a page-sized file
VersionDeltaFile
1.18+15-4regress/usr.bin/patch/Makefile
+15-41 files

OpenBSD/src E5wYZjQ — usr.bin/patch inp.c

   pass an explicit size to rev_in_string

   In "plan a" the file is a mmap(2)'ed region which might not end with a
   NUL character: rev_in_string() could then go reading out of bounds.

   reported by acts1631
   looks reasonable to millert@, okay kirill@
VersionDeltaFile
1.50+14-7usr.bin/patch/inp.c
+14-71 files

OpenBSD/src OCKLzwL — libexec/ld.so/aarch64 rtld_machine.c, libexec/ld.so/alpha rtld_machine.c

   ld.so: skip RELOC_NONE in the fast path

   It distributes the fix on a crash from hppa across platforms

   OK: miod@, kettenis@
VersionDeltaFile
1.33+3-1libexec/ld.so/m88k/rtld_machine.c
1.53+3-1libexec/ld.so/i386/rtld_machine.c
1.45+3-1libexec/ld.so/arm/rtld_machine.c
1.44+3-1libexec/ld.so/amd64/rtld_machine.c
1.73+3-1libexec/ld.so/alpha/rtld_machine.c
1.24+3-1libexec/ld.so/aarch64/rtld_machine.c
+18-65 files not shown
+33-1111 files

OpenBSD/src CfFeeFH — etc/etc.amd64 MAKEDEV, etc/etc.arm64 MAKEDEV

   replace login_fbtab with the wscons group if the users is on the glass console

   Historically login_fbtab(3) was called on user login to change permission
   of devices for the user logging in on the console or xdm and this mechanism
   had its quirks.

   In in effort to make this better, introduce the LOGIN_SETWSCONSGROUP flag for
   setusercontext(3), which will append the special wscons group to a user context
   if the user is logging in on the "glass" console.

   Callers of setusercontex(3) can also use the new login_wscons(const char *tty)
   libutil function to determine if the tty is appropriate for setting the group.

   The last part of this commit also changes the device node entries so that the
   wscons group has write access to a specific list of devices that were previously
   handled by fbtab, e.g. for amd64 (for other arches it might differ):

        /dev/console
        /dev/wskbd

    [14 lines not shown]
VersionDeltaFile
1.1+30-0lib/libutil/login_wscons.c
1.52+22-3lib/libc/gen/login_cap.c
1.228+10-10etc/etc.sparc64/MAKEDEV
1.19+10-10etc/etc.riscv64/MAKEDEV
1.38+10-10etc/etc.arm64/MAKEDEV
1.154+10-10etc/etc.amd64/MAKEDEV
+92-4345 files not shown
+210-17851 files

OpenBSD/src 0zmCPyF — lib/libcrypto/x509 x509_purp.c

   Reject certificates that are not v3

   X509 v1 is bloody ancient. we continue to have nasty things lurking
   as corner cases to support it when there is really no need to.

   Sadly, it has been kept around for ages for "roots" because of people
   with old tests and nonsense that were generated for v1.  v3 is required
   by any modern certs.

   Rather than supporting "tests" that aren't really testing what the real
   world uses, stop the madness.

   x509v3_cache_extensions marks any certificate whose version is not v3
   invalid, so v1 and v2 certificates fail verification and purpose checks.

   This may break tests suites generated with old junk. (we had one in
   tree that I fixed before this).

   We will see if this change is too painful to support in ports right now.

    [4 lines not shown]
VersionDeltaFile
1.49+2-2lib/libcrypto/x509/x509_purp.c
+2-21 files

OpenBSD/src GWrKweU — lib/libcrypto/x509 x509_purp.c

   Ignore the Netscape certificate type extension

   The 90's were amazing, but this is well past time to let it go.

   x509v3_cache_extensions no longer reads nsCertType, so it no longer
   makes a certificate a CA or restricts its purposes.  A critical
   nsCertType is now an unhandled critical extension.

   This is only an initial defang, code removal for this will follow

   ok tb@
VersionDeltaFile
1.48+1-14lib/libcrypto/x509/x509_purp.c
+1-141 files

OpenBSD/src izefJjx — regress/lib/libcrypto/cms cmstest.c

   Reissue the cmstest CA and signer certificates as v3

   ok tb@
VersionDeltaFile
1.9+33-31regress/lib/libcrypto/cms/cmstest.c
+33-311 files

OpenBSD/src BV9lBTQ — usr.bin/openssl req.c x509.c

   Make openssl(1) always issue v3 certificates

   change req -x509, x509 -req and ca to make every certificate they issue v3,
   instead of issuing v1 when no extensions are configured.

   openssl changed this visit from the bad idea bears back in 3.0 and we
   never picked it up.

   ok tb@
VersionDeltaFile
1.66+3-8usr.bin/openssl/ca.c
1.45+5-5usr.bin/openssl/x509.c
1.30+2-4usr.bin/openssl/req.c
+10-173 files

OpenBSD/src xZTZ0F0 — sys/dev/ic aic79xx.c

   Restrict DMA map segments to MAXPHYS to prevent allocating too much memory
   for bounce buffers.

   ok deraadt@
VersionDeltaFile
1.71+2-2sys/dev/ic/aic79xx.c
+2-21 files

OpenBSD/src PfeZfc9 — share/man/man4 em.4, sys/dev/pci if_em_hw.h if_em.c

   em(4): indicate whether the BMC is reachable

   with tweaks from henning@ and deraadt@

   ok deraadt@
VersionDeltaFile
1.56+19-2share/man/man4/em.4
1.386+11-1sys/dev/pci/if_em.c
1.104+2-1sys/dev/pci/if_em_hw.h
+32-43 files

OpenBSD/src BFfzcvl — sys/dev/pci if_em.c

   Keep the descriptor rings allocated in DVACT_SUSPEND, so that they are
   still available in DVACT_RESUME.  This is neccessary because DVACT_RESUME
   cannot sleep during this new allocation.
   ok jan
VersionDeltaFile
1.385+35-23sys/dev/pci/if_em.c
+35-231 files