OpenBSD/src Ur9tz4K — usr.sbin/rpki-client aspa.c

   rpki-client: I did some work in aspa.c
VersionDeltaFile
1.57+2-2usr.sbin/rpki-client/aspa.c
+2-21 files

OpenBSD/src U6T80zT — usr.sbin/rpki-client ccr.c

   rpki-client: disallow AS 0 alongside others in CCR ASPA payloads

   Reported by Ties de Kock

   ok job
VersionDeltaFile
1.49+6-1usr.sbin/rpki-client/ccr.c
+6-11 files

OpenBSD/src KJWMJNK — usr.sbin/rpki-client aspa.c

   rpki-client: rework aspa_insert_vaps()

   The merge loop in aspa_insert_vaps() is too smart and has tripped us all up
   repeatedly. While it won't matter much due to size constraints, its worst
   case is O(n*m), which isn't great.

   Let's make this easier to follow and reason about. A linear sweep merges
   and deduplicates the two arrays question until one of them is consumed,
   then fill in the tail of the one that remains non-empty. Both arrays are
   strictly monotonic, and this property is clearly preserved by the new
   approach.

   The other bit that is obvious is that the merge loop is O(n + m). The price
   we pay is a bit more code and an extra allocation.

   ok claudio job
VersionDeltaFile
1.56+46-32usr.sbin/rpki-client/aspa.c
+46-321 files

OpenBSD/src neGToic — usr.sbin/ldpd labelmapping.c

   In tlv_decode_fec_elm add missing initial len and prefixlen check

   Ensure that fec_elm have at least the one byte needed for the type
   and also check that the encoded prefixlen actually matches with the
   address family.

   Reported by Yang Hailong
   OK deraadt@ tb@
VersionDeltaFile
1.71+14-2usr.sbin/ldpd/labelmapping.c
+14-21 files

OpenBSD/src ILr2V9b — usr.bin/tmux options.c layout-set.c

   Add support for separate pane borders via a new option pane-border-type.
   GitHub issue 5433 from David Marte.
VersionDeltaFile
1.109+341-31usr.bin/tmux/layout.c
1.391+66-22usr.bin/tmux/window.c
1.8+76-8usr.bin/tmux/window-panes.c
1.437+45-12usr.bin/tmux/format.c
1.42+49-5usr.bin/tmux/layout-set.c
1.95+27-8usr.bin/tmux/options.c
+604-868 files not shown
+692-11314 files

OpenBSD/src VI5llV6 — usr.bin/tmux window-switch.c

   Do not dim selected rows or the dimmed text is not readable with some
   themes, GitHub issue 5885 from Michael Grant.
VersionDeltaFile
1.9+54-20usr.bin/tmux/window-switch.c
+54-201 files

OpenBSD/src OuNV9GL — usr.sbin/rpki-client extern.h repo.c

   rpki-client: fix merging of ASPA objects

   Prompted by a question by Yangyang WANG, draft-ietf-sidrops-aspa-profile-29
   added new wording regarding 0 handling when merging two ASPAs with the same
   customer ASID and clarified that 0 should be discarded:

   https://mailarchive.ietf.org/arch/msg/sidrops/TToTScyLiVXdyJzf-kgzv5XMy3U/

   Implement this and adjust the accounting when dropping the 0.

   Found by job because this case now appears in the wild.

   ok claudio
VersionDeltaFile
1.55+8-1usr.sbin/rpki-client/aspa.c
1.102+4-1usr.sbin/rpki-client/repo.c
1.329+2-1usr.sbin/rpki-client/extern.h
+14-33 files

OpenBSD/src jRrh2iB — usr.bin/tmux window-copy.c

   Fix remembered copy mode column with vi keys and after end-of-line,
   GitHub issue 5887 from Dmitrii Novikov.
VersionDeltaFile
1.446+19-12usr.bin/tmux/window-copy.c
+19-121 files

OpenBSD/src 9WdOsdw — usr.bin/tmux window-copy.c

   Use repeat counts for prompt motions, GitHub issue 5890 from Alex
   Castillo.
VersionDeltaFile
1.445+7-3usr.bin/tmux/window-copy.c
+7-31 files

OpenBSD/src GbMBvcz — sys/net if_trunk.c

   stop checking for if_type == IFT_IEEE8023ADLAG everywhere.

   trunk no longer overwrites the if_type on ports, so it's not going
   to be IFT_IEEE8023ADLAG.

   in particular this fixes packet reception on trunk interfaces.

   found by and fixed tested by landry@
VersionDeltaFile
1.168+2-7sys/net/if_trunk.c
+2-71 files

OpenBSD/src kkUPxeh — sys/net if_trunk.c

   restore port interface function state in a better order.

   removing the ether_port before fixing the if_ioctl pointer, and
   especially when doing ioctls in between those two things, trips
   KASSERTS.

   bug reported and fix tested by landry@
VersionDeltaFile
1.167+8-7sys/net/if_trunk.c
+8-71 files

OpenBSD/src w9gHlr4 — usr.sbin/bgpctl ometric.c

   Sync with ometric from rpki-client: Sort union by size

   The initalizers introduced in C99 may only initialize the first
   element of a union. If that one is not the largest member
   then you may end up with uninitalized memory. In the end the
   outcome depends on the compiler used which is just bananas.
VersionDeltaFile
1.13+2-2usr.sbin/bgpctl/ometric.c
+2-21 files

OpenBSD/src uv50ouu — regress/usr.bin/ssh addrmatch.sh

   Query addressfamily for inet6 before running IPv6 tests.
VersionDeltaFile
1.9+8-2regress/usr.bin/ssh/addrmatch.sh
+8-21 files

OpenBSD/src j4JiUD0 — sys/conf files

   more is needed to unbreak the tree from the ifmedia breakage.
VersionDeltaFile
1.755+6-6sys/conf/files
+6-61 files

OpenBSD/src Ya4l003 — sys/sys videoio.h

   sys/videoio.h: sync with Linux v7.4-rc2

   media: uapi: Add controls for ST DCMIPP Driver
   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e31bd1eb17f927d067e40916abb17c4ce5f95ece

   media: vim2m: give vim2m a proper control ID range
   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=48f7e8e50ca495bd8a2ad233462a1e7db95ea0fe

   media: i2c: add driver for ITE IT6625/IT6626
   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=142e5f00bd57ffdc03fcec2699f95f0cc6b7e9c6
VersionDeltaFile
1.32+22-1sys/sys/videoio.h
+22-11 files

OpenBSD/src USdPyRJ — sys/conf files

   work around tree breakage, there ofw/fdt kernels with only virtual interfaces which reach ofw_misc which does ifmedia shit
VersionDeltaFile
1.754+2-2sys/conf/files
+2-21 files

OpenBSD/src DgqKOXW — lib/libutil ber.c

   Limit ober_read_element()'s recursion to the arbitrary number of 128.

   OK tb@
VersionDeltaFile
1.27+11-5lib/libutil/ber.c
+11-51 files

OpenBSD/src 2jPMwyF — sys/net if.c bpf.c

   don't have bpf_detachd give up the bd mtx to call ifpromisc.

   instead, have it return an interface reference and make the caller
   responsible for the ifpromisc call. this gets rid of window that
   releasing the bd mtx opens and the NET_LOCK call for ifpromisc opens.
   that window allows allows an interface we're trying to attach to
   in bpf_setif, or switch dlts on in bpf_setdlt, to be removed from
   the system before bpf can properly account for it. so we need to
   keep the bd mtx hold.

   found by tom smyth whoe also tested a few versions of this diff.
VersionDeltaFile
1.240+64-36sys/net/bpf.c
1.769+4-5sys/net/if.c
+68-412 files

OpenBSD/src jNcrIgV — sys/net if_veb.c

   revert r1.77, it makes things more complicated
VersionDeltaFile
1.78+2-11sys/net/if_veb.c
+2-111 files

OpenBSD/src e3hK67T — sys/net if_veb.c

   let veb_ports_insert fail if there's no memory
VersionDeltaFile
1.77+12-3sys/net/if_veb.c
+12-31 files

OpenBSD/src eW1zkxB — sys/net if_trunk.c

   i missed a chunk when getting rid of the IFT_IEEE8023ADLAG fiddling

   trunk_port_ioctl was checking that IFT_IEEE8023ADLAG was set on the
   port, which isnt true anymore.
VersionDeltaFile
1.166+18-18sys/net/if_trunk.c
+18-181 files

OpenBSD/src VNnaTMw — sys/net if_trunk.c

   don't allow adding trunk interface as a port to itself.
VersionDeltaFile
1.165+4-1sys/net/if_trunk.c
+4-11 files

OpenBSD/src oDf0Ooz — sys/net if_trunk.h if_trunk.c

   dont switch if_type to IFT_IEEE8023ADLAG on ports anymore.

   if_type should be immutable and set by the driver providing the
   interface.

   from what i can tell, the main reason to do this was to mark an
   interfaces as "in use" by trunk, but we can figure that out by using
   ac_trport now.
VersionDeltaFile
1.164+1-8sys/net/if_trunk.c
1.36+1-2sys/net/if_trunk.h
+2-102 files

OpenBSD/src qskFKxA — sys/net if_vxlan.c

   don't let a vxlan interface set itself as the parent.

   fixes part of the problems in the "vxlan(4): vxlan accepted as its
   own parent" email tom smyth sent to bugs@

   this doesnt prevent configuration of interface topologies with
   loops, but it's a good start.
VersionDeltaFile
1.109+6-1sys/net/if_vxlan.c
+6-11 files

OpenBSD/src tgAACTZ — sys/net if_gre.c

   don't let an nvgre interface set itself as the parent.

   fixes part of the problems in the "gre(4): nvgre accepted as its
   own parent" email tom smyth sent to bugs@

   this doesnt prevent configuration of interface topologies with
   loops, but it's a good start.
VersionDeltaFile
1.198+11-4sys/net/if_gre.c
+11-41 files

OpenBSD/src XISNemn — sys/net if_aggr.c

   it doesnt make sense to stack aggr.
VersionDeltaFile
1.56+13-1sys/net/if_aggr.c
+13-11 files

OpenBSD/src XQFmeJw — sys/kern vfs_default.c

   vfs: set cn_pnbuf to NULL after pool_put in vfs_generic_abortop. This
   can be called in a variety of error paths and by explicitly NULLing this
   and not clearing HASBUF this ensures a panic on reuse rather than a
   potential UAF.

   There are no known paths to this currently, this is a hardening only.

   ok deraadt@ kirill@ beck@
VersionDeltaFile
1.56+4-2sys/kern/vfs_default.c
+4-21 files

OpenBSD/src JHvnbms — sys/net if_pair.c

   don't assume the new interface being patched is pair until the end.

   care has to be taken to still release the requested ifnet reference,
   regardless of whether it is a pair or not.

   this should fix the 'pair(4): "patch" to a non-pair interface panics
   (lo) or downs its link' problem reported by tom smyth on bugs@
VersionDeltaFile
1.22+9-9sys/net/if_pair.c
+9-91 files

OpenBSD/src 6ta1N9G — sys/net if_pair.c

   check that the interface being paired is a pair(4) before fiddling with it

   before this it was looking into the pair_softc of the new interface
   before making sure it was a pair(4) first.

   ok mvs@
VersionDeltaFile
1.21+6-7sys/net/if_pair.c
+6-71 files

OpenBSD/src paQcOF7 — sys/net if_pair.c

   use if_drvid to ensure pair is only paired with other pair ifaces

   this was doing some complicated stuff with if_clone_lookup and
   strcmp to get the same result, but this is a lot simpler.

   ok mvs@ as part of a larger diff.
VersionDeltaFile
1.20+10-6sys/net/if_pair.c
+10-61 files