After file descriptor exhaustion, syslogd keeps using TLS.
In case file descriptors are nearly exhausted, syslogd does not
accept(2) new connections, but keeps a reserve. After such an
event, TLS listen sockets switched to regular TCP behavior. This
allowed unauthenticated log data to come in and prevented further
TLS connections.
from Acts1631
Add R key to rename in tree mode, and -n flag to rename-window,
rename-session, select-pane to skip expanding formats in new names or
titles. From Michael Grant.
Use maxfiles as global queue limit for listen sockets.
Sockets on the listen queues have no file yet and were not limited
by kern.maxfiles. A local user could fill the queues of many UNIX
listen sockets with disconnected children and exhaust kernel memory.
Count the queued TCP and UNIX sockets globally and refuse new
connections when they exceed maxfiles. Each queued socket would
become a file after accept(2) anyway.
from Acts1631; OK mvs@
Add support for post 2038 times for inode atime, mtime, and ctime. This
gives us 2 extra bits for epoch seconds, and adds nanosecond precision.
This means we don't have to worry up to 2446.
OK miod@
pf(4) relax NET_LOCK() in pfioctl() for commands that don't need exclusive access
the NET_LOCK() can be relaxed to shared lock for those ioctl commands:
DIOCGETRULES, DIOCGETRULE and DIOCGETSYNFLWATS
patch submitted by Michael Riexinger (michael _at_ riexinger -dot- org)
OK bluhm@, OK sashan@
Fix a race when two stop signals are delivered concurrently
For multithreaded processes it is possible that two stop signals are
delivered concurrently (or close enough so that both threads enter
cursig's stop handling). There is a window between the check in userret
and the cursig handler where two threads can race.
Recheck the stop condition using proc_suspend_check_locked at the start
of the cursig stop transaction to close the race. This is similar to
what is done in proc_trap.
Reported by Acts1631
Enable qcgcc(4), qcgeniqup(4), islchg(4) and sampdic(4), and let
qcgeniqup(4) take over the Qualcomm GENI attachment from simplebus(4).
Together with the preceding commits this makes battery charging work
on the Samsung Galaxy Book4 Edge after the USB-C power cable is
re-plugged, rather than only when the machine boots with it already
attached.
ok kettenis@
Add new sampdic(4) driver for the Samsung S2MM006 Power Delivery
Integrated Circuit (PDIC), a USB Type-C port controller found on
Samsung laptops.
ok kettenis@
Add new qcgeniqup(4) driver for the Generic Interface (GENI) based
Qualcomm Universal Peripheral (QUP) wrapper found on the Qualcomm
Snapdragon X1E80100 SoC. The wrapper's AHB clocks must be enabled
before any of its serial engines can be used, i2c20 among them.
ok kettenis@
Add new qcgcc(4) driver for the Global Clock Controller (GCC) found on
the Qualcomm Snapdragon X1E80100 SoC. Only the QUPV3 WRAP2 clocks are
implemented, which is what i2c20 needs; the firmware leaves them off
because it never uses that bus itself.
ok kettenis@
Add pinctrl support for qcgpio(4). For now only the two pins the i2c20
serial engine needs, gpio80 and gpio81, are supported. That bus carries
the ISL9241 battery charger.
ok kettenis@