Skip to content

Commit 4da0811

Browse files
committed
mention /proc/self/fd with /proc/self/mem
1 parent 55f18be commit 4da0811

File tree

1 file changed

+3
-3
lines changed
  • library/std/src/os/unix/io

1 file changed

+3
-3
lines changed

library/std/src/os/unix/io/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@
6565
//! to be opened and read from or written must be `unsafe`. Rust's safety guarantees
6666
//! only cover what the program itself can do, and not what entities outside
6767
//! the program can do to it. `/proc/self/mem` is considered to be such an
68-
//! external entity, along with debugging interfaces, and people with physical access to
69-
//! the hardware. This is true even in cases where the program is controlling
70-
//! the external entity.
68+
//! external entity, along with `/proc/self/fd/*`, debugging interfaces, and people with physical
69+
//! access to the hardware. This is true even in cases where the program is controlling the external
70+
//! entity.
7171
//!
7272
//! If you desire to comprehensively prevent programs from reaching out and
7373
//! causing external entities to reach back in and violate memory safety, it's

0 commit comments

Comments
 (0)