SchOS/include/core
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
..
config_sinit.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
date.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
dbg.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
defs.h Netlink datagrams can be measured, credentials name their sender 2026-10-25 14:58:14 +01:00
dma.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
elf.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
hwinfo.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
irq.h irq: turn a PS/2 line over when its device waits and nothing comes 2026-10-24 11:10:29 +02:00
klog.h GMMOS: the Guru Meditation Micro OS, alive under the PSOGM 2026-10-25 01:11:04 +02:00
kmem.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
param.h Pseudo-terminals, and what tmux and htop needed around them 2026-10-25 02:11:10 +01:00
proc.h Keyboard lights, TLB shootdowns, battery in sysfs, /proc/pid/maps 2026-10-25 13:43:27 +01:00
sbuf.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
sleeplock.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
spinlock.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
syscall.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
types.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
uaccess.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00