SchOS/kernel/fs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz 1ba93dde2c kernel: syscalls get the whole kernel stack
syscall_entry put the frame at kstack + 4096 - 16, from when a kernel
stack was one page. It has been two since, so every syscall ran in the
bottom 4 KB while traps used the top, and a deep enough read -- startx
exec'ing through the new compressed ramdisk -- ran over the canary at
kstack[0]. The frame now sits at the top of KSTACKSIZE, where allocproc
and the TSS already put it, and exec's user-rsp slot moves with it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S1giNvrHTrPMPw7V6x1kQ4
2026-10-24 21:17:02 +02:00
..
fat include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
schfs ramdisk: the live root grows into half of memory 2026-10-24 17:20:43 +02:00
devfs.c X on the console: /dev/tty0, a palette, and startx that works 2026-10-24 19:44:10 +02:00
exec.c kernel: syscalls get the whole kernel stack 2026-10-24 21:17:02 +02:00
file.c kernel: HTTPS through wget, half-close, and /proc/<pid>/fd 2026-10-24 20:28:03 +02:00
fs.c kernel: chroot, #! scripts, rename and mmap as apk needs them 2026-10-24 15:28:32 +02:00
lock.c flock, fcntl record locks 2026-10-24 12:22:36 +02:00
log.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
pipe.c kernel: HTTPS through wget, half-close, and /proc/<pid>/fd 2026-10-24 20:28:03 +02:00
procfs.c kernel: HTTPS through wget, half-close, and /proc/<pid>/fd 2026-10-24 20:28:03 +02:00
sysfs.c input, fb, vt, sysfs: the kernel calls Xorg makes 2026-10-24 12:06:04 +02:00