Skip to content

Releases

laboon 0.5.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 15:02

Changelog

  • c0be667 sandbox/windows: a fault the host cannot deliver ends the guest by its signal
  • 8068d83 sandbox: the backstop tests name the program's argv, which Windows needs
  • 334c198 windows: a PT_LOAD with nothing in memory maps nothing
  • a8dcc79 sandbox: a raw syscall at program entry meets the backstop
  • caa0892 stub/macos: NoRewrite leaves anonymous code's syscalls raw too
  • 2b0d46b darwin: a cancelled run's kill is not the syscall backstop's
  • beaf704 darwin: a syscall that reaches Darwin unrewritten kills the guest
  • db895e7 hostfs: test the sidecar id lister on every host, and benchmark a copied root's sidecar
  • 3f5d381 hostfs: LoadSidecar finds ids from one listing per directory on Windows
  • cb6009f sandbox: re-arming or deleting a timer stays atomic across its wait
  • f50d09d sandbox: a disarmed timer sends nothing after setitimer returns
  • 1a9bd77 testdata/m3sig: fp check spins until the timer has hit, not for a clock window
  • 96e70a3 DESIGN-4k-pages: a page's own store runs out of line, MAP_JIT only for exclusives
  • c24e0fc sandbox: TestOwnCall, a call into its own page with its stack there
  • 67dc9e4 stub/macos: an own-page call runs as its push; an own store keeps its traps
  • a281e24 stub/macos: a page made MAP_JIT runs only once its bytes are back
  • e9799a0 testdata: ownsyscall checks a result only the guest's syscall gives
  • 42ed930 stub/macos: code writing its own page runs the store out of line
  • 0536fbb build: TestCopyFromStageSymlink also copies a whole stage root
  • 879b2ee tests: symlinks across ApplyTo, CopyTree, RUN and COPY --from
  • 7921242 build: COPY --from reads a stage's root through its sidecar
  • 178a72f hostfs: DiskFS keeps a symlink's Linux target on Windows too
  • 9fd01a3 hostfs: a layer's host symlink reports mode 0777
  • d7083de hostfs: report a symlink's Linux target on Windows through every path
  • 64db918 scripts/guests.sh: record each part's commit in its own STAGED file
  • 686f555 testdata/signals: drop the fp-handled check the spin loop already makes
  • d711225 build: the cache-format test seeds keys as a pre-format laboon wrote them
  • dd8f3ec scripts/guests.sh: record the commit a staging came from; a missing guest names it
  • b15c263 testdata/signals: fp check spins until the timer has hit, not for a clock window
  • 41f159f build: key cached layers by a cache format, so an older laboon's layers miss
  • 16134fc DESIGN-4k-pages: the high ET_EXEC fork is fixed and tested
  • 71b9d18 sandbox: TestPage4KHigh runs page4k linked far above 4 GiB on darwin/arm64
  • 3e28a00 stub/macos: a fork copies the islands after an image below the guest window
  • 331b1d4 DESIGN-4k-pages: emulated straddle pages, HVF bounds and slide, what is tested
  • 8e1fdb5 sandbox: tests for 4 KiB dynamic programs on darwin
  • 65d0820 stub/macos: the HVF stub slides a PIE program and refuses one that does not fit
  • 113a177 stub/macos: an RWX image page alternates per page, and honours RejectRWX
  • 637bf2d DESIGN-4k-pages: how 4 KiB guest pages map onto 16 KiB hosts
  • fc4cc4c darwin: an arm64 PIE linked for 4 KiB pages runs in the VM
  • 440e984 stub/macos: an image page where code meets writable data maps MAP_JIT
  • d028c10 build: RUN runs as the stage's USER; ARG and ENV/LABEL quoting follow docker
  • 24cf999 imageuser: Home takes a passwd entry's home field as it is, and gives / with no entry, as runc does
  • 25c5bb6 build: ARG takes several names, quoted values and substitution; RUN's HOME is the USER's passwd home
  • b604f15 imageuser: an image's USER resolves through a Namespace confined to its root, and gives the user's home
  • 4df86f8 sandbox: the initial working directory follows a symlink as chdir does, and has a test on every host
  • 5892722 sandbox: a device's fd follows its object when unlinked, reopened or copied up
  • 393197c hostfs: a Windows file unlinked while open keeps its mode for its handles
  • ed76e2a hostfs: ApplyTo keeps a real special node's kind when its layer records none
  • 662dc23 sandbox: a regular file's fd reports the overlay's identity across copy-up
  • 49e743b sandbox: a special's fd reports the overlay's identity across copy-up
  • d9def8e hostfs: a kept upper's fifo no longer hangs the run's teardown
  • bf89405 sandbox: a mknod'd device's fd stats through its own vfs handle
  • 44c2634 hostfs: a device node keeps its mode and survives a kept upper
  • 6563da4 sandbox: TestFifoBlockedOpenSignals fails fast when the FIFO open blocks the supervisor
  • 7eab07a sandbox: a thread blocked opening a FIFO keeps taking signals
  • ff75c60 sandbox: the netlink model fuzzers and budget test run on Windows too
  • 2a69e46 sandbox: Windows guests get NETLINK_NETFILTER sockets
  • 0b50671 hostfs: the aliased-name tests run on every host
  • a9b3325 hostfs: a rooted macOS backend walks from its root's held descriptor
  • fd231a5 darwin: the stub copies a call's results out by how the call entered, not by the header
  • 564abb8 sandbox: TestNetnsGC fills its namespaces mostly with large firewall rules
  • 5fa07ab namespace: .. returns to a location the walk passed
  • b2a29e9 sandbox: a stat stats the location its walk found instead of walking the path again
  • bb9119f sandbox: the private copy a write reopen of an O_PATH lower file makes lives on disk
  • fe41bef sandbox: placement tests cover own stacks and the stack guard gap, and the benchmark dense chunks
  • 284fae1 sandbox: a call's entry stop sees none of the last call's argument records or results
  • ecf899a namespace: a one-step lookup that gives way to a stepwise walk leaves no stamps of its own
  • 483235a overlayfs: a layer whose host reaches one directory by several paths versions the whole tree
  • 7d5564d sandbox: a network namespace's models go with its last process, socket or bind
  • 4767a01 hostfs: a tmpfs or an upper layer whose host reaches one directory by several paths forgets every walk on any change
  • 5855c0b hostfs: a change to the upper layer forgets only the names it touched
  • 73553c7 namespace: a walk through a bind or a tmpfs looks its path up in one step, and a tmpfs keeps it cached
  • 53aed3f hostfs: a rooted Linux backend walks from its root's held descriptor
  • 9bf6a34 sandbox: the argument area's edge cases have tests, and checking a copy on macOS leaves the window as it was
  • b8d1b79 darwin: the stub copies a syscall's inputs in and its results out as the call enters and returns
  • 6dffcb8 sandbox: reserved and foreign ranges stay sorted and merged, so placing a mapping costs the same however many there are
  • bf5b81a sandbox: netlink models are bounded, and a firewall rule publishes a port only with networking
  • f3f68cc sandbox: inotify and POSIX timers stop at the limits Linux sets them
  • 21e45d5 sandbox: a pid the guest can write is checked with the kernel before it names a host process
  • 82350fd sandbox: a read-only mount stays read-only however a file is reached, and a lower layer is never written
  • b8e27b7 README: the logo has no empty band above it, and the architecture diagram has its generator
  • 8ceea18 gitignore: the local .gstack directory
  • fd3905f README: an animated diagram of how laboon runs a program, and x86-64 guests on Apple Silicon

laboon 0.4.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 17:41

Changelog

  • 2ebcadf sandbox: no fixed spin and no environment knobs; exec names the task as Linux
  • 24e38c9 sandbox: strict rewriting is an option, not an environment variable
  • 2b64e66 windows: arm64 gets the syscall backstop, and code writing its own page runs out of line
  • e1bbd65 darwin: stubs signed at once by several runs read their own entitlements
  • 20b1549 darwin: a tracer's write to code is what the HVF guest runs next
  • 443f2b9 windows: a program can make its own text writable and run it again
  • 6e93952 hostfs: darwin sets an open file's times to the nanosecond
  • 694cfd7 sandbox: the stdin test counts only pipes a run leaves behind
  • 49e140a sandbox: a ptrace write reaches the code of a saved Windows image
  • 6c52c1e hostfs: the SetAttr test allows darwin's microsecond times
  • af52738 hostfs: a change through an open file on Windows is that file's own
  • 2099781 sandbox: a Windows program file has an identity again, so its image is kept
  • 2904df2 sandbox: the stdin feed tests end their copier before the next test runs
  • 481fd01 sandbox: a read that finds stdin bytes waiting asks its feed for nothing
  • b38138e sandbox: the build-ID test reads a real executable on every host
  • 4273f1b sandbox: the image-stability test names its host dirs by their resolved paths
  • a398be9 sandbox: a test holds epoll_wait's folding and encoding to no allocations
  • 0f1f23d sandbox: a blocking epoll_wait polls the guest's epoll instead of nesting it
  • 52d3ff6 sandbox: epoll_wait allocates nothing per call
  • b0dfa77 sandbox: the Resizer docs say laboon stops receiving when the run ends
  • 7ec54cd sandbox: fstat, lseek, readv and most ioctls of stdin keep its feed on demand
  • 540eaa1 sandbox: every read waiting on a stdin feed is served, however the bytes split
  • ab1be63 sandbox: a stdin reader is read only as far as the guest reads it
  • 7075554 sandbox: a run's temp directory is always new and gone when the run ends
  • f31970d laboon: WithCache says Windows runs without a cache directory keep no images
  • 1d4ea4b cmd: the tools delete the image directory older builds left unbounded
  • 525aaf7 sandbox: every image save prunes the directory as it is on disk
  • 024b16b sandbox: the Windows image cache is bounded and keeps only files no guest writes
  • cea42b4 namespace: a link inside a symlink's target is not the path's final link
  • f6140b3 namespace: a change to one directory leaves walks that never looked in it cached
  • cfcf5ac namespace: a cached path survives everything that leaves its name in place
  • 4906555 darwin: code in a file that is not an image runs only once rewritten
  • 40db6ed sandbox: a file held only as a host descriptor is sized from it
  • 1a24395 build: RUN steps keep rewrite plans in the caller's cache
  • ad0646b sandbox: code from an unlinked file, a memfd's, never reaches the plan directory
  • 6c455b1 laboon: NewCache says which files in its directory it deletes
  • aae06c9 rewrite: another generation's plan directory is deleted only once it is idle
  • 69a9927 rewrite: a read hit touches its plan file in place and starts no writer
  • 86afeac rewrite: the plan cache is bounded and JIT code never reaches the disk
  • ac745bb sandbox: a test holds the memory lock while the per-call paths run
  • 10cb57c sandbox: recording run-time sites merges only runs of comparable size
  • 92080f4 sandbox: a syscall that is not about memory never waits on a memory call
  • b4f4206 sandbox: a benchmark times cheap syscalls while other threads churn memory
  • 804540f darwin: a clone child frees the handoff it was started from
  • d63bf0c sandbox: the thread churn test measures the stub its own run started
  • a9829f1 linux: a clone child starts on its slot's bootstrap stack
  • 4117330 sandbox: SysV shm limits are reported in the caller's own pages
  • 9a49ffd sandbox: removing a semaphore set drops its SEM_UNDO adjustments
  • 4396686 sandbox: System V IPC keeps Linux's per-namespace limits
  • 2eaac5d windows: the injector owns every thread handle it uses
  • bc40611 sandbox: code is rewritten from bounded windows and file views, never a guest-sized copy
  • 9655fdb sandbox: a range made executable is rewritten a window at a time
  • 75b8ae0 darwin: an x86-64 guest gets its own ABI, not the supervisor's
  • 946dbfc darwin: the stub's Seatbelt names no tree of the guest's
  • 2d2efc9 darwin: a run with no host root gives the stub's Seatbelt no host tree
  • 2829470 sandbox: a guest-chosen length never sizes a supervisor allocation
  • ca3abe7 sandbox: a guest's writable tree never follows a symlink it swapped in

laboon 0.3.0

Choose a tag to compare

@github-actions github-actions released this 25 Nov 15:27

Changelog

  • 0481798 README: a fresh desktop recording, the sweeps, and threads
  • d9690fc signals: read a process's slot under the registry lock
  • 9fb3eda linux: a vfork child that execs knows only the stack chunks it has
  • 1ed195f windows stub: the region-table lock sleeps when contended
  • 61ca536 mmapplace: find the top of the space to the page
  • c09d58f windows: no fixed cap on guest threads
  • 82e23fb darwin: no fixed cap on guest threads
  • 8f5de9c linux: no fixed cap on guest threads
  • 11363e3 README: the desktop recording launches Chromium from its desktop icon
  • 38a9be0 README: the desktop recording runs Chromium with its own sandbox
  • 53a47a2 README: the desktop recording sits at the top with the startup comparison
  • 8d2c0e2 README: a recording of an E2B-style XFCE desktop driven inside laboon
  • 4d1d318 README: a side-by-side recording of container starts, laboon and Docker Desktop on a Mac

laboon 0.2.0

Choose a tag to compare

@github-actions github-actions released this 24 Nov 08:37

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...
Read more

laboon 0.1.0

Choose a tag to compare

@github-actions github-actions released this 17 Nov 15:25

Changelog

  • 72b4fb9 docs: move PERF.md and permissions-and-limits into docs/, keep the README inviting
  • ad01fcf release: GoReleaser config + workflow for multi-platform binaries; move the Chromium smoke into examples/chromium (out of the root package)
  • bb12599 ci: run the unit tests at their internal/ paths after the package move
  • 3f413ba Run untrusted Linux programs and containers safely, with no VM, on Linux, macOS, and Windows