OpenBSD/src 5CfqhNZusr.bin/mandoc main.c

   don't print the final heads-up about message
   when a search did not yield any manual pages to display;
   issue found with regress/usr.bin/mandoc/db/
VersionDeltaFile
1.233+3-2usr.bin/mandoc/main.c
+3-21 files

OpenBSD/src G9adKuzusr.bin/ctags ctags.1

   explicitly reference the textproc/vgrind port;
   kn@ originally noticed that this is desirable;
   feedback and OK jmc@, OK kn@
VersionDeltaFile
1.34+5-4usr.bin/ctags/ctags.1
+5-41 files

OpenBSD/src unPtg5Gsys/kern sched_bsd.c kern_resource.c, sys/sys sched.h

   Stop calling resched_proc() after changing the nice(3) value of a process.

   Changing the scheduling priority of a process happens rarely, so it isn't
   strictly necessary to update the current priority of every threads
   instantly.

   Moreover resched_proc() isn't well suited to perform this action: it doesn't
   consider the state of each thread nor move them to another runqueue.

   ok visa@
VersionDeltaFile
1.55+5-4sys/kern/sched_bsd.c
1.68+1-2sys/kern/kern_resource.c
1.54+1-2sys/sys/sched.h
+7-83 files

OpenBSD/src rFstH1lshare/man/man7 mdoc.7 roff.7

   explain escaping of end-of-sentence characters;
   missing info reported by Ian <ropers at gmail dot com> on misc@
VersionDeltaFile
1.168+9-2share/man/man7/mdoc.7
1.94+8-2share/man/man7/roff.7
+17-42 files

OpenBSD/src tBtORIEusr.bin/tmux layout.c

   Simplify code to work out if an extra line is needed in the cell.
VersionDeltaFile
1.47+65-42usr.bin/tmux/layout.c
+65-421 files

OpenBSD/src 6nzywQyusr.sbin/ospfd database.c hello.c

   Improve logging when sending a packet fails.

   OK claudio@

OpenBSD/src Syqi3g4usr.bin/tmux layout.c layout-set.c

   Make layout_fix_offsets take a window like layout_fix_panes.

OpenBSD/src 6VtLbXGbin/ed ed.1

   Explain in which circumstances trailing slashes can be omitted after
   the g and G commands, and polish the wording a bit explaining empty
   command lists.
   Closing a gap in the manual reported by <mazocomp at disroot dot org>.
   OK jmc@ martijn@
VersionDeltaFile
1.73+11-6bin/ed/ed.1
+11-61 files

OpenBSD/src IxXkPDiregress/sys/kern/realpath realpathtest.c realpath3.c

   Our kernel __realpath(2) implementation does not allow non-existing
   files anymore.  This is conforming to POSIX.  Adjust the regression
   test to the new behavior.
   OK beck@

OpenBSD/src 3zg7jOwsys/kern vfs_syscalls.c

   revert unintended change that snuck in last commit
VersionDeltaFile
1.323+2-2sys/kern/vfs_syscalls.c
+2-21 files

OpenBSD/src gdINm45sys/kern vfs_lookup.c vfs_syscalls.c

   Make realpath posixly correct by changing the kernel implementation
   to not succeed on final path components that do not exist.
   The original implmentation succeeded in these cases.

   ok bluhm@
VersionDeltaFile
1.79+4-6sys/kern/vfs_lookup.c
1.322+3-3sys/kern/vfs_syscalls.c
+7-92 files

OpenBSD/src Ceed6rbusr.bin/ssh sshkey.c ssh-keygen.c

   support PKCS8 as an optional format for storage of private keys,
   enabled via "ssh-keygen -m PKCS8" on operations that save private
   keys to disk.

   The OpenSSH native key format remains the default, but PKCS8 is a
   superior format to PEM if interoperability with non-OpenSSH software
   is required, as it may use a less terrible KDF (IIRC PEM uses a single
   round of MD5 as a KDF).

   adapted from patch by Jakub Jelen via bz3013; ok markus

OpenBSD/src OEldMearegress/usr.bin/ssh/unittests/sshbuf test_sshbuf_misc.c

   unit tests for sshbuf_cmp() and sshbuf_find(); ok markus

OpenBSD/src X0w7NZ5usr.bin/ssh sshbuf-misc.c sshbuf.h

   two more bounds-checking sshbuf counterparts to common string
   operations: sshbuf_cmp() (bcmp-like) and sshbuf_find() (memmem like)

   feedback and ok markus@
VersionDeltaFile
1.8+38-1usr.bin/ssh/sshbuf-misc.c
1.15+28-1usr.bin/ssh/sshbuf.h
+66-22 files

OpenBSD/src glHP6mmsys/netinet in_pcb.c in_pcb.h

   Initialize struct inpcb pool not on demand, but during initialization.
   Removes a global variable and avoids MP problems.
   OK mpi@ visa@
VersionDeltaFile
1.248+12-7sys/netinet/in_pcb.c
1.116+2-1sys/netinet/in_pcb.h
1.93+2-1sys/netinet/in_proto.c
+16-93 files

OpenBSD/src NF1p6sDsys/kern uipc_usrreq.c uipc_proto.c, sys/sys unpcb.h

   Convert struct unpcb malloc(9) to pool_get(9).
   OK mpi@ visa@
VersionDeltaFile
1.141+13-4sys/kern/uipc_usrreq.c
1.18+2-1sys/kern/uipc_proto.c
1.17+2-1sys/sys/unpcb.h
+17-63 files

OpenBSD/src BWrdcvbsbin/dhclient dhclient.c dhclient.8

   Nuke '-l' command line option (alternate location for
   dhclient.leases.<if>).

   ok kmos@
VersionDeltaFile
1.643+4-13sbin/dhclient/dhclient.c
1.40+2-7sbin/dhclient/dhclient.8
+6-202 files

OpenBSD/src vEWOUiwusr.sbin/ldomctl ldomctl.c

   Fix usage

   List all available commands grouped by their synopsis to complete the
   shown usage while still keeping it compact and precise.

   Input from deraadt schwarze
   OK kettenis
VersionDeltaFile
1.22+6-5usr.sbin/ldomctl/ldomctl.c
+6-51 files

OpenBSD/src RzK3h4eetc unbound.conf

   Add tls-cert-bundle and example of using a DNS-over-TLS forwarder.
   Note that, at this time, Unbound does not re-use TLS connections
   (https://www.nlnetlabs.nl/bugs-script/show_bug.cgi?id=4089) so the
   TCP and TLS handshakes will cause a disproportiate increase in
   latency compared to UDP.  ok sthen@ florian@
VersionDeltaFile
1.15+15-1etc/unbound.conf
+15-11 files

OpenBSD/src ogtz6vFsys/kern sys_pipe.c

   revisit pipe initialization and buffer management

   - in dopipe(), get an already zeroed struct (PR_ZERO) instead of manually initialize 
each member (in pipe_create)
   - rename pipespace() and pipe_free_kmem() to pipe_buffer_realloc() and 
pipe_buffer_free(): it is more evident that the functions works on the same thing
   - in pipe_buffer_free(), return early and move the if-body as function body

   No functional change intented.

   ok anton@ visa@ mpi@
VersionDeltaFile
1.94+41-34sys/kern/sys_pipe.c
+41-341 files

OpenBSD/src oQHZdfysys/arch/amd64/amd64 pmap.c

   Fix a direct map bug that affected machines with > 1023GB physical
   memory (or, more precisely, those machines that had physical memory
   regions extending past physical address 1023GB).

   ok kettenis
VersionDeltaFile
1.134+21-22sys/arch/amd64/amd64/pmap.c
+21-221 files

OpenBSD/src rvf1JJRshare/man/man9 file.9

   Document locking with fdrelease().
VersionDeltaFile
1.20+5-2share/man/man9/file.9
+5-21 files

OpenBSD/src PvmgkqDsys/kern kern_descrip.c sys_pipe.c

   Do not relock fdp in fdrelease(). This prevents unnecessary locking
   in the common case.

   OK mpi@

OpenBSD/src q6qjJrRdistrib/sets/lists/comp mi

   sync
VersionDeltaFile
1.1452+1-0distrib/sets/lists/comp/mi
+1-01 files

OpenBSD/src nuXJgmAsys/dev/pci/drm/amd/powerplay/hwmgr smu_helper.c

   unstub phm_irq_process()

OpenBSD/src sUwnTp2sys/dev/pci/drm/include/linux pci.h

   add PCI_BUS_NUM()

OpenBSD/src Q0mPSFUsys/dev/pci/drm drm_linux.c

   put smbios date access under NBIOS > 0 instead of CONFIG_DMI
VersionDeltaFile
1.46+7-3sys/dev/pci/drm/drm_linux.c
+7-31 files

OpenBSD/src d0kL7PJsys/dev/pci/drm/i915 i915_drv.c

   Replace local method of determining rasops rotation with
   drm_get_panel_orientation_quirk().

   ok mlarkin@ kettenis@
   tested by kettenis@ on Asus T100HA
VersionDeltaFile
1.119+8-16sys/dev/pci/drm/i915/i915_drv.c
+8-161 files

OpenBSD/src cPZPSBlsys/dev/pci/drm drm_linux.c, sys/dev/pci/drm/include/linux mod_devicetable.h kconfig.h

   Add dmi functions used by drm_panel_orientation_quirks.c and enable
   CONFIG_DMI path.

   ok mlarkin@ kettenis@

OpenBSD/src 7PC7QJHsys/arch/amd64/amd64 bios.c, sys/arch/i386/i386 bios.c

   store smbios date string in globally visible var for drm
   ok mlarkin@ kettenis@

OpenBSD/src XOmUr9kregress/usr.bin/ssh/unittests/sshbuf test_sshbuf_getput_basic.c

   unit tests for sshbuf_peek/poke bounds-checked random access
   functions. ok markus@

OpenBSD/src eucrh7Nusr.bin/ssh sshbuf-getput-basic.c sshbuf.h

   add some functions to perform random-access read/write operations
   inside buffers with bounds checking. Intended to replace manual
   pointer arithmetic wherever possible.

   feedback and ok markus@
VersionDeltaFile
1.8+162-1usr.bin/ssh/sshbuf-getput-basic.c
1.14+21-2usr.bin/ssh/sshbuf.h
+183-32 files

OpenBSD/src mylo1Fvgnu/usr.bin/perl Makefile.bsd-wrapper1

   Install OpenBSD::Unveil.3p manpage

   Reminded by brynet@

OpenBSD/src z3LKZH4usr.bin/mandoc mandoc_msg.c main.c

   If messages are shown and output is printed without a pager, display
   a heads-up on stderr at the end because otherwise, users may easily
   miss the messages: because messages typically occur while parsing,
   they typically preceed the output.  This is most useful with flag
   combinations like "-c -W all" but may also help in some unusual
   error scenarios.
   Inconvenient ordering of output originally pointed out by espie@
   for the example situation that /tmp/ is not writeable.

OpenBSD/src BDkcIDPusr.sbin/ldomctl mdesc.c mdesc.h

   Add interface to set/update a data property.
VersionDeltaFile
1.12+16-1usr.sbin/ldomctl/mdesc.c
1.8+3-1usr.sbin/ldomctl/mdesc.h
+19-22 files

OpenBSD/src IGOrXrcshare/man/man5 bsd.port.mk.5

   one old PERMIT_* escaped! they're gone now
VersionDeltaFile
1.516+3-3share/man/man5/bsd.port.mk.5
+3-31 files

OpenBSD/src Iv9b3FOsys/kern sys_pipe.c, sys/sys pipe.h

   rename PIPE_WANT to PIPE_WANTD.

   PIPE_WANT flag is used for signaling the pipe is about to be run-down.
   Pending readers/writers will wakeup the closing thread which is waiting.

   We already have PIPE_WANTR, PIPE_WANTW and PIPE_LWANT flags, so
   PIPE_WANT isn't really descriptive.

   No functional changes intented.

   ok visa@ anton@ mpi@
VersionDeltaFile
1.92+9-9sys/kern/sys_pipe.c
1.17+2-2sys/sys/pipe.h
+11-112 files

OpenBSD/src bPEKg0gusr.sbin/pkg_add/OpenBSD Error.pm AddDelete.pm

   a bunch of changes, all related to error-handling:
   - have Handle->register also create a proper END block, so that
   individual packages don't have to, and explain the issue
   - kill old Unlink/Copy code that migrated to State years ago
   - commonalize try{} catch {} for pkg_add/delete and pkg_create, so that
   debug works the same way in both.
   - switch printing command name to the catch handler, so that exceptions
   are simpler to handle

   and a few comments for the hairy parts...

OpenBSD/src RoVsew1sys/net if_enc.c

   newlen was a dead store, but what we could use is oldlen to
   simplify the code.
   Pointed out by daniel@ with the help of their friend gcc9
   OK kn
VersionDeltaFile
1.75+9-13sys/net/if_enc.c
+9-131 files

OpenBSD/src kLkERhLsbin/unwind/libunbound config.h, sbin/unwind/libunbound/services authzone.c outside_network.c

   Update to libunbound 1.9.2
   Heavy lifting by sthen when updating unbound(8).

OpenBSD/src BekxQDhsys/arch/amd64/include reg.h

   Delete obsolete bits in a comment: mcontext is gone and struct reg is no
   longer required to be layout compatible with struct trapframe

   noted by Benjamin Baier (programmer (at) netzbasis.de)
VersionDeltaFile
1.7+1-3sys/arch/amd64/include/reg.h
+1-31 files

OpenBSD/src CxbTbQWlib/libc/arch/powerpc SYS.h

   Unlike gas, clang's assembler complains about duplicate symbol assignments.
   Tweak the PSEUDO() macro to avoid that.

   problem noted and tested by kettenis@
VersionDeltaFile
1.23+2-2lib/libc/arch/powerpc/SYS.h
+2-21 files

OpenBSD/src 1IrKy7qusr.bin/openssl apps.c apps.h

   Mark the initialized struct options arrays as both static and const.
   This moves them from .data to .data.rel.ro

   ok deraadt@ inoguchi@

OpenBSD/src 3xjt9qAsys/kern kern_unveil.c

   Don't lock the struct unveil being created in the child when cloning the
   parent's during fork()

   witness reports from ajacoutot@ and Hrvoje Popovski (hrvoje (at) srce.hr)
   ok visa@
VersionDeltaFile
1.27+12-6sys/kern/kern_unveil.c
+12-61 files

OpenBSD/src 1r8rRJ7libexec/ld.so Makefile resolve.c, libexec/ld.so/arm syscall.h

   ld.so's $ORIGIN handling when argv[0] is a relative path was broken by
   the change in __getcwd(2)'s return value.  Fix it by switching to the
   __realpath(2) syscall, eliminating the ld.so copy of realpath().

   problem caught by regress and noted by bluhm@
   ok deraadt@

OpenBSD/src tue3tyjsys/arch/arm64/arm64 pmap.c

   Panic for missing vp1 entry, do not panic for missing vp2 entry twice.
   Fix print on subsequent line.
VersionDeltaFile
1.66+4-4sys/arch/arm64/arm64/pmap.c
+4-41 files

OpenBSD/src wc9hFObsys/arch/arm64/arm64 pmap.c

   Adjust the pmap_set_l* functions to a more reasonable API,
   the lX_pa parameter was never called with a known physical address,
   the called function always needed to look up that data. When this was
   originally written, it was expected to be used in another path where the
   virtual and physical were both known, but that other path was rewritten
   at some point (likely that old path was early kernel table init, before
   pmap_extract is available).

   Instead of making the function perform a table walk pass the pmapvpX pointer
   to the table that the new entry will be inserted. This table is already
   known and in a local register, so no point in performing that lookup again.

   ok kettenis@
VersionDeltaFile
1.65+22-49sys/arch/arm64/arm64/pmap.c
+22-491 files

OpenBSD/src htjNShwsys/arch/arm64/arm64 pmap.c

   pmap_page_protect() should not unmap pages after making them readonly.
   ok kettenis@ patrick@
VersionDeltaFile
1.64+2-1sys/arch/arm64/arm64/pmap.c
+2-11 files

OpenBSD/src L0vRa7klib/libcrypto/man RSA_get0_key.3 RSA_meth_new.3

   explain the acronym "CRT"; suggested by tb@

OpenBSD/src 81sUg3eusr.sbin/relayd parse.y

   fix error description on invalid forward ip.

   OK benno@
VersionDeltaFile
1.241+2-2usr.sbin/relayd/parse.y
+2-21 files