OpenBSD/src WsyNzoRlib/libfuse fuse_private.h fuse_ops.c

   When using the high-level FUSE API, the filesystem may choose between
   two modes of operation when implementing readdir().

   1) The readdir implementation ignores the offset parameter, and
      passes zero to the filler function's offset. The filler function
      will not return '1' (unless an error happens), so the whole
      directory is read in a single readdir operation.

   2) The readdir implementation keeps track of the offsets of the
      directory entries. It uses the offset parameter and always passes
      non-zero offset to the filler function. When the buffer is full
      (or an error happens) the filler function will return '1'.

   We currently don't support 1) and instead implement an alternative
   mode that is stateless but emulates the behaviour. For each
   FUSE_READDIR received from the kernel, it will invoke the file
   system's readdir() callback and ask it to completely fill the buffer
   again, but ignore any entries that are before the given offset or
   exceed the size of the buffer. This of course has a performance

    [11 lines not shown]
VersionDeltaFile
1.46+151-41lib/libfuse/fuse_ops.c
1.30+6-6lib/libfuse/fuse_private.h
+157-472 files

OpenBSD/src wn4xa7wusr.bin/indent indent_globs.h

   convert pointless bitfield to a regular variable; ok krw
VersionDeltaFile
1.17+2-2usr.bin/indent/indent_globs.h
+2-21 files

OpenBSD/src kNX7Ygvusr.sbin/radiusd radiusd_module.c control.c

   Switch over to imsgbuf_get() from imsg_get(), nothing uses the return
   value as message length.

   OK tb@
VersionDeltaFile
1.64+8-10usr.sbin/radiusd/radiusd.c
1.21+7-9usr.sbin/radiusd/radiusd_bsdauth.c
1.9+8-8usr.sbin/radiusd/radiusd_file.c
1.8+5-5usr.sbin/radiusd/control.c
1.27+4-4usr.sbin/radiusd/radiusd_module.c
+32-365 files

OpenBSD/src 3VxBexFusr.sbin/radiusctl radiusctl.c

   Switch from imsg_get to imsgbuf_get and switch 'n' from ssize_t to int.

   OK tb@
VersionDeltaFile
1.18+3-4usr.sbin/radiusctl/radiusctl.c
+3-41 files

OpenBSD/src 6SaR9Zyusr.sbin/npppctl npppctl.c

   Switch from imsg_get to imsgbuf_get.

   OK tb@
VersionDeltaFile
1.16+2-2usr.sbin/npppctl/npppctl.c
+2-21 files

OpenBSD/src 6K6Kinvusr.sbin/npppd/npppd control.c privsep.c

   Switch from imsg_get() to imsgbuf_get(), the return value is not used
   for its size. Also switch type of n to int.

   OK tb@
VersionDeltaFile
1.30+3-3usr.sbin/npppd/npppd/privsep.c
1.17+2-2usr.sbin/npppd/npppd/control.c
+5-52 files

OpenBSD/src 3FlK2PXusr.bin/tmux proc.c

   Switch from imsg_get to imsgbuf_get and switch type of n to int.

   OK tb@
VersionDeltaFile
1.32+3-3usr.bin/tmux/proc.c
+3-31 files

OpenBSD/src NFXJzEdusr.bin/file file.c

   Switch from imsg_get to imsgbuf_get.

   OK tb@
VersionDeltaFile
1.75+3-3usr.bin/file/file.c
+3-31 files

OpenBSD/src 9SSFKJ7sbin/dhcp6leased control.c frontend.c

   Adjust type of 'n' from ssize_t to int since imsgbuf_get() now returns int
   and so does imsgbuf_read().

   OK florian@
VersionDeltaFile
1.42+4-6sbin/dhcp6leased/engine.c
1.24+3-5sbin/dhcp6leased/frontend.c
1.23+3-5sbin/dhcp6leased/dhcp6leased.c
1.11+2-3sbin/dhcp6leased/control.c
+12-194 files

OpenBSD/src BzHrCI5sbin/dhcp6leased engine.c

   Remove \n from log message. log_debug already adds that internally.

   OK florian@
VersionDeltaFile
1.41+2-2sbin/dhcp6leased/engine.c
+2-21 files

OpenBSD/src I7yudjDsbin/dhcpleased control.c frontend.c

   Adjust type of 'n' from ssize_t to int since imsgbuf_get() now returns int
   and so does imsgbuf_read().

   OK florian@
VersionDeltaFile
1.67+3-5sbin/dhcpleased/engine.c
1.47+3-5sbin/dhcpleased/dhcpleased.c
1.49+3-4sbin/dhcpleased/frontend.c
1.14+2-3sbin/dhcpleased/control.c
+11-174 files

OpenBSD/src X5llkcosbin/slaacd control.c slaacd.c

   Adjust type of 'n' from ssize_t to int since imsgbuf_get() now returns int
   and so does imsgbuf_read().

   OK florian@
VersionDeltaFile
1.84+3-5sbin/slaacd/slaacd.c
1.76+3-5sbin/slaacd/frontend.c
1.105+3-5sbin/slaacd/engine.c
1.19+2-3sbin/slaacd/control.c
+11-184 files

OpenBSD/src tTwxbv5sbin/slaacd engine.c

   Remove \n from log messages.

   OK florian@
VersionDeltaFile
1.104+3-3sbin/slaacd/engine.c
+3-31 files

OpenBSD/src 4KDDteisbin/unwind control.c resolver.c

   Adjust type of 'n' to int since imsgbuf_get now returns int and so
   does imsgbuf_read where 'n' is used as well.

   OK florian@
VersionDeltaFile
1.79+4-6sbin/unwind/unwind.c
1.177+3-5sbin/unwind/resolver.c
1.25+2-3sbin/unwind/control.c
+9-143 files

OpenBSD/src pu9h35Vusr.bin/tmux control.c server-client.c

   Do not attempt to drain write buffer on stuck clients, since it requires
   a weird dance to make libevent do it. Instead, just ignore the client
   and destroy the buffer normally if not drained in 10 seconds.
VersionDeltaFile
1.502+21-20usr.bin/tmux/server-client.c
1.65+3-7usr.bin/tmux/control.c
+24-272 files

OpenBSD/src qsFsEWrusr.bin/sndiod dev.h opt.h

   sndiod: Replace {OPT,APP,PORT,MIDITHRU}_NAMEMAX by CTL_NAMEMAX

   All are defined to the same value, so no object change.
VersionDeltaFile
1.24+5-5usr.bin/sndiod/opt.c
1.14+3-5usr.bin/sndiod/opt.h
1.6+7-1usr.bin/sndiod/defs.h
1.60+1-3usr.bin/sndiod/dev.h
+16-144 files

OpenBSD/src 8XpE1G5usr.bin/sndiod opt.c opt.h

   sndiod: Define OPT_NAMEMAX to the string size, \0 included

   This is less error prone. No object change.
VersionDeltaFile
1.13+3-3usr.bin/sndiod/opt.h
1.23+2-2usr.bin/sndiod/opt.c
+5-52 files

OpenBSD/src 09NZYojusr.sbin/bgpd bgpd.h util.c

   Incorporate new RTR v2 error codes from draft-ietf-sidrops-8210bis-26

   RTR v2 introduces additional error codes:

    9: ASPA Provider List Error (fatal): The received ASPA PDU has an
       incorrect list of Provider Autonomous System Numbers.
   10: Transport Error (fatal): An error such as a stall or other transport
       layer failure occurred.
   11: Ordering Error (fatal): The received PDU does not conform with the
       specification defined ordering.
   12: Cache Restart (non-fatal): The cache is restarting.
   13: Cache Shutdown (fatal): The cache has shut down deliberately.

   OK claudio@
VersionDeltaFile
1.55+19-4usr.sbin/bgpd/rtr_proto.c
1.104+11-1usr.sbin/bgpd/util.c
1.547+6-1usr.sbin/bgpd/bgpd.h
+36-63 files

OpenBSD/src IYBFlU6usr.sbin/ldapctl ldapctl.c

   Switch to imsgbuf_get and use imsg_get_data for two stat messages.

   ok jmatthew@
VersionDeltaFile
1.22+22-21usr.sbin/ldapctl/ldapctl.c
+22-211 files

OpenBSD/src MzcTdjIusr.sbin/ldapd imsgev.c

   Switch ldapd to imsgbuf_get and adjust the type of 'n' to int.

   OK jmatthew@
VersionDeltaFile
1.14+3-3usr.sbin/ldapd/imsgev.c
+3-31 files

OpenBSD/src K0Yn3rWregress/usr.bin/ssh Makefile

   disable pubkey-priority test until I can fix it to not pick up the
   user's keys from ~/.ssh
VersionDeltaFile
1.146+1-2regress/usr.bin/ssh/Makefile
+1-21 files

OpenBSD/src JHWjqibregress/usr.bin/ssh pubkey-priority.sh

   Fix expected output for implicit ordering test.  ok djm@
VersionDeltaFile
1.2+3-3regress/usr.bin/ssh/pubkey-priority.sh
+3-31 files

OpenBSD/src IU0zUBUlibexec/getty gettytab.5

   gettytab(5): man page fixes

   - add missing "ab" capability
   - "ps" is for a Develcon port selector, not MICOM port selector
   - the "uc" capability is still supported (kind of)
   - document the historical "td" capability
   - document the historical "he" capability
   - split the unsupported section into delay capabilities and others
   - since all the historical delay capabilities are unsupported we can
     delete the paragraph in BUGS that references them
   - for the same reason, the paragraph talking about delays being in
     milliseconds can also be deleted

   tweaks and ok jsg@
VersionDeltaFile
1.30+15-18libexec/getty/gettytab.5
+15-181 files

OpenBSD/src IGY7XnHinclude math.h

   math.h: replace a standards placeholder with an official version

   guenther@ also points out these are XSI extensions and so we should
   adjust from __POSIX_VISIBLE to __XPG_VISIBLE.

   ok guenther@ (some time ago), ok sthen@
VersionDeltaFile
1.37+3-3include/math.h
+3-31 files

OpenBSD/src AsnLcHvusr.bin/tmux cmd-join-pane.c

   Check for floating only for flags that require a floating pane, reported
   by Ilya Grigoriev.
VersionDeltaFile
1.74+12-14usr.bin/tmux/cmd-join-pane.c
+12-141 files

OpenBSD/src 9vq7sndusr.bin/tmux tmux.h control.c

   Do not let a stuck client prevent the server from exiting - give up
   after 10 seconds. GitHub issue 5444 from Ben Maurer.
VersionDeltaFile
1.501+46-3usr.bin/tmux/server-client.c
1.64+18-1usr.bin/tmux/control.c
1.1421+4-1usr.bin/tmux/tmux.h
+68-53 files

OpenBSD/src LoqZt3Nusr.sbin/ripd control.c ripe.c

   imsgbuf_get() returns int, so adjust the type of 'n' to int.

   In most cases n is used for imsgbuf_get() and imsgbuf_read(), both
   calls return int.

   OK tb@ kirill@
VersionDeltaFile
1.33+4-6usr.sbin/ripd/rde.c
1.39+3-5usr.sbin/ripd/ripe.c
1.46+3-5usr.sbin/ripd/ripd.c
1.36+2-3usr.sbin/ripd/control.c
+12-194 files

OpenBSD/src MQ5HHTLusr.sbin/ospf6d control.c rde.c

   imsgbuf_get() returns int, so adjust the type of 'n' to int.

   In most cases n is used for imsgbuf_get() and imsgbuf_read(), both
   calls return int.

   OK tb@ kirill@
VersionDeltaFile
1.99+3-5usr.sbin/ospf6d/rde.c
1.63+3-5usr.sbin/ospf6d/ospf6d.c
1.40+2-3usr.sbin/ospf6d/control.c
+8-133 files

OpenBSD/src TEJuQtBusr.sbin/ospfd control.c rde.c

   imsgbuf_get() returns int, so adjust the type of 'n' to int.

   In most cases n is used for imsgbuf_get() and imsgbuf_read(), both
   calls return int.

   OK tb@ kirill@
VersionDeltaFile
1.121+3-5usr.sbin/ospfd/rde.c
1.127+3-5usr.sbin/ospfd/ospfd.c
1.56+2-3usr.sbin/ospfd/control.c
+8-133 files

OpenBSD/src 0HoDE0Nusr.sbin/ldpd control.c ldpd.c

   imsgbuf_get() returns int, so adjust the type of 'n' to int.

   In most cases n is used for imsgbuf_get() and imsgbuf_read(), both
   calls return int.

   OK tb@ kirill@
VersionDeltaFile
1.81+3-5usr.sbin/ldpd/ldpd.c
1.86+3-5usr.sbin/ldpd/lde.c
1.40+2-3usr.sbin/ldpd/control.c
+8-133 files