Import nextcloud-34.0.0
Comment:
easy and universal access to shared and/or personal files
Description:
Access, share and protect your files, calendars,
contacts, communication & more at home and in your enterprise
Maintainer: Gonzalo L. R. <gonzalo at openbsd.org>
WWW: https://nextcloud.com/
OK landry@
iked: Avoid stack exhaustion by unbounded recursion
Problem found and patch supplied by mfriedl at genua.de. Similar
report from zhangph12138 at 163.com, thanks!
ok markus@
sys/uvm: fix amap lock order during swapoff
amap_wipeout() removed the amap from the global list while holding
amap->am_lock. swapoff walks that list as amaplstlk -> amaplk, while the
last unref path could establish the reverse order through
amap_wipeout(), producing a witness lock order reversal when disabling
swap.
OK: renaud@
Copy over iked's proc.c, with the addition that proc_run()'s run argument
is called after IMSG_CTL_PROCREADY is handled. This addition makes sure
that run() can drop recvfd pledge if the process itself doesn't need it,
and data can be send to peers immediately.
Help from, and ok jmatthew@
sys/vio: align receive buffers
vio removes the virtio net header before handing packets to the Ethernet
input path. With the 12 byte modern virtio net header this leaves the
Ethernet frame at an address where the following IP header is not 32 bit
aligned; armv7 traps on the resulting unaligned access while processing
DHCP traffic.
OK: dlg@