rust-lang / rust-lang/rust

Can Redox OS implement a TOCTOU-free `fs::remove_dir_all` yet?

Open
#140,533 7 comments 0 reactions 1 assignee View on GitHub

@jackpot51 is already working on this.

Since May 1, 2025.

A-docs C-discussion O-redox T-libs
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

Location

fs::remove_dir_all

Summary

See https://blog.rust-lang.org/2022/01/20/cve-2022-21658/ if you want an explanation of what I mean.

Noticed it has been a hot minute since this happened after I noticed the FORTRANization of Redox's name.

Classifying as a documentation issue for now since I have no idea if the docs are even up-to-date on this point.

cc @jackpot51

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.