OpenBSD/src lfjLxfv — sys/dev/pci ahc_pci.c

   Triggering the code to correctly initialize the second controller when
   placed in a multi-function pci device had been removed by accident in r1.42.
VersionDeltaFile
1.65+7-2sys/dev/pci/ahc_pci.c
+7-21 files

OpenBSD/src sOQRP1B — usr.sbin/rpki-client extern.h cert.c

   rpki-client: enforce a single AS identifier in ASPA EE certs

   Expose cert_has_one_as() and use it in aspa_cert_info() to enforce a
   requirement added to the I-D in January.

   Reported by Shreyas S

   ok claudio
VersionDeltaFile
1.49+6-1usr.sbin/rpki-client/aspa.c
1.254+2-2usr.sbin/rpki-client/cert.c
1.322+2-1usr.sbin/rpki-client/extern.h
+10-43 files

OpenBSD/src Gb3hJbQ — sbin/savecore savecore.c, usr.bin/vmstat dkstats.c vmstat.c

   Stop prepending underscores to symbol names in nlist(3) input. This used to
   matter back when some OpenBSD platforms were using the a.out binary format,
   which adds such underscores to symbols produced from C code; but now that
   all binaries are ELF, there is no need for these underscores anymore.

   Note that this does not change the behaviour of nlist(3) yet - if the
   symbol being looked for is not found, and starts with an underscore, a second
   lookup is still performed without the leading underscore.

   With tweaks from cludwig@
VersionDeltaFile
1.18+19-19usr.sbin/config/ukc.h
1.52+17-17usr.sbin/installboot/i386_installboot.c
1.68+15-15sbin/savecore/savecore.c
1.24+9-9usr.sbin/installboot/i386_softraid.c
1.161+9-9usr.bin/vmstat/vmstat.c
1.43+8-8usr.bin/vmstat/dkstats.c
+77-7718 files not shown
+152-15224 files

OpenBSD/src xMGY1KX — include kvm.h, usr.sbin/kvm_mkdb nlist.c

   No longer prefix an underscore to symbol names put in kvm_mkdb's database.
VersionDeltaFile
1.54+2-3usr.sbin/kvm_mkdb/nlist.c
1.19+2-2include/kvm.h
+4-52 files

OpenBSD/src E5jbOAu — sys/kern tty_pty.c

   Do not allow TIOCSCTTY, TIOCNOTTY, or TIOCSPGRP on the pty master.  Return
   ENOTTY for all 3 of these.  They could create incoherent session states,
   leading to dangerous UAF reported by openai (unfortunately their proposed
   patch was batshit crazy and made the situation worse, due to not identifying
   this as root cause, and writing code to support the condition).  with claudio
   various versions ok kettenis kirill and others
VersionDeltaFile
1.117+6-1sys/kern/tty_pty.c
+6-11 files

OpenBSD/src uU5ZvYZ — sys/net if_gre.c

   nvgre should check IFF_RUNNING in SIOCSLIFPHYRTABLE.

   this makes it consistent with the other tunnel ioctl paths.
VersionDeltaFile
1.196+10-5sys/net/if_gre.c
+10-51 files

OpenBSD/src 1e0NPas — sys/net if_gre.c

   get rid of the ifmedia bits in the ethernet tunnels.

   the ifmedia ioctls werent wired up on these interfaces, so all this
   was doing was wasting space in the softcs. so no functional change.
VersionDeltaFile
1.195+1-35sys/net/if_gre.c
+1-351 files

OpenBSD/src csOieb5 — sys/net if_gre.c

   call etherbridge_up and _down in nvgre_up and _down.

   etherbridge_up is needed to start aging entries in the etherbridge code.

   reported by tom smyth
   "looks good" jmatthew@
VersionDeltaFile
1.194+11-3sys/net/if_gre.c
+11-31 files

OpenBSD/src rvssdRs — sys/arch/hppa/gsc harmony.c

   Correctly return EINVAL for invalid input in harmony_get_port().
VersionDeltaFile
1.43+2-2sys/arch/hppa/gsc/harmony.c
+2-21 files

OpenBSD/src QoV8IvM — sys/dev/tc asc_tc.c

   No need to provide an empty gl_clear_latched_intr callback in the
   ncr53c9x_glue struct, for it is optional.
VersionDeltaFile
1.16+2-8sys/dev/tc/asc_tc.c
+2-81 files

OpenBSD/src tjUA9g0 — sys/dev/tc ioasicvar.h ioasic_subr.c

   Remove unusod ioasic_submatch().
VersionDeltaFile
1.4+1-10sys/dev/tc/ioasic_subr.c
1.11+1-3sys/dev/tc/ioasicvar.h
+2-132 files

OpenBSD/src QAfw51i — sys/dev/pci if_de.c

   Make multiple statements work within an if() condition by adding the
   implied, but not written, {} braces.
VersionDeltaFile
1.145+5-3sys/dev/pci/if_de.c
+5-31 files

OpenBSD/src ScyBdaG — sys/arch/alpha/tc tc_conf.h tc_3000_500.c, sys/dev/tc tc.c tcds.c

   Remove a bunch of *intr_disestablish() functions which are never used.
VersionDeltaFile
1.22+1-36sys/arch/alpha/tc/tc_3000_300.c
1.22+1-31sys/arch/alpha/tc/ioasic.c
1.13+6-23sys/dev/tc/tcds.c
1.26+1-26sys/arch/alpha/tc/tc_3000_500.c
1.23+1-10sys/dev/tc/tc.c
1.13+1-5sys/arch/alpha/tc/tc_conf.h
+11-1313 files not shown
+14-1409 files

OpenBSD/src c228jsc — sys/arch/alpha/alpha machdep.c, sys/arch/alpha/include cpu.h

   Remove unused regdump().
VersionDeltaFile
1.207+3-14sys/arch/alpha/alpha/machdep.c
1.81+1-2sys/arch/alpha/include/cpu.h
+4-162 files

OpenBSD/src A1E7mDB — sys/arch/alpha/alpha dec_kn300.c api_up1000.c

   Remove redundant bootdev_debug declarations.
VersionDeltaFile
1.12+1-2sys/arch/alpha/alpha/dec_kn300.c
1.15+1-2sys/arch/alpha/alpha/api_up1000.c
+2-42 files

OpenBSD/src AgBB1s7 — sys/dev/isa spkr.c

   Move a bunch of global variables to the softc. NFCI
VersionDeltaFile
1.28+103-94sys/dev/isa/spkr.c
+103-941 files

OpenBSD/src jizJDio — sys/kern subr_disk.c

   Oops. Missed one MAXPARTITIONS -> maxparts in checklabel().
VersionDeltaFile
1.291+2-2sys/kern/subr_disk.c
+2-21 files

OpenBSD/src sjAqAeG — usr.sbin/vmd vioblk.c

   vmd(8): Actually check alignment

   The alignment check tested offset and xfer_sz with &&, so it only
   rejected a request when both were misaligned.  offset is now always a
   multiple of VIRTIO_BLK_SECTOR_SIZE, so that half is dead code; check
   xfer_sz alone and fail when it is not a multiple of the sector size.
   Also report the correct direction in the warning.

   ok dv@
VersionDeltaFile
1.39+5-9usr.sbin/vmd/vioblk.c
+5-91 files

OpenBSD/src eQF5psN — usr.sbin/vmd vioblk.c

   vmd(8): Reject vioblk requests beyond the disk capacity

   vioblk_io() converted the guest-controlled sector to a byte offset and
   passed it to the backend without comparing it against the disk capacity.
   With a raw image on a regular file, pwritev() extends the file, so a
   privileged guest could write past the configured size and exhaust the
   host filesystem.

   Pass the sector number to vioblk_io() as an unsigned value and defer the
   conversion to a byte offset until after the bounds check.  Once the full
   transfer length is known, reject a start beyond capacity or a transfer
   that crosses the end, then convert to off_t.  The check is done in
   unsigned arithmetic; the subtraction order avoids underflow and it never
   multiplies the attacker-controlled sector.

   From Acts1631, thanks!

   ok dv@
VersionDeltaFile
1.38+13-7usr.sbin/vmd/vioblk.c
+13-71 files

OpenBSD/src JMeQrkF — libexec/ld.so Makefile

   typo; from mlarkin
VersionDeltaFile
1.92+2-2libexec/ld.so/Makefile
+2-21 files

OpenBSD/src hfpXUzw — sys/kern subr_disk.c

   Convert checkdisklabel() into a wrapper around a call to the
   new checklabel() with a partition limit of MAXPARTITIONS16.

   No functional change.

   Prodded by deraadt@
VersionDeltaFile
1.290+4-114sys/kern/subr_disk.c
+4-1141 files

OpenBSD/src aMolhyT — sys/kern subr_disk.c, sys/sys disklabel.h

   Add MI 52-Partition disklabel functions into tree.

   None are currently invoked, so no functional change.

   Prodded by deraadt@
VersionDeltaFile
1.289+434-1sys/kern/subr_disk.c
1.95+5-1sys/sys/disklabel.h
+439-22 files

OpenBSD/src WL1aQGV — regress/sys/kern/setuid suidexec.c sgidexec.c

   Set variable _permit_setugid to test setuid and setgid binaries.
   Cleanup regress Makefile a bit.
VersionDeltaFile
1.7+78-78regress/sys/kern/setuid/Makefile
1.4+3-1regress/sys/kern/setuid/suidexec.c
1.4+3-1regress/sys/kern/setuid/sgidexec.c
+84-803 files

OpenBSD/src WJdJeoK — usr.bin/tmux server-client.c

   Initialize client tty colors before control mode clients attach, GitHub
   issue 5843 from Joseph Kotzker.
VersionDeltaFile
1.533+2-1usr.bin/tmux/server-client.c
+2-11 files

OpenBSD/src JN0wy9s — usr.bin/tmux cmd-choose-tree.c window-tree.c

   Add -i to choose-tree and fix choose-client description in tmux.1,
   GitHub issue 5834 from Wei-Lun Li.
VersionDeltaFile
1.1197+6-4usr.bin/tmux/tmux.1
1.99+7-2usr.bin/tmux/window-tree.c
1.64+3-3usr.bin/tmux/cmd-choose-tree.c
+16-93 files

OpenBSD/src LXnrj0j — sys/kern kern_sysctl.c

   Fix build with SMALL_KERNEL
VersionDeltaFile
1.500+3-4sys/kern/kern_sysctl.c
+3-41 files

OpenBSD/src E8AnBb3 — usr.bin/tmux server-client.c

   Send focus out to the pane when its client's terminal goes away, GitHub
   issue 5832 from Phil Kulak.
VersionDeltaFile
1.532+4-1usr.bin/tmux/server-client.c
+4-11 files

OpenBSD/src v1Ji1Uv — sbin/iked parse.y ikev2_msg.c, sbin/isakmpd ikedmode_show.c transport_imsg.c

   iked(8): Implement IKEv1 prototype

   This change brings the IKEv1 protocol stack to iked -- by running
   isakmpd(8) as unprivileged IKEv1 subprocess.

   This is experimental and still limited:

   - The main and quick mode suites are fixed to aes128cbc, hmac2-256,
     modp3072 and ESP aes128cbc, hmac2-256 and PFS modp3072
   - Only PSK authentication for now.

   Nonetheless, tunnels are established and work .  And iked(8) is
   able to interop with both isakmpd(8) and iked(8) IKEv1.

   If this works out good enough, isakmpd(8) will be retired.  One
   day.

   ok deraadt@
VersionDeltaFile
1.1+715-0sbin/isakmpd/ikedmode.c
1.1+387-0sbin/isakmpd/transport_imsg.c
1.100+368-1sbin/iked/config.c
1.1+324-0sbin/isakmpd/ikedmode_show.c
1.106+105-4sbin/iked/ikev2_msg.c
1.150+82-6sbin/iked/parse.y
+1,981-1119 files not shown
+2,313-9625 files

OpenBSD/src WFXmKlE — usr.bin/tmux key-string.c

   Bump buffer length so User1000 fits, GitHub issue 5838.
VersionDeltaFile
1.79+2-2usr.bin/tmux/key-string.c
+2-21 files

OpenBSD/src P2MFI7F — usr.bin/tmux cmd-list-panes.c cmd-list-keys.c

   Fix various usage strings, GitHub issue 5840 from Wei-Lun Li.
VersionDeltaFile
1.1196+6-5usr.bin/tmux/tmux.1
1.63+5-5usr.bin/tmux/cmd-choose-tree.c
1.44+3-2usr.bin/tmux/cmd-list-clients.c
1.43+2-2usr.bin/tmux/cmd-list-panes.c
1.80+2-2usr.bin/tmux/cmd-list-keys.c
1.43+2-2usr.bin/tmux/cmd-list-buffers.c
+20-182 files not shown
+24-228 files