OpenBSD/src lFl8aoyusr.sbin/relayd parse.y

   Set User-Agent for HTTP healthchecks

   Joel Carnat (Thanks) notice that GoToSocial does not like it when we sent
   no User-Agent and returns an HTTP/418.

   Lloyd pointed to use RELAYD_SERVERNAME instead hardcoded "relayd"

   OK sthen, claudio (diff without RELAYD_SERVERNAME)
VersionDeltaFile
1.261+5-5usr.sbin/relayd/parse.y
+5-51 files

OpenBSD/src VACCNqxsys/kern vfs_lookup.c

   Unveil fix for traversing up at a mount point in vfs_lookup.

   This fixes an issue where we could use the wrong unveil
   when we had a path starting with a .. starting from a directory
   that was a mount point, and also was unveiled.

   The fix ensures we remember traversing the unveil before
   descending into the underlying filesystem.

   fix by semarie@ with testing by me and deraadt@ and others

   from beck@; ok deraadt@

   this is errata/7.7/025_unveil_mount.patch.sig
VersionDeltaFile
1.88.12.1+2-1sys/kern/vfs_lookup.c
+2-11 files

OpenBSD/src F81mWRnsys/kern vfs_lookup.c

   Unveil fix for traversing up at a mount point in vfs_lookup.

   This fixes an issue where we could use the wrong unveil
   when we had a path starting with a .. starting from a directory
   that was a mount point, and also was unveiled.

   The fix ensures we remember traversing the unveil before
   descending into the underlying filesystem.

   fix by semarie@ with testing by me and deraadt@ and others

   from beck@; ok deraadt@

   this is errata/7.8/019_unveil_mount.patch.sig
VersionDeltaFile
1.90.2.1+2-1sys/kern/vfs_lookup.c
+2-11 files

OpenBSD/src oOTbjHplib/libc/time localtime.c

   In tzpath_ok(), also reject a path ending in "/..".  This replaces
   strstr() with a loop that matches embedded ".." path elements as
   well as leading and trailing ones.  OK tb@
VersionDeltaFile
1.75+20-8lib/libc/time/localtime.c
+20-81 files

OpenBSD/src XmMQTbtshare/man/man4 iwx.4, sys/dev/pci if_iwx.c if_iwxreg.h

   sys/iwx: support powersave

   This diff enables power save by default for iwx by setting
   IEEE80211_F_PMGTON (and IEEE80211_C_PMGT), and makes iwx react to
   SIOCS80211POWER by switching between PM (level 3) and CAM at runtime.

   OK: stsp@
VersionDeltaFile
1.204+84-62sys/dev/pci/if_iwx.c
1.62+37-1sys/dev/pci/if_iwxreg.h
1.23+3-3share/man/man4/iwx.4
+124-663 files

OpenBSD/src igJJ5tcsys/kern vfs_lookup.c

   Unveil fix for traversing up at a mount point in vfs_lookup.

   This fixes an issue where we could use the wrong unveil
   when we had a path starting with a .. starting from a directory
   that was a mount point, and also was unveiled.

   The fix ensures we remember traversing the unveil before
   descending into the underlying filesystem.

   fix by semarie@ with testing by me and deraadt@ and others

   ok deraadt@
VersionDeltaFile
1.91+2-1sys/kern/vfs_lookup.c
+2-11 files

OpenBSD/src JgInMuwlib/libc/time localtime.c

   Revert last change to check "..", it breaks for relative paths.
VersionDeltaFile
1.74+3-9lib/libc/time/localtime.c
+3-91 files

OpenBSD/src i38Iky9usr.bin/mg file.c

   improve the "No changes need to be saved" check

   Instead of checking for the BFCHG flag in buffsave(), bubble it up to
   filesave(), which is the interactive function.  This avoids prompting
   for a filepath for e.g. when attempting to save the *scratch* buffer.

   The only other place where buffsave() is called, anycb in buffer.c is
   already guarding for a set file name and the BFCHG flag.

   Initial diff from Han Boetes (hboetes at gmail), tweaked by me.
VersionDeltaFile
1.105+7-9usr.bin/mg/file.c
+7-91 files

OpenBSD/src ZDlRQGXlib/libc/sys pledge.2, sys/kern kern_pledge.c

   pledge "tmppath" goes away because it sucks.  The history is kind of
   sad:  unveil(2) was invented by Bob Beck and myself because a couple
   of us struggled and couldn't expand the "tmppath" mechanism to general use.
   unveil(2) ended up being kind of "upside down" different, and so we never
   deleted "tmppath" because the refactorings seemed complicated.
   However over the last two weeks, we're removed all the "tmppath" in base
   pretty easily, and the 18 ports using it have also been fixed.
   The majority of situations now use unveil "/tmp" "rwc", unveil "/" "r" or
   similar, and then pledge "rpath wpath cpath", and this is generally needed
   to satisfy the mkstemp(3) family of functions in libc.
   Use of "tmppath" will now cause pledge(2) to return EINVAL.  There is
   no backwards compatible way of mimic the behaviour correctly using
   kernel-internal unveil hackery.
   Prompted by a report from David Leadbeater; and extensive conversations
   with beck and semarie.
   from deraadt@

   Stop the canonicalization of the path in pledge_namei() callback since
   we know is providing strictly normalized paths, and it leads to a subtle

    [17 lines not shown]
VersionDeltaFile
1.323.4.3+13-74sys/kern/kern_pledge.c
1.71.4.1+21-5lib/libc/sys/pledge.2
+34-792 files

OpenBSD/src 63c29t2lib/libc/sys pledge.2, sys/kern kern_pledge.c

   pledge "tmppath" goes away because it sucks.  The history is kind of
   sad:  unveil(2) was invented by Bob Beck and myself because a couple
   of us struggled and couldn't expand the "tmppath" mechanism to general use.
   unveil(2) ended up being kind of "upside down" different, and so we never
   deleted "tmppath" because the refactorings seemed complicated.
   However over the last two weeks, we're removed all the "tmppath" in base
   pretty easily, and the 18 ports using it have also been fixed.
   The majority of situations now use unveil "/tmp" "rwc", unveil "/" "r" or
   similar, and then pledge "rpath wpath cpath", and this is generally needed
   to satisfy the mkstemp(3) family of functions in libc.
   Use of "tmppath" will now cause pledge(2) to return EINVAL.  There is
   no backwards compatible way of mimic the behaviour correctly using
   kernel-internal unveil hackery.
   Prompted by a report from David Leadbeater; and extensive conversations
   with beck and semarie.
   from deraadt@

   Stop the canonicalization of the path in pledge_namei() callback since
   we know is providing strictly normalized paths, and it leads to a subtle

    [17 lines not shown]
VersionDeltaFile
1.333.2.2+13-74sys/kern/kern_pledge.c
1.74.2.1+20-4lib/libc/sys/pledge.2
+33-782 files

OpenBSD/src SbsZx1Usys/dev/pci if_iwx.c

   make iwx_read_firmware() error out if IWX_NUM_UCODE_TLV_CAPA is too small

   The driver would attempt to load an incomplete firmware image if
   this check failed. Make the driver report a proper error instead.

   ok tb@ phessler@
VersionDeltaFile
1.203+2-1sys/dev/pci/if_iwx.c
+2-11 files

OpenBSD/src u64MJepsys/net80211 ieee80211_node.c

   The refcnt DPRINTF in ieee80211_release_node() is too verbose put it
   behind a ieee80211_debug > 1 check.
   OK stsp@
VersionDeltaFile
1.210+6-3sys/net80211/ieee80211_node.c
+6-31 files

OpenBSD/src dgCxGGGsys/net80211 ieee80211_input.c

   Unbreak compiles with IEEE80211_DEBUG defined.

   In ieee80211_recv_probe_resp() the code to print probe responses should be
   called after ieee80211_find_node() and is_new should be used instead of
   checking for ni == NULL.

   OK stsp@
VersionDeltaFile
1.259+11-11sys/net80211/ieee80211_input.c
+11-111 files

OpenBSD/src cXtuWluusr.bin/tmux window-copy.c cmd-send-keys.c

   Allow copy mode to work for readonly clients, except for copy commands,
   from Dane Jensen.
VersionDeltaFile
1.391+102-1usr.bin/tmux/window-copy.c
1.79+8-2usr.bin/tmux/cmd-send-keys.c
1.50+2-2usr.bin/tmux/cmd-copy-mode.c
1.163+2-1usr.bin/tmux/key-bindings.c
+114-64 files

OpenBSD/src ZtOWhqEusr.bin/tmux server-fn.c

   Check window is not NULL, from Chema Gonzalez in GitHub issue 4908.
VersionDeltaFile
1.143+7-3usr.bin/tmux/server-fn.c
+7-31 files

OpenBSD/src mTO9HF4regress/usr.sbin/bgpd/unittests rde_aspa_test.c

   Define rdemem for this test too since we now account for aspa objects as well.

   As usual noticed by anton@
VersionDeltaFile
1.7+3-1regress/usr.sbin/bgpd/unittests/rde_aspa_test.c
+3-11 files

OpenBSD/src mhXrq6ksys/dev/pci if_iwx.c if_iwxreg.h

   Add support for MCC update firmware response v4 to iwx(4).

   This will be needed to support BZ devices.

   ok kettenis@ phessler@

   Tested:
   AX210 (MA): kettenis
   AX211: phessler
   AX211 (BZ): stsp
VersionDeltaFile
1.202+56-17sys/dev/pci/if_iwx.c
1.61+29-1sys/dev/pci/if_iwxreg.h
+85-182 files

OpenBSD/src Uwmskpjusr.bin/ssh sftp-server.c misc.c

   Replace all remaining instances of u_intXX_t types with the C99
   equivalent uintXX_t types.  ok djm@
VersionDeltaFile
1.153+83-83usr.bin/ssh/sftp-server.c
1.213+33-33usr.bin/ssh/misc.c
1.35+30-30usr.bin/ssh/sshbuf.h
1.384+26-26usr.bin/ssh/sshconnect2.c
1.334+26-26usr.bin/ssh/packet.c
1.41+25-25usr.bin/ssh/moduli.c
+223-22340 files not shown
+480-48046 files

OpenBSD/src F8WFGCxsys/kern kern_pledge.c

   incorrectly nested break for latest zoneinfo check
   spotted by david leadbeater
VersionDeltaFile
1.340+3-3sys/kern/kern_pledge.c
+3-31 files

OpenBSD/src 3SEd1bZlib/libc/time localtime.c

   In tzpath_ok(), also reject a path ending in "/..".  This replaces
   strstr() with a loop that matches "/../" in the name as well as
   "/.." at the end.  OK deraadt@
VersionDeltaFile
1.73+10-4lib/libc/time/localtime.c
+10-41 files

OpenBSD/src 5H0mdLeusr.sbin/relayd log.h

   relayd/log.h: missed cvs add
VersionDeltaFile
1.1+46-0usr.sbin/relayd/log.h
+46-01 files

OpenBSD/src LaGUCmssys/kern kern_pledge.c

   In pledge_namei, improve the scanning for ".." in zoneinfo paths
   with millert
VersionDeltaFile
1.339+7-8sys/kern/kern_pledge.c
+7-81 files

OpenBSD/src 3G3xGRGsys/dev/fdt rkpinctrl.c

   Rework rkpinctrl(4) to delay the lookup of the regmaps until we actually
   need them.  This should fix issues with Linux device tree changes that
   make us attach rkpinctrl(4) before the syscon(4) that provides the
   regmap.

   ok patrick@
VersionDeltaFile
1.17+29-34sys/dev/fdt/rkpinctrl.c
+29-341 files

OpenBSD/src 98NYNDCgnu/lib/libcompiler_rt Makefile

   amd64 needs the quad-precision support functions as well (for __float128
   support).  From Brad (with a small comment tweak).

   ok rsadowski@
VersionDeltaFile
1.15+6-1gnu/lib/libcompiler_rt/Makefile
+6-11 files

OpenBSD/src 9HNSU4Jlib/libutil imsg.c

   While in practice the ibuf_skip() call can not fail it is better to check
   it. If the ibuf header can't be skipped it is better to not forward the
   message and return an error.
   Fix for CID 492354
   OK tb@
VersionDeltaFile
1.43+3-2lib/libutil/imsg.c
+3-21 files

OpenBSD/src 9rfkXIsusr.bin/mg fileio.c funmap.c

   two more strdup() failure handling

   original diff from Han Boetes (hboetes at gmail), I've just simplified
   it a tiny bit.
VersionDeltaFile
1.113+3-5usr.bin/mg/fileio.c
1.68+6-2usr.bin/mg/funmap.c
+9-72 files

OpenBSD/src WvnXqhousr.sbin/relayd log.c relayd.h

   Standardize logging with bgpd

   OK claudio@
VersionDeltaFile
1.36+9-28usr.sbin/relayd/log.c
1.278+1-23usr.sbin/relayd/relayd.h
1.23+2-1usr.sbin/relayd/check_script.c
1.62+2-1usr.sbin/relayd/check_tcp.c
1.4+2-1usr.sbin/relayd/check_tls.c
1.48+2-1usr.sbin/relayd/config.c
+18-5517 files not shown
+52-7223 files

OpenBSD/src JkssGI8usr.sbin/httpd log.h log.c

   Standardize logging with bgpd

   Tweak and OK claudio@
VersionDeltaFile
1.1+46-0usr.sbin/httpd/log.h
1.15+9-28usr.sbin/httpd/log.c
1.169+1-23usr.sbin/httpd/httpd.h
1.69+2-1usr.sbin/httpd/config.c
1.22+2-1usr.sbin/httpd/control.c
1.77+2-1usr.sbin/httpd/httpd.c
+62-546 files not shown
+74-6012 files

OpenBSD/src VLS4sGisys/kern kern_pledge.c

   Stop the canonicalization of the path in pledge_namei() callback since
   we know is providing strictly normalized paths, and it leads to a subtle
   problem a little bit like a TOCTOU.  However, this pathcode can also be
   reached by non-libc callers, so we need one validation step: the zoneinfo
   sub-directory inspections may not attempt walks upwards through "..", we
   don't need to consider symbolic links because root does not place them there.
   From discussions with david leadbeater, ok beck
VersionDeltaFile
1.338+10-50sys/kern/kern_pledge.c
+10-501 files

OpenBSD/src ewtkcaZregress/usr.sbin/bgpd/config bgpd.conf.18.ok bgpd.conf.18.in

   Add mrt config check
VersionDeltaFile
1.1+117-0regress/usr.sbin/bgpd/config/bgpd.conf.18.ok
1.1+73-0regress/usr.sbin/bgpd/config/bgpd.conf.18.in
1.16+2-2regress/usr.sbin/bgpd/config/Makefile
+192-23 files