OpenBSD/src Jc6orqMsys/kern exec_script.c exec_elf.c, sys/sys exec_elf.h exec.h

   In execve(2), attempt to create a realpath buffer for the executable
   and place the resulting string on the stack as an auxval.  The two
   main reasons why the attempt can fail are if the program is started
   inside an unlinked directory or if the buffer exceeds PATH_MAX.  libc
   will be able to find this auxval and provide it in an uncoming
   getexecpath(3) API.
   ok kettenis beck kirill
VersionDeltaFile
1.271+75-16sys/kern/kern_exec.c
1.202+5-1sys/kern/exec_elf.c
1.49+2-3sys/kern/exec_script.c
1.109+3-2sys/sys/exec_elf.h
1.58+3-2sys/sys/exec.h
+88-245 files

OpenBSD/src ltU54sOusr.bin/sndiod sock.c

   sndiod: Make sure MODE_{PLAY,REC} aren't used on a MIDI port
VersionDeltaFile
1.71+5-1usr.bin/sndiod/sock.c
+5-11 files

OpenBSD/src IJw2ff4share/man/man5 port-modules.5

   Document cargo builds with the devel/meson MODULE.

   thanks schwarze@ for the mandoc fixes.
VersionDeltaFile
1.289+20-2share/man/man5/port-modules.5
+20-21 files

OpenBSD/src XaT7i02usr.bin/mandoc cgi.c

   Further improve error handling, in particular
   provide a non-zero EXIT STATUS in some error cases
   and properly close HTML output after open(2) failure.
VersionDeltaFile
1.123+49-40usr.bin/mandoc/cgi.c
+49-401 files

OpenBSD/src HAksiXTusr.sbin/snmpd ax.c

   Unkown -> Unknown
VersionDeltaFile
1.10+2-2usr.sbin/snmpd/ax.c
+2-21 files

OpenBSD/src RX2ho7Lusr.sbin/snmpd application.c

   unregiser -> unregister
VersionDeltaFile
1.45+2-2usr.sbin/snmpd/application.c
+2-21 files

OpenBSD/src kV1JJh1usr.sbin/smtpd lka_filter.c

   reponse -> response
VersionDeltaFile
1.82+2-2usr.sbin/smtpd/lka_filter.c
+2-21 files

OpenBSD/src MY7Dubrusr.sbin/ospfctl ospfctl.c

   faied -> failed
VersionDeltaFile
1.76+3-3usr.sbin/ospfctl/ospfctl.c
+3-31 files

OpenBSD/src hGcFI2Uusr.bin/mg word.c

   tranpose -> transpose
VersionDeltaFile
1.24+2-2usr.bin/mg/word.c
+2-21 files

OpenBSD/src 88pnWLrusr.bin/htpasswd htpasswd.c

   bcryt -> bcrypt
VersionDeltaFile
1.20+2-2usr.bin/htpasswd/htpasswd.c
+2-21 files

OpenBSD/src RIwq3gmsbin/pfctl pfctl.c

   ambigious -> ambiguous
VersionDeltaFile
1.406+2-2sbin/pfctl/pfctl.c
+2-21 files

OpenBSD/src 99071WAlib/libssl d1_lib.c

   libssl: avoid narrowing return value in dtls1_ctrl

   dtls1_ctrl() and ssl3_ctrl() return long, but the intermediate return
   value was stored in an int. Use long to avoid truncating values returned
   by ssl3_ctrl().

   CID 497395

   From Yuji Hashimoto

   ok tb jsing
VersionDeltaFile
1.67+2-2lib/libssl/d1_lib.c
+2-21 files

OpenBSD/src duJIUU2lib/libcrypto crypto_ex_data.c, lib/libcrypto/man CRYPTO_set_ex_data.3 OPENSSL_init_crypto.3

   Make CRYPTO_cleanup_all_ex_data() a compatibility no-op

   The ex_data callback registry is process-wide, but this API could free
   it while other threads were still using libcrypto, resulting in a
   use-after-free.

   Retain the public symbol as a compatibility no-op and mark it
   deprecated. Move the actual cleanup to an internal function called by
   OPENSSL_cleanup(). Replace the in-tree callers with OPENSSL_cleanup()
   at final shutdown to preserve cleanup behavior and coverage.

   Document both APIs and the requirement that OPENSSL_cleanup() only be
   called after all threads and components have stopped using libcrypto.

   ok tb
VersionDeltaFile
1.8+30-5lib/libcrypto/man/OPENSSL_init_crypto.3
1.18+24-3lib/libcrypto/man/CRYPTO_set_ex_data.3
1.7+13-2lib/libcrypto/crypto_ex_data.c
1.42+4-5usr.bin/openssl/openssl.c
1.46+3-5regress/lib/libssl/ssl/ssltest.c
1.12+3-4regress/lib/libcrypto/dsa/dsatest.c
+77-248 files not shown
+93-4714 files

OpenBSD/src YtiaUvQusr.bin/mandoc cgi.c

   Delay starting HTML output until we are sure that we have some data
   to offer to the user, either from a manual page file that can actually
   be opened or at least a list of links to pages matching the user's query.

   When no information whatsoever can be accessed, always return
   HTTP 400 Bad Request (e.g. for an unsupported, nonexistent, or unreadable
   path or an invalid architecture) or HTTP 500 Internal Server Error (e.g.
   for a system call failure, an inaccessible or invalid configuration file,
   an inaccessible directory, or a corrupt database).

   This also prepares for pledge(2)/unveil(2) improvements by making it
   possible to invoke these system calls after open(2)ing the chosen
   manual page file.
VersionDeltaFile
1.122+55-44usr.bin/mandoc/cgi.c
+55-441 files

OpenBSD/src OFFzzjCsys/dev/wscons wsemul_vt100var.h wsemul_sun.c

   Clamp numeric arguments of terminal escape sequences to an arbitrary value of
   100,000. The existing logic would happily process as many digits as provided,
   which could make the values wraparound at 2**32, or be considered as negative
   values if cast to a signed type, leading to incorrect processing.

   Bug report by Acts1631.
VersionDeltaFile
1.49+28-6sys/dev/wscons/wsemul_vt100.c
1.38+17-4sys/dev/wscons/wsemul_sun.c
1.15+4-2sys/dev/wscons/wsemul_vt100var.h
+49-123 files

OpenBSD/src KFwAPfUsbin/ifconfig brconfig.c

   whitespace fixes, no functional change
VersionDeltaFile
1.47+3-3sbin/ifconfig/brconfig.c
+3-31 files

OpenBSD/src mmz1UBysbin/ifconfig brconfig.c

   collapse ranges of community ids when printing pvlan info.

   mostly borrowed from the code that collapses ranges of vids when
   printing the allowed vlan tags on ports.
VersionDeltaFile
1.46+19-5sbin/ifconfig/brconfig.c
+19-51 files

OpenBSD/src VR82Se9lib/libsndio mio.c sndio.7, usr.bin/sndiod sock.c sndiod.c

   sndiod: Unify "midithru/N" and "midi/N" ports

   Add the -p option to register MIDI ports that programs can
   access as "midi/<name>". They have the same functionnality as the
   current "midithru/<number>" ports. The default MIDI port becomes
   simply "midi/default", which is automatically created (similarly
   to the default audio device).

   The "midithru/<number>" syntax is still accepted for backwards
   compatibility.
VersionDeltaFile
1.28+11-12lib/libsndio/sndio.7
1.23+16-2usr.bin/sndiod/sndiod.8
1.62+10-2usr.bin/sndiod/sndiod.c
1.70+7-1usr.bin/sndiod/sock.c
1.24+2-2lib/libsndio/mio.c
+46-195 files

OpenBSD/src OjNSFZcsys/net if_veb.c

   cope with the port map being NULL in veb_vid_inuse.

   avoids a null deref when configuring pvlans before ports on a veb.
VersionDeltaFile
1.73+4-1sys/net/if_veb.c
+4-11 files

OpenBSD/src WZiZyLsbin/stty stty.c

   use TCSANOW (which is 0) for the 2nd parameter of tcsetattr instead of 0
VersionDeltaFile
1.23+2-2bin/stty/stty.c
+2-21 files

OpenBSD/src 8kx3C1kusr.sbin/vmd i8253.c

   vmd: only assert IRQ0 for i8253 channel 0

   From ssnf at ssnf.xyz
VersionDeltaFile
1.48+3-2usr.sbin/vmd/i8253.c
+3-21 files

OpenBSD/src TnJXluXusr.sbin/vmd i8253.c

   vmd: reset i8253 input latch on writes

   Writes should ovewrite all bits.

   From ssnf at ssnf.xyz
VersionDeltaFile
1.47+2-2usr.sbin/vmd/i8253.c
+2-21 files

OpenBSD/src kDkOZW1lib/libc/gen auth_subr.c

   libc: fix ability to set AUTHV_INTERACTIVE

   ok millert@
VersionDeltaFile
1.57+2-2lib/libc/gen/auth_subr.c
+2-21 files

OpenBSD/src 2z8hgVmusr.bin/mandoc roff_escape.c

   Fix a segfault that bluhm@ found on his i386 regress machine.

   Even in the "out:" code path of the escape sequence parser,
   for rval == ESCAPE_SPECIAL, some of the parsing results are
   still used for error reporting purposes, specifically to
   distinguish valid and invalid character names.

   So, when parsing fails so badly that there is no name whatsoever,
   it is not sufficient to bail out via "goto out;" but in addition,
   we must make sure that the return value does not remain ESCAPE_SPECIAL.

   However, other return values must remain intact even in case of
   extremely bad parsing errors.  For example, an \A escape sequence
   still qualifies as an ESCAPE_EXPAND sequence and must expand
   to the string "0" even if it lacks any argument whatsoever.
VersionDeltaFile
1.17+3-1usr.bin/mandoc/roff_escape.c
+3-11 files

OpenBSD/src 9aBoOZGetc rc

   Move /tmp clearing earlier in /etc/rc

   Moving pruning above relinking and early daemon startup to be able
   to clear everything old without removing entries that are in use.

   The goals are:

   1) free up at least one inode, because mkstemp needs at least one
   2) free up a few more, just in case.  We settled on 50.
   3) With an inode freed up for mktemp, create a directory and move all the
      deleteable files into that directory and remove it asyncronously.

   The first two goals were very fiddly to get right.

   Much help and discussion with deraadt@ plus dlg@ and kn@

   ok for an earlier diff from kn@
VersionDeltaFile
1.592+19-23etc/rc
+19-231 files

OpenBSD/src 0itpZkiusr.sbin/relayctl relayctl.8 relayctl.c

   relayctl: rework show output and add -v flag

   - Added -v flag for more detailed output.
   - Replaced tab separators with space-padded, truncated columns (%.Ns) for
     stable alignment.
   - Added a new "Checks" column for host checks (N/N), replacing the total: N/N
     checks sub-line.
   - Shortened redirect to rdr in the Type column to stay under 80 columns.
   - Without -v: compact status (down); with -v: error inlined (down (tcp connect
     timeout)).
   - Table status shows host count (N hosts) only with -v.
   - retries sub-line only appears with show hosts -v.
   - show hosts no longer lists tables; use show summary for that.

   OK kirill@
VersionDeltaFile
1.67+65-42usr.sbin/relayctl/relayctl.c
1.35+6-3usr.sbin/relayctl/relayctl.8
+71-452 files

OpenBSD/src 4Oau1rdlib/libssl ssl_srvr.c ssl_clnt.c

   libssl: fix API misuse in legacy finished handling

   This looks like a potential out of bounds read or allowing trailing garbage
   in peer_finished. It's harmless because CBS_len() is compared against the
   s->s3->hs.peer_finished_len a few lines up, thus it is only cosmetic.

   discussed with jsing
   ok kenjiro
VersionDeltaFile
1.172+3-2lib/libssl/ssl_srvr.c
1.177+3-2lib/libssl/ssl_clnt.c
+6-42 files

OpenBSD/src 7XACHwvsys/dev/usb uaudio.c

   uaudio: Ignore transfer completions if audio is halted

   When audio is halted, the pipes are closed and the corresponding usb
   transfer completion functions are called immediately. For certain
   devices the status of the feedback pipe is USBD_NORMAL_COMPLETION,
   which triggers further processing of the received data.

   Fixes the harmless "uaudio0: sync play xfer, err = 6" messages on
   the console.
VersionDeltaFile
1.182+18-3sys/dev/usb/uaudio.c
+18-31 files

OpenBSD/src if2m1o3gnu/gcc/gcc opts.c

   Follow llvm / clang and disable -fomit-frame-pointer optimisation by
   default.

   OK kettenis@
VersionDeltaFile
1.10+2-0gnu/gcc/gcc/opts.c
+2-01 files

OpenBSD/src j6280Pkgnu/llvm/clang/lib/Driver/ToolChains CommonArgs.cpp

   Disable the -fomit-frame-pointer optimisation by default.

   The frame-pointer is needed to have good backtraces from e.g ddb or
   ptrace / btrace. Many other distros did something like this as well since
   the benfit of havving easy to work with backtraces outweights the little
   overall speedup gained by having an extra register.

   Also disable -mno-omit-leaf-frame-pointer by default on llvm.

   OK kettenis@
VersionDeltaFile
1.2+2,528-421gnu/llvm/clang/lib/Driver/ToolChains/CommonArgs.cpp
+2,528-4211 files