SchOS/include
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz 3676036762 Netlink datagrams can be measured, credentials name their sender
Epiphany's main thread spun at 100% on GLib's network monitor. GLib
sizes each netlink datagram with recvmsg(MSG_PEEK|MSG_TRUNC) and no
buffer; that answered 0, GLib read 0 bytes, the answer stayed queued and
poll() said readable again, forever. recvmsg on netlink now peeks
without consuming and with MSG_TRUNC returns what is waiting. A drained
netlink socket also no longer reports hangup -- it has no peer, and
sock_hup took that for a closed one.

SCM_CREDENTIALS under SO_PASSCRED named the process that created the far
end, not the one that wrote to it. For a socketpair those differ: WebKit
makes the pair, hands one end to a child, and learns the child's pid
from the credentials on its first byte. Each end now records its last
writer.

LDLS: napi_consume_skb frees the skb. r8169 frees every sent frame with
it, and as a stub it leaked one per frame until the DMA heap ran out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S1giNvrHTrPMPw7V6x1kQ4
2026-10-25 14:58:14 +01:00
..
arch Keyboard lights, TLB shootdowns, battery in sysfs, /proc/pid/maps 2026-10-25 13:43:27 +01:00
core Netlink datagrams can be measured, credentials name their sender 2026-10-25 14:58:14 +01:00
dev Linux's own r8169 through LDLS, deep idle, and the GPU plan 2026-10-25 14:26:16 +01:00
fs Pseudo-terminals, and what tmux and htop needed around them 2026-10-25 02:11:10 +01:00
gfx qr: every version, 1 to 40 2026-10-25 00:43:36 +02:00
gmmos GMMOS: USB keyboards on xHCI 2026-10-25 01:23:14 +02:00
ldls ldls: the top-2 GB window Linux modules link against 2026-10-24 22:12:40 +02:00
net Netlink datagrams can be measured, credentials name their sender 2026-10-25 14:58:14 +01:00
uapi Demand paging, the RTL8168H, links that come up late, and Ctrl+Alt+F1..F12 2026-10-25 11:27:48 +01:00