bwrap-rs: an independent, byte-compatible Rust reimplementation of bubblewrap 0.13.1
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- linux, rust
- Lĩnh vực
- documentation, operating-systems
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- C
- Star
- 9.6k
- Fork
- 418
- Merge trung bình
- 4 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của containers/bubblewrap
-
Mount point creation fails on NFS with EROFSCó thể đã có người làm @sarankumar1325 đã nhận 15 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
containers/bubblewrap#827 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
--userns-block-fd can hang when given a closed descriptorCó thể đã có người làm @sarankumar1325 đã nhận 15 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
containers/bubblewrap#826 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
README: writable --bind paths are not isolated from hardlinks created outside the sandboxCó thể đã có người làm @sairex53 đã nhận 45 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
containers/bubblewrap#813 · 3 bình luận · 2 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bubblewrap manpage is desynced from source codeCó thể đã có người làm @huong8373tt-beep đã nhận 25 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
containers/bubblewrap#767 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Related project comparisons in README.md are outdatedCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
containers/bubblewrap#743 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của containers/bubblewrap
Issue tương tự
-
bug severity: medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
AlessandroSangiuliano/Uros#1014 ·
-
severity: low
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
luainkernel/lunatik#2727 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 6 ngày
-
Termux compilation failureĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bot-triaged module: cuda module: memory usage module: pybind module: tensor creation triaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
pytorch/pytorch#206707 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày