bwrap-rs: an independent, byte-compatible Rust reimplementation of bubblewrap 0.13.1
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 35/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- linux, rust
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- C
- 星标
- 9.6k
- 派生
- 418
- 平均合并
- 4 天 8 小时
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
containers/bubblewrap 的其他 Issue
-
Mount point creation fails on NFS with EROFS可能已有人在做 @sarankumar1325 于 15 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
containers/bubblewrap#827 ·
维护者通常 1 天内回复
-
--userns-block-fd can hang when given a closed descriptor可能已有人在做 @sarankumar1325 于 15 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
containers/bubblewrap#826 · 1 条评论 ·
维护者通常 1 天内回复
-
README: writable --bind paths are not isolated from hardlinks created outside the sandbox可能已有人在做 @sairex53 于 45 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 88/100
containers/bubblewrap#813 · 3 条评论 · 2 个 reaction ·
维护者通常 1 天内回复
-
bubblewrap manpage is desynced from source code可能已有人在做 @huong8373tt-beep 于 25 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
containers/bubblewrap#767 · 2 条评论 ·
维护者通常 1 天内回复
-
Related project comparisons in README.md are outdated可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 1/5 1 小时以内 新手友好度 88/100
containers/bubblewrap#743 · 1 条评论 ·
维护者通常 1 天内回复
查看 containers/bubblewrap 的全部 Issue
相似的 Issue
-
bug severity: medium
难度 2/5 1-3 小时 新手友好度 78/100
AlessandroSangiuliano/Uros#1014 ·
-
severity: low
难度 1/5 1 小时以内 新手友好度 72/100
luainkernel/lunatik#2727 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 6 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
bot-triaged module: cuda module: memory usage module: pybind module: tensor creation triaged
难度 2/5 1-3 小时 新手友好度 78/100
pytorch/pytorch#206707 · 1 条评论 ·
维护者通常 1 天内回复