mention /proc/self/fd with /proc/self/mem
This commit is contained in:
parent
55f18beddd
commit
4da0811513
@ -65,9 +65,9 @@
|
|||||||
//! to be opened and read from or written must be `unsafe`. Rust's safety guarantees
|
//! to be opened and read from or written must be `unsafe`. Rust's safety guarantees
|
||||||
//! only cover what the program itself can do, and not what entities outside
|
//! only cover what the program itself can do, and not what entities outside
|
||||||
//! the program can do to it. `/proc/self/mem` is considered to be such an
|
//! the program can do to it. `/proc/self/mem` is considered to be such an
|
||||||
//! external entity, along with debugging interfaces, and people with physical access to
|
//! external entity, along with `/proc/self/fd/*`, debugging interfaces, and people with physical
|
||||||
//! the hardware. This is true even in cases where the program is controlling
|
//! access to the hardware. This is true even in cases where the program is controlling the external
|
||||||
//! the external entity.
|
//! entity.
|
||||||
//!
|
//!
|
||||||
//! If you desire to comprehensively prevent programs from reaching out and
|
//! If you desire to comprehensively prevent programs from reaching out and
|
||||||
//! causing external entities to reach back in and violate memory safety, it's
|
//! causing external entities to reach back in and violate memory safety, it's
|
||||||
|
Loading…
Reference in New Issue
Block a user