bwrap-rs: an independent, byte-compatible Rust reimplementation of bubblewrap 0.13.1
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 1/5
- Temps estimé
- Moins d'une heure
- Accessibilité débutants
- 35/100
- Type d'issue
- Documentation
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- linux, rust
- Domaine
- documentation, operating-systems
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- C
- Étoiles
- 9.6k
- Forks
- 418
- Merge moyen
- 4 j 8 h
- PR mergées (30 j)
- 1
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de containers/bubblewrap
-
Mount point creation fails on NFS with EROFSPeut-être pris @sarankumar1325 l’a pris il y a 15 jours. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
containers/bubblewrap#827 ·
Les mainteneurs répondent en général sous 1 jour
-
--userns-block-fd can hang when given a closed descriptorPeut-être pris @sarankumar1325 l’a pris il y a 15 jours. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
containers/bubblewrap#826 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
README: writable --bind paths are not isolated from hardlinks created outside the sandboxPeut-être pris @sairex53 l’a pris il y a 45 jours. Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
containers/bubblewrap#813 · 3 commentaires · 2 réactions ·
Les mainteneurs répondent en général sous 1 jour
-
bubblewrap manpage is desynced from source codePeut-être pris @huong8373tt-beep l’a pris il y a 25 jours. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
containers/bubblewrap#767 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Related project comparisons in README.md are outdatedPeut-être à nouveau libre Une pull request pour cette issue a été fermée sans être fusionnée. Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
containers/bubblewrap#743 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de containers/bubblewrap
Issues similaires
-
bug severity: medium
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
AlessandroSangiuliano/Uros#1014 ·
-
severity: low
Difficulté 1/5 Moins d'une heure Accessibilité débutants 72/100
luainkernel/lunatik#2727 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Les mainteneurs répondent en général sous 6 jours
-
Termux compilation failureOuvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Les mainteneurs répondent en général sous 1 jour
-
bot-triaged module: cuda module: memory usage module: pybind module: tensor creation triaged
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
pytorch/pytorch#206707 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour