dzerik
dzerik
`sandlock_sandbox_builder_on_exit` and `..._on_error` map an unrecognized discriminant to `BranchAction::Commit`, so a binding that passes a bad value gets the change set merged into the workdir instead of an error. `crates/sandlock-ffi/src/lib.rs:228-232`:...
The Python SDK parses TOML mount specs itself instead of calling the core parser, and its version does not understand the `:ro` / `:rw` suffix. The suffix ends up glued...
`crates/sandlock-cli/src/main.rs:137-138` declares the flag: ```rust #[arg(short = 'i', long)] interactive: bool, ``` The field is never read anywhere in the crate. Every `*_interactive` occurrence in `main.rs` (`:651`, `:660`, `:681`, `:722`,...
A guest that holds any writable mount can hard-link a file out of a read-only mount and write through the alias, and can hard-link an `fs_deny`'d file and read it...
`max_open_files` is accepted by the builder, the CLI, the C ABI, Python and Go — and never applied. `RLIMIT_NOFILE` appears nowhere under `crates/`. ## Reproduction Verified on `main` (0.8.5, x86-64)....
## Summary Add **write-only** (and ideally **append-only**) filesystem grants to the public API, e.g. `fs_write_only(path)` / fs_append(path)`, in addition to the existing `fs_read` / `fs_write`. Today `fs_write` grants read **and**...
`handle_unlink(path, is_dir = true)` accepts a directory that is not empty and answers `Ok(true)`, where `rmdir(2)` would return `ENOTEMPTY`. The whiteout is recorded, and `commit()` then removes the directory and...
Renaming a directory that exists only in the lower layer reports success and destroys everything inside it. `handle_rename` (`cow/seccomp.rs:804`) starts with `ensure_cow_copy(&old_rel)`. For a directory that produces an empty directory...
`is_deleted` is an exact string match on the whiteout set (`cow/seccomp.rs:384-386`), so a whiteout covers the path it was recorded for and nothing beneath it. After a directory is marked...
`execute_copy` opens the lower file with `O_RDONLY` and no file-type check (`cow/seccomp.rs:508-514`). Opening a FIFO that way blocks until a writer appears, so a child that touches a FIFO under...