bwrap-rs: an independent, byte-compatible Rust reimplementation of bubblewrap 0.13.1
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 1/5
- Tempo stimato
- Meno di un'ora
- Idoneità per principianti
- 35/100
- Tipo di issue
- Documentazione
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- linux, rust
- Ambito
- documentation, operating-systems
Direzione di ricerca
Read the repository README and the linked bwrap-rs project to assess whether a mention in the “Related project comparison” section fits. The issue asks for feedback and a possible README entry; done means maintainers decide whether to add the mention and, if accepted, update that section.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hi, and thanks for bubblewrap.
I've written bwrap-rs, an independent reimplementation of bubblewrap 0.13.1
in Rust. It's not a fork and it doesn't vendor any of your code; all design
credit is yours. The goal is a byte-exact, drop-in bwrap: the same
command-line surface, the same behaviour, the same output and exit codes.
Repo: https://github.com/bramheerink/bwrap-rs (LGPL-2.0-or-later, same as bwrap)
How compatibility is checked
I run your test suite, unmodified, against the Rust binary (BWRAP= pointed at
it):
tests/test-run.sh— 67/67 passtests/test-sandbox.py— 69/69 pass
On top of that there's a behavioural matrix that A/Bs every documented option
against the real /usr/bin/bwrap 0.13.1 and requires byte-identical exit code,
stdout and stderr, plus a QEMU e2e for the real-root (uid 0) privilege path that
unprivileged-userns environments can't reach.
Safety architecture
#![forbid(unsafe_code)] in the logic crates; all unsafe is confined to one
small syscall crate. The dependency surface is std + nix. I mention this as a
design fact, not a claim about bubblewrap — your C is the audited reference, and
bwrap-rs is only as trustworthy as that comparison makes it.
Where it deliberately differs
A short, honest list of the handful of intentional deviations (mostly failing
more strictly than C on malformed input) is here:
https://github.com/bramheerink/bwrap-rs/blob/main/DIFFERENCES.md
What I'm (and am not) asking
I'm not asking you to adopt, endorse or maintain it — just sharing it in case
it's useful to the ecosystem. Two small things if you're open to them:
- Would a mention in the "Related project comparison" section of the README be
welcome? - Any feedback on the compatibility approach or anything I've gotten wrong is
very welcome — I'll treat divergences from 0.13.1 as bugs.
Thanks again for the project.
- Lingua principale
- C
- Stelle
- 9.6k
- Fork
- 418
- Merge medio
- 4g 8h
- PR unite (30g)
- 1
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di containers/bubblewrap
-
Mount point creation fails on NFS with EROFSForse già presa @sarankumar1325 l’ha presa 15 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
containers/bubblewrap#827 ·
I maintainer di solito rispondono entro 1 giorno
-
--userns-block-fd can hang when given a closed descriptorForse già presa @sarankumar1325 l’ha presa 15 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
containers/bubblewrap#826 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
README: writable --bind paths are not isolated from hardlinks created outside the sandboxForse già presa @sairex53 l’ha presa 45 giorni fa. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
containers/bubblewrap#813 · 3 commenti · 2 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
bubblewrap manpage is desynced from source codeForse già presa @huong8373tt-beep l’ha presa 25 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
containers/bubblewrap#767 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Related project comparisons in README.md are outdatedForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
containers/bubblewrap#743 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di containers/bubblewrap
Issue simili
-
bug severity: medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
AlessandroSangiuliano/Uros#1014 ·
-
severity: low
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
luainkernel/lunatik#2727 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 6 giorni
-
Termux compilation failureApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
bot-triaged module: cuda module: memory usage module: pybind module: tensor creation triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
pytorch/pytorch#206707 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno