SchOS/cmd
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz a4fbdb7437 epoll, eventfd, timerfd, signalfd
The set libwayland's event loop is made of, in kernel/sys/sys_event.c:
four kinds of descriptor with no inode, FD_EVENT, that read() drains
and poll() reports on. They were table entries returning ENOSYS that
read as done.

epoll registers (descriptor, file) pairs, so a closed descriptor
leaves the set; level- and edge-triggered, EPOLLONESHOT. Waiting is
poll()'s, a tick at a time. The old eventfd and signalfd numbers (284,
282) were aliased to the new calls and read flags from a garbage
register; they are their own entries now, with epoll_create and
epoll_pwait.

cmd/evtest checks each, then all four in one set. The plans are
brought up to date: everything Wayland was waiting on is built except
setsockopt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S1giNvrHTrPMPw7V6x1kQ4
2026-10-24 10:59:52 +02:00
..
chvt include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
dynhello exec, mmap, musl: dynamic linking 2026-10-24 10:59:52 +02:00
evtest epoll, eventfd, timerfd, signalfd 2026-10-24 10:59:52 +02:00
fbinfo include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
httpd include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
hwreport include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
inputtest include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
ldlsd include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
loadkeys include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
memfdtest include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
netecho include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
nettest include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
pcitest include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
ping include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
reflink include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
resolvconf bug pass: whole console lines, a quiet SCI, an honest reserve warning 2026-10-23 16:03:33 +02:00
schattr include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
schdbg include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
schdbgd include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
schinit bug pass: whole console lines, a quiet SCI, an honest reserve warning 2026-10-23 16:03:33 +02:00
schinitd bug pass: whole console lines, a quiet SCI, an honest reserve warning 2026-10-23 16:03:33 +02:00
schmode include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
shmtest include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
sigtest include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
socktest include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
tone include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
vgpud bug pass: whole console lines, a quiet SCI, an honest reserve warning 2026-10-23 16:03:33 +02:00