SchOS/tools/posix
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz 393bf674f5 NetSurf: what GTK's images and libcurl's resolver needed
NetSurf (GTK 3) now starts under X and loads pages over HTTPS. Every icon
GTK draws goes gdk-pixbuf -> glycin -> a loader process -> a sealed memfd
-> GMappedFile, and each hop found something missing:

- mkaroot runs Alpine's package triggers in the root under bubblewrap.
  --no-scripts had skipped them, so there was no MIME cache, pixbuf loader
  list, compiled GSettings schemas, GIO module cache, font cache or busybox
  applet links.
- /usr/bin/bwrap is a stand-in that parses bubblewrap's options and runs
  the program with no sandbox: glycin starts its loaders only through bwrap,
  and real bwrap needs namespaces. schos-base replaces bubblewrap for it.
- ioctl: FIOCLEX, FIONCLEX, FIONBIO and FIOASYNC on any descriptor (Rust's
  std uses them; pipes and sockets answered ENOTTY).
- capget/capset: root has every capability, others none.
- socketpair accepts SOCK_DGRAM and SOCK_SEQPACKET, carried as a stream.
- waitpid and setpgid match children against the thread group leader, so a
  thread can wait for the process it spawned (ECHILD before).
- memfd: fstat reports the ftruncate length, not the page-rounded one; file
  seals (F_ADD_SEALS, F_GET_SEALS, MFD_ALLOW_SEALING) are recorded and
  enforced on later writes, truncation and writable mappings; MFD_CLOEXEC
  is honoured; read-only MAP_PRIVATE maps are allowed.
- recvfrom honours O_NONBLOCK and MSG_DONTWAIT. musl's resolver reads its
  socket until EAGAIN and blocked for ever after the first DNS answer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S1giNvrHTrPMPw7V6x1kQ4
2026-10-25 04:10:26 +01:00
..
alpine-lock.sh build: an apk-managed root, with SchOS as a package 2026-10-24 15:28:32 +02:00
memory-sync.sh tools: group scripts by what runs them 2026-08-09 14:38:02 +02:00
mkaroot.sh NetSurf: what GTK's images and libcurl's resolver needed 2026-10-25 04:10:26 +01:00
mkdisk.sh storage: AHCI, GPT/MBR partitions, and a disk a PC can boot 2026-10-22 10:57:41 +02:00
mkiso.sh SCFF: the live root ships compressed, with Xorg and Window Maker 2026-10-24 21:17:31 +02:00
mktree.sh tools: group scripts by what runs them 2026-08-09 14:38:02 +02:00
mutate.sh tools: scripts that run from anywhere, and a mutation test that ran nothing 2026-08-11 10:39:58 +02:00
release.sh tools: release.sh publishes the ISO, and keeps only the newest one 2026-10-24 22:11:01 +02:00
schcom_test.sh licence: SchOS is GPL-2.0-or-later, no longer Apache-2.0 2026-10-22 08:48:45 +02:00
schfs_roundtrip.sh licence: SchOS is GPL-2.0-or-later, no longer Apache-2.0 2026-10-22 08:48:45 +02:00
setup-fedora.sh Prepare for the move to Fedora 2026-08-09 17:25:07 +02:00
sha256check.sh tools: group scripts by what runs them 2026-08-09 14:38:02 +02:00