rust-lang / rust-lang/stdarch

Support prctl(PR_GET_AUXV) as fallback when getauxval doesn't exist

Open
#1,480 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
694
Forks
336
Avg merge
5d 14h
Merged PRs (30d)
9

Description

Unlike /proc/self/auxv this doesn't require filesystem access permission or a mounted /proc. It is only available starting at linux 6.4, so the /proc/self/auxv fallback will need to be preserved.

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.

Research direction

No files or tests are named in the issue. Start by locating the existing getauxval and /proc/self/auxv handling in stdarch, then inspect the Linux prctl interface and its availability constraints; done means using PR_GET_AUXV where available while preserving the /proc/self/auxv fallback.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, rust
Domain
operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.