SchOS/include/core
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz a4ed556543 kernel: timers that fire, raw ping, and the sockets X needs
alarm() and setitimer() stored a countdown nothing counted down, so no
timer has ever fired; setitimer and getitimer were also registered with
no Linux number. alarmd now posts SIGALRM on the tick, while any process
has a timer armed. busybox's ping, /bin/ping on the Alpine root, sends
every request after the first from its SIGALRM handler.

It also opens SOCK_RAW, which was EPROTOTYPE. A raw ICMP socket is now a
ping socket whose reads start at the IP header. And a blocked socket
call gives up for a signal with a handler, not only for a kill: the
alarm woke recvfrom, and the wait put it straight back to sleep.

For Xorg: AF_UNIX abstract names, which read as the empty path and so as
EADDRINUSE ("server already running"); and getsockname and getpeername,
which did not exist, so libxcb sent no cookie and the server refused
every client.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S1giNvrHTrPMPw7V6x1kQ4
2026-10-24 19:44:10 +02: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 kernel: timers that fire, raw ping, and the sockets X needs 2026-10-24 19:44:10 +02: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 include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
kmem.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
param.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
proc.h kernel: timers that fire, raw ping, and the sockets X needs 2026-10-24 19:44:10 +02: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