SchOS/cmd
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz 54b25708c3 Demand paging, the RTL8168H, links that come up late, and Ctrl+Alt+F1..F12
- Anonymous memory can be reserved without being backed: large mappings,
  MAP_NORESERVE and PROT_NONE are recorded and each page appears, zeroed,
  on first touch -- from trap() for the program, from uva2ka() for the
  kernel on its behalf. WebKit reserves 4 GB at start and touches a sliver;
  backing it all failed with ENOMEM and Epiphany aborted.
- r8169: the 8168G generation and later (the laptop's 8168H, XID 541) are
  taken from the firmware's out-of-band mode, get their PLL powered, the
  receive gate opened, and their PHY reached through the OCP window. The
  PHY's power-down bit is cleared; the old code kept it while restarting
  autonegotiation. Untested on the hardware so far.
- The network thread follows each device's link into lwIP. The link was
  read once at attach, 0.02 s into boot; real autonegotiation takes
  seconds, so on hardware the interface stayed down for good.
- Twelve terminals, switched with Ctrl+Alt+F1..F12 by default: the keys X
  uses, so the console and the desktop agree. AltGr+F-key is gone from
  the defaults (chvt -c altgr+F brings it back).
- SO_PASSCRED on Unix sockets, with SCM_CREDENTIALS delivered by recvmsg.
  WebKit sets it on its IPC sockets and aborted when refused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S1giNvrHTrPMPw7V6x1kQ4
2026-10-25 11:27:48 +01:00
..
chvt Demand paging, the RTL8168H, links that come up late, and Ctrl+Alt+F1..F12 2026-10-25 11:27:48 +01: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
locktest flock, fcntl record locks 2026-10-24 12:22:36 +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 build: an apk-managed root, with SchOS as a package 2026-10-24 15:28:32 +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
xready input, fb, vt, sysfs: the kernel calls Xorg makes 2026-10-24 12:06:04 +02:00