rust-osdev / rust-osdev/uefi-rs
Allow building device paths as constants
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.7k
- Forks
- 200
- Avg merge
- 16h 55m
- Merged PRs (30d)
- 35
Description
Splitting this off from https://github.com/rust-osdev/uefi-rs/issues/970.
It would be nice to be able to build device paths as global constants as well. This would sidestep the use-after-free issues from nix-community/lanzaboote#194.
Originally posted by @blitz in https://github.com/rust-osdev/uefi-rs/issues/970#issuecomment-1775618414
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading issue #970 and the referenced lanzaboote#194 discussion to understand the device-path lifetime problem. Determine the design needed for device paths to be usable as global constants; done means constant construction avoids the reported use-after-free issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100