Skip to content

laboon 0.2.0

Choose a tag to compare

@github-actions github-actions released this 24 Nov 08:37
· 513 commits to main since this release

Changelog

  • 8ed139b ci: test the packages where they now live, and gofmt what drifted
  • 961adfa stub/windows: the fault-dirt wipe stops at the faulting sp
  • aedd299 windows: stdout and stderr to one writer share one pipe
  • 965892c windows: a pipe end's shutdown leaves a read it cannot cancel to close it
  • 1084651 darwin/amd64: a library's %fs sites move to islands before its text first runs
  • df41393 stub/macos: the HVF kick handler leaves hv_vcpus_exit to a kicker thread
  • c7ca69f sandbox: a ready epoll event keeps the data it was taken with
  • 0ae50b4 stub/macos: an x86-64 sigreturn closes the kicks before it clears busy
  • 576f01d oci: an image is unpacked in place under its lock, never renamed in
  • 3322401 sandbox: the BTI remap test reads mmap and mprotect by name in the trace
  • eb4eaa0 sandbox: no mapping is placed on a stack its exiting thread still runs on
  • 57c9274 namespace: the test directory filesystem reads a Windows link target with slashes
  • 4c7cb00 namespace: a path that is not there is cached as missing
  • b38e817 hostfs: a lookup under a root in the temp directory is cached
  • 5527dc4 sandbox: a failed darwin execve traces only when the run traces
  • 7ebd775 sandbox: Config.Trace traces every guest syscall the supervisor serves
  • 206ab54 sandbox: a sent datagram kept past the call is a copy
  • b08a1c8 oci: windows unpack writes small files several at once
  • 41893af oci: a layer download that breaks off is fetched again
  • d00c039 scripts: dotnet is no longer a deferred sweep image
  • 5a3947b oci: a pull downloads each layer once
  • e0535e6 oci: a cache entry left without its config is unpacked again
  • 6784f78 rewrite: an %fs island starts where the stub is told it does
  • 91a00e6 stub/macos: emulate 16-bit %fs immediates and push/pop/call/jmp
  • c3a85ed sandbox: a read past one chunk keeps each chunk's bytes
  • 97d9df9 hostfs: a lookup waits out a create of the same name
  • dd70552 sandbox: ending a slot keeps a thread's unread gone notice
  • 0565087 stub/windows: a guest thread ends without ntdll's thread shutdown
  • 3b7740f stub/macos: patch %fs sites through a writable alias
  • 9b45763 stub/macos: x86-64 %fs islands under stale code, forks and kicks
  • 5ae5c73 darwin: HVF guests get Linux's signal edges
  • d3ec77a windows: an unrandomized layout is the same at every execve
  • 8ae5d02 testdata: fp-preserved reports a handler that never ran apart
  • c7f9ee2 stub/macos: x86-64 W^X code, recorded traps and %fs islands
  • 9fc8242 windows: a shared file mapping follows its file's size
  • 32fa4a3 stub/macos: the HVF stub serves a ptrace force-poke
  • a8bae6f darwin: ptrace on x86-64 guests
  • 7504acf darwin: a host wait ends when pid 1's stub is gone
  • 03de3e4 stub/macos: smaps counts a Rosetta task's 4 KiB host pages
  • 71a9be6 stub/macos: x86-64 kicks reach a thread in a stub-local wait
  • 640b743 stub/macos: x86-64 shared file pages past the file's end raise SIGBUS
  • 592ece6 stub/macos: x86-64 epoll_wait and preadv2 measure the guest's output buffer
  • c7dffca stub/macos: x86-64 fork and clone children keep the FP/SSE/AVX state
  • 663f868 stub/macos: x86-64 low reserve serves fork, munmap, brk and MAP_32BIT
  • 3dce882 darwin: x86-64 non-PIE programs load at their link address
  • 0c3d4d0 stub/macos: x86-64 guests under Rosetta run past their first write
  • b3a7969 stub/macos: a fork leaves the host's memory in the guest's window alone
  • cbf63b1 sandbox: darwin x86-64 epoll events and fork past host regions
  • c349df4 sandbox: windows placement past what the host holds
  • f67fbea sandbox: a windows thread checking in under a job stop is held
  • 9353195 sandbox: a single-step from a syscall-entry stop runs the call, then traps
  • ff6116c sandbox: ptrace as Linux has it on darwin and windows
  • e8b764e sandbox: a darwin job stop of several threads is held by its threads
  • 90874e1 sandbox: a Linux address-space layout on windows
  • c768b4a sandbox: a Linux address-space layout on darwin
  • c1f044f sandbox: pipes on darwin are the supervisor's
  • 97da38c sandbox: a fork's rseq handoff leaves the fork reply intact on darwin
  • 95e2e8f sandbox: SOCK_SEQPACKET sockets from socket() on darwin
  • 147bda9 sandbox: restartable sequences on darwin and windows
  • 4c91985 sandbox: an x86-64 guest on darwin execs
  • aadb26f sandbox: syscalls in run-time code keep the red zone on windows x64
  • b934a99 sandbox: a vDSO moved on darwin still runs
  • c2f3a1d sandbox: glibc signal handlers return on windows arm64, JIT syscalls keep the stack
  • b12e730 sandbox: a vDSO on darwin and windows
  • 82ab114 sandbox: CPU-time clocks read the host thread or process behind the guest's
  • 4086f64 sandbox: getcpu names a CPU of the thread's affinity on darwin and windows
  • c015b5f rewrite: an %fs instruction too short for a jmp gets an island too
  • 839e6ea sandbox: a guest's seccomp filters on darwin and windows
  • ccd3063 sandbox: the virtual network between namespaces on windows
  • fb6f3c6 hostfs: a kept layer keeps symlinks, fifos and modes on windows
  • fac1345 sandbox: CLONE_VFORK holds a forking parent on windows
  • 0925f5d sandbox: fstatfs and executable mappings of tmpfs files on windows
  • 34bca20 sandbox: AF_UNIX credential messages on windows
  • cfab2fa sandbox: an exec from a non-leader thread keeps the process whole
  • e70d9e3 sandbox: every test runs on every platform
  • 7f73aec sandbox: the same guest behavior on linux, darwin and windows
  • a7a2df5 sandbox: a tmpfs is the same filesystem wherever it is mounted
  • 893683f sandbox: a run with no root sees nothing of the host's
  • 4b82441 namespace: the guest walks paths in the Namespace
  • d6614fb sandbox: a terminal is the device its path resolves to
  • dd0fedb sandbox: recognize a namespace bind source by its node, not its name
  • 78fb61f sandbox: a new file is never seen before its owner is recorded
  • 6a3c7aa sandbox: serve /proc, /sys, /dev and cgroup2 by the mount over a path
  • 8e2998c hostfs: an image layer loads and persists its own metadata sidecar
  • 7fbb01d sandbox: back synthetic directory fds with the run's own empty directory
  • a367ff9 sandbox: chroot confines every path walk
  • 24165be sandbox: a guest overlay mount takes its layers from the Namespace
  • e8684ab vfs: AF_UNIX names belong to the filesystem that holds them
  • 33f24a3 sandbox: make /dev/shm through the Namespace
  • 283fbbf darwin: resolve the run's program through the Namespace
  • f69d64b sandbox: a host regular file is its core.File, with no descriptor of its own
  • ca75f71 filesystems: gofmt the SetAttr stubs
  • 7e7bb9f windows: O_TRUNC with O_APPEND truncates through a write handle
  • 7f12e71 sandbox: host regular files read and write at laboon's offset
  • 10dab38 sandbox: probe file-offset and append semantics of open regular files
  • 9c45ac9 vfs: route fd-level metadata through core.File, not a raw *os.File
  • 830bd82 darwin/amd64: x86-64 stub uses 4 KiB pages (Rosetta's real granularity)
  • 05a0ea9 Merge darwin x86-64 stub port + native cross-arch supervisor
  • 8a2dbd5 darwin: host an x86-64 guest from a native arm64 supervisor
  • 5b6e852 darwin/amd64: raise the guest's SIGPIPE on EPIPE
  • 6366a44 darwin/amd64: run guest fork end-to-end
  • 2b09912 test: admit getcpu and rseq in the seccomp filter expectations
  • dcb6aea darwin/amd64: record the threads/signals status and the fork env block
  • 7c2b4b3 darwin/amd64: deliver signals to the x86-64 guest
  • f11bd41 darwin/amd64: run guest threads end-to-end
  • d69f7ed darwin/amd64: virtualize the guest's %fs TLS
  • 334be68 darwin/amd64: translate the x86-64 guest syscall ABI
  • 7f0cf1c darwin/amd64: record the wrfsbase-under-Rosetta finding and the %fs plan
  • 64e5d46 darwin/amd64: record the running status and the syscall-ABI worklist
  • 71c0938 darwin/amd64: run the x86-64 guest end-to-end through the trap core
  • bfc9c79 darwin/amd64: build and embed the stub per guest architecture
  • 51fb010 darwin/amd64: the x86-64 stub now compiles and links
  • dabccae darwin/amd64: gate arm64-only paths and port the core syscall asm
  • c5308b8 darwin/amd64: rebuild stub.bin for the serve-path symbols
  • 1ac44da darwin/amd64: record the serve-path status and the compile worklist
  • 0edbf42 darwin/amd64: wire the x86-64 ud2 syscall serve path
  • ca27bab darwin/amd64: correct the x86-64 trap-core design to ud2+SIGILL
  • cf1f6f7 darwin/amd64: build the x86-64 Linux rt_sigframe in deliverOnto
  • 8532ab1 darwin/amd64: port the self-contained fault leaf functions
  • c7835ed darwin/amd64: arch-split fromMc/toMc for the x86-64 mcontext
  • 74da907 darwin/amd64: arch-split the Ctx and TraceRegs register images
  • 389728a darwin/amd64: route sig.zig's fault-handler spine through tstate
  • e4a113d test: admit getcpu and rseq in the seccomp filter expectations
  • e7820b6 darwin/amd64: add the mcontext arch seam and the port plan
  • ad7a15b oci: fix the windows round-trip and refcount gaps
  • 015337c hostfs: fill the windows stat gaps — nlink, sub-floor mode, hardlink
  • 8e284e2 sandbox: fstat a mknod'd device and a directory through its vfs node
  • 7b3cde3 test: restore the shared hello.c guest; fix stat-interface test fallout
  • 44afb2b darwin: zero x0 at guest entry so glibc static-PIE guests run
  • 3ef75e8 vfs: build the guest stat from the File/Node interface
  • 0c4c5b2 winfs: move to public filesystems/winfs
  • c6d1a35 sandbox: run on the clean overlayfs; delete the old overlay
  • bbca2b7 oci: collapse the image-FS API to (*Image).Layers()
  • 1a3f79d oci: add PullFS/RunFS/LookPathFS for running an image as a filesystem
  • e3bd6b5 laboon: back the public Overlay with the clean overlayfs
  • cad81a0 test: run a real binary from an oci.ImageFS image, no extraction
  • 5882f0a oci: add ImageFS, composing an image as a filesystem without extraction
  • e8644f2 hostfs: add DiskFS, a faithful writable host-dir top for image composition
  • 0b8f446 vfs: move the host-dir backends to filesystems/hostfs
  • bfd37b1 vfs: split the filesystem into public core/ and filesystems/ packages
  • 5fd544f vfs: add OverlayFS, a sandbox-free copy-on-write union
  • a69e98e vfs: add TarFS, a read-only lazy FileSystem over a layer tar
  • 202ecc5 fs: follow a final exec symlink on a non-host root
  • 61933bd oci: make the image store importable; add Local, Remove and Sweep
  • 0f07ced fs: prompt msync write-back and eviction for a non-host MAP_SHARED on Windows
  • 1b81220 fs: writable MAP_SHARED of a non-host file on Windows
  • 2df6d1d fs: evict a non-host file's MAP_SHARED backing on macOS once nothing maps it
  • 2d56823 fs: write a non-host file's MAP_SHARED backing back on msync (macOS)
  • 8098c49 fs: writable MAP_SHARED of a non-host file on macOS
  • d5697f0 fs: evict a MAP_SHARED backing once nothing maps it
  • 2e8a7d8 fs: make the MAP_SHARED backing authoritative; fix pread/pwrite of a non-host file
  • 85895b8 fs: coherent writable MAP_SHARED of a non-host file
  • 7c080df fs: compose the guest filesystem from vfs.FileSystem backends
  • f92c6a3 fix: route /dev/shm tmpfs to a host-backed mount so MAP_SHARED works
  • 24b217d refactor: fstat and fallocate dispatch through the backing
  • 043e882 refactor: mmap dispatches through the backing, host fd hidden
  • 3647ee1 refactor: migrate sendfile to regFile; drop hostFd; remove dead memFS hardcodes
  • 3fe8c2e refactor: serve memFS regular files through the regFile interface
  • 55649fd refactor: regFile interface for regular-file content (foundation)
  • 4c45cf1 chore: go.work.sum for the examples workspace deps
  • 450e97d feat: composable filesystems — mount any vfs.FileSystem, in-memory tmpfs
  • 2288bba test: point internal testdata refs at the repo-root testdata
  • 5fb67db docs: README install instructions (Homebrew, Scoop, release downloads) + release badge
  • 5b42653 ci: enforce gofmt, cache modules per cmd module, bump checkout to v5
  • 9307daa chore: gofmt the tree to the go 1.27 standard (comment alignment)