Skip to content

set_permissions_nofollow: update docs on implementation details - #166364

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
RalfJung:set_permissions_nofollow
Nov 28, 2026
Merged

rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
RalfJung:set_permissions_nofollow

Conversation

@RalfJung

@RalfJung RalfJung commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

The note about Android is outdated since #163548.

And NuttX seems to have both fchmodat and AT_SYMLINK_NOFOLLOW according to the libc crate so we should be able to use the fast implementation there. Cc @no1wudi

Tracking issue: #141607

@rustbot rustbot added the A-filesystem Area: `std::fs` label Nov 22, 2026
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Nov 22, 2026
@rustbot

rustbot commented Nov 22, 2026

Copy link
Copy Markdown
Collaborator

r? @clarfonthey

rustbot has assigned @clarfonthey.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: @ChrisDenton, libs
  • @ChrisDenton, libs expanded to 38 candidates
  • Random selection from JohnTitor, Mark-Simulacrum, clarfonthey, hanna-kruppe

@RalfJung
RalfJung force-pushed the set_permissions_nofollow branch from 674c66f to 962e2eb Compare November 22, 2026 19:01
@clarfonthey

Copy link
Copy Markdown
Contributor

cc @no1wudi as nuttx maintainer to verify

r=me otherwise

@clarfonthey

Copy link
Copy Markdown
Contributor

@bors r+ rollup

(not going to wait on T3, but hopefully you didn't break anything)

@rust-bors

rust-bors Bot commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 962e2eb has been approved by clarfonthey

It is now in the queue for this repository.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 28, 2026
rust-bors Bot pushed a commit that referenced this pull request Nov 28, 2026
Rollup of 4 pull requests

Successful merges:

 - #166676 (miri subtree update)
 - #165472 (Update Documentation for `Discriminant::ord`)
 - #166364 (set_permissions_nofollow: update docs on implementation details)
 - #166667 (Use new OIDC claim-setting to skip second role assumption)
@no1wudi

no1wudi commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

cc @no1wudi as nuttx maintainer to verify

@clarfonthey Yes, NuttX support both fchmodat and AT_SYMLINK_NOFOLLOW, call them on Rust side is OK

@rust-bors
rust-bors Bot merged commit efc9a36 into rust-lang:main Nov 28, 2026
14 checks passed
@rustbot rustbot added this to the 1.102.0 milestone Nov 28, 2026
rust-bors Bot pushed a commit that referenced this pull request Nov 28, 2026
Rollup merge of #166364 - RalfJung:set_permissions_nofollow, r=clarfonthey

set_permissions_nofollow: update docs on implementation details

The note about Android is outdated since #163548.

And NuttX seems to have both fchmodat and AT_SYMLINK_NOFOLLOW according to the libc crate so we should be able to use the fast implementation there. Cc @no1wudi

Tracking issue: #141607
@RalfJung
RalfJung deleted the set_permissions_nofollow branch November 28, 2026 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-filesystem Area: `std::fs` S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants