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

OpenBSD/src zSfbv6s — sys/net if_veb.c

   use if_drvid to identify vport interface instances.

   veb treats vports specially, so it needs a way to identify which
   interfaces are backed by the vport driver, which is what if_drvid
   provides. this replaces using an ifnet function pointer to imply
   which driver backs an interface, which is brittle.

   ok mvs@ as part of a bigger diff.
VersionDeltaFile
1.76+12-5sys/net/if_veb.c
+12-51 files

OpenBSD/src i8psfid — sys/net if_rport.c

   use if_drvid to ensure rports are only paired with rports.

   i was using the if_enqueue function point for this, but i want to
   replace if_enqueue with a more generic function in the future which
   would break this.

   part of a larger diff that was ok mvs@
VersionDeltaFile
1.15+10-3sys/net/if_rport.c
+10-31 files

OpenBSD/src Tjam1Og — sys/net if_var.h

   add a void *if_drvid to ifnet so drivers can supply an opaque id.

   there's a few places where specific drivers need to know if another
   interface is backed by the same driver. at the moment they abuse a
   function pointer to check this, but that's brittle because things like
   trunks and bridges fiddle with function pointers on their port
   interfaces to mask certain behaviours.

   this adds a dedicated driver settable identifier for this purpose
   instead, and then uses it in the appropriate drivers. a driver can
   point this at anything it wants to act as an identifier.

   this started out because i was looking at replacing rport_enqueue
   with a generic function provided by if.h, which would break using
   it to identify instances of rport(4).

   ok mvs@
VersionDeltaFile
1.151+2-1sys/net/if_var.h
+2-11 files

OpenBSD/src PP7ZzHI — sys/conf files, sys/net if_etherip.c if_vether.c

   stop reporting ifmedia on virtual interfaces.

   showing "media: Ethernet autoselect" on virtual interfaces is
   unecessary. the important thing is link state, which is reported
   via if_link_state on the interface itself.

   ok miod@ mvs@
VersionDeltaFile
1.163+1-42sys/net/if_trunk.c
1.19+1-39sys/net/if_pair.c
1.55+1-38sys/net/if_aggr.c
1.40+1-30sys/net/if_vether.c
1.61+1-29sys/net/if_etherip.c
1.753+5-5sys/conf/files
+10-1831 files not shown
+11-1857 files

OpenBSD/src R6FCpQp — sys/isofs/udf udf_vfsops.c, sys/kern vfs_default.c vfs_subr.c

   put back: sys/vfs: stop checkalias replacing vnodes

   Swap was fixed by uvm_swap.c,v 1.186, so I can put back:
    - cd9660_vfsops.c,v 1.100
    - udf_vfsops.c,v 1.74
    - vfs_default.c,v 1.53
    - vfs_subr.c,v 1.338
    - nfs_subs.c,v 1.155
    - vnode.h,v 1.180
    - tmpfs_subr.c,v 1.29
    - ext2fs_subr.c,v 1.39
    - ffs_subr.c,v 1.36
    - mfs_vfsops.c,v 1.64
VersionDeltaFile
1.342+63-57sys/kern/vfs_subr.c
1.38+3-22sys/ufs/ffs/ffs_subr.c
1.41+3-22sys/ufs/ext2fs/ext2fs_subr.c
1.55+21-3sys/kern/vfs_default.c
1.157+2-21sys/nfs/nfs_subs.c
1.76+3-19sys/isofs/udf/udf_vfsops.c
+95-1444 files not shown
+105-17810 files

OpenBSD/src EJVn5UP — sys/dev/ic malo.c

   Increase the MCLBYTES RX DMA allocation size, since the valid maximum 802.11
   frame size can be larger, and therefore could write beyond the allocation.

   Diff from acts1631kjv at proton dot me.

   ok claudio@
VersionDeltaFile
1.126+11-8sys/dev/ic/malo.c
+11-81 files

OpenBSD/src yKidwfS — usr.sbin/sysmerge sysmerge.8

   Mention dbupdate.
VersionDeltaFile
1.82+3-2usr.sbin/sysmerge/sysmerge.8
+3-21 files

OpenBSD/src DGo4SaE — usr.sbin/sysupgrade sysupgrade.sh sysupgrade.8

   Remove warning for sysupgrade -f without -s

   It was supposed to be an error, but `! false && false` interactions
   with `set -e` in ksh turned it into a warning.

   While this operation is dangerous and may require additional work
   from the admin, it is behind the force flag and you get to keep
   both pieces.

   ok sthen@
   I agree deraadt@

   ----------------------------------------------------------------------
VersionDeltaFile
1.25+3-4usr.sbin/sysupgrade/sysupgrade.8
1.65+1-3usr.sbin/sysupgrade/sysupgrade.sh
+4-72 files

OpenBSD/src 8HJN5wb — sys/arch/sparc64/stand/ofwboot vers.c

   Change boot blocks version number due to OFW code change.
VersionDeltaFile
1.32+1-1sys/arch/sparc64/stand/ofwboot/vers.c
+1-11 files

OpenBSD/src u9q6JmC — sys/arch/sparc64/sparc64 ofw_machdep.c, sys/arch/sparc64/stand/ofwboot Locore.c

   Change Open Firmware calling routines to explicitly allow for one returned
   value. The existing code used to work on real hardware, but wasn't exactly
   IEEE1275-conformant, and did not work with QEMU's OpenBIOS.

   Tested on various machines from U1 and U5 to Blade, V250 and T1000.

   diff from Ted Bullock, ok kettenis@
VersionDeltaFile
1.39+9-5sys/arch/sparc64/sparc64/ofw_machdep.c
1.20+7-4sys/arch/sparc64/stand/ofwboot/Locore.c
+16-92 files

OpenBSD/src y0WbQGE — usr.bin/tmux window-tree.c

   Add a couple of OSC bits to the pane info.
VersionDeltaFile
1.101+17-2usr.bin/tmux/window-tree.c
+17-21 files

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

   Some helper functions from GitHub issue 5433.
VersionDeltaFile
1.41+15-13usr.bin/tmux/layout-set.c
1.108+10-5usr.bin/tmux/layout.c
+25-182 files

OpenBSD/src 0ybao3K — usr.bin/tmux tty.c

   Look up bright colours for bold before dim, GitHub issue 5883.
VersionDeltaFile
1.498+13-4usr.bin/tmux/tty.c
+13-41 files

OpenBSD/src RbDRdLZ — usr.bin/file file.c

   Do not silently exit with zero if the child process crashed or exited
   with nonzero. ok millert
VersionDeltaFile
1.76+5-2usr.bin/file/file.c
+5-21 files

OpenBSD/src cmF5UNU — usr.bin/file magic-test.c

   Fix crash in child process when a negated string is not present, report
   and fix from acts1631kjv at proton dot me.

   ok millert
VersionDeltaFile
1.28+9-3usr.bin/file/magic-test.c
+9-31 files