Skip to content

Commit efa244c

Browse files
cgwalterssunfishcode
authored andcommitted
README.md: Link to cap-std-ext
I am hopeful we can drain most of the functionality here into cap-std itself or cap-fs-ext, but for now let's link to it so others can find it more easily. Most of this would be nice to have in Rust `std` too; that's a whole other TODO item. Perhaps best tackled once `std` itself depends on rustix.
1 parent 135f227 commit efa244c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ develops libraries to make it easy to write capability-based code, including:
2929
- [`cap-rand`], which provides capability-based access to
3030
[random number generators]
3131

32+
There is also a [`cap-std-ext`](https://crates.io/crates/cap-std-ext) crate available
33+
which is maintained independently, and includes further extension APIs for
34+
both filesystem APIs (including atomic create/replace on Linux specifically)
35+
and passing file descriptors to child processes.
36+
3237
Cap-std features protection against [CWE-22], "Improper Limitation of a
3338
Pathname to a Restricted Directory ('Path Traversal')", which is #8 in the
3439
[2021 CWE Top 25 Most Dangerous Software Weaknesses]. It can also be used to

0 commit comments

Comments
 (0)