File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
library/std/src/os/unix/io Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments