SchOS/include/dev
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz 2372806862 Job control, function keys, and real sleeps
- SIGSTOP/SIGTSTP/SIGTTIN/SIGTTOU stop, SIGCONT resumes; the parent gets
  SIGCHLD and wait4 reports WUNTRACED/WCONTINUED; ps shows T. Ctrl-Z works,
  and mc no longer hangs waiting for its subshell to stop.
- Blocking reads (console, pty, pipe) and sleeps take a pending stop and
  carry on after SIGCONT; a caught signal without SA_RESTART ends them
  with EINTR.
- nanosleep reads tv_nsec (sleep 0.5 used to return at once), writes the
  remainder, and clock_nanosleep understands TIMER_ABSTIME.
- rt_sigaction uses the k_sigaction layout for Linux-ABI processes: the old
  action's restorer was written 112 bytes past the caller's struct. Flags
  are kept; SIGKILL and SIGSTOP cannot be caught.
- F1..F12 reach programs, as the Linux console sends them (PS/2, USB, I2C).
- TIOCLINUX subcode 6 answers "no modifiers" instead of echoing the 6 back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S1giNvrHTrPMPw7V6x1kQ4
2026-10-25 02:37:45 +01:00
..
acpi.h i2c-hid on a stack of its own; PSOGM powers off after three minutes 2026-10-25 00:21:39 +02:00
audio.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
device.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
hid.h GMMOS: I2C keyboards, and every keyboard at once 2026-10-25 01:15:50 +02:00
input.h input, fb, vt, sysfs: the kernel calls Xorg makes 2026-10-24 12:06:04 +02:00
kbd.h Job control, function keys, and real sleeps 2026-10-25 02:37:45 +01:00
keymap.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
netdev.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
pci.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
pciuser.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
pty.h Pseudo-terminals, and what tmux and htop needed around them 2026-10-25 02:11:10 +01:00
usb.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
virtio.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
vt.h Pseudo-terminals, and what tmux and htop needed around them 2026-10-25 02:11:10 +01:00