Adding new interface to RawMutPointer to allow to write one field of a struct
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 2.7k
- Forks
- 144
- Avg merge
- 12h 21m
- Merged PRs (30d)
- 146
Description
I encountered the same issue before. My previous solution was writing the whole struct to userspace instead of just one field. It would be nice to have an interface that could directly write a field to userspace. I will create an issue to track it.
Originally posted by @CvvT in https://github.com/microsoft/litebox/pull/344#discussion_r2389312379
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 at litebox_shim_linux/src/syscalls/file.rs lines 1022-1036 and inspect RawMutPointer’s existing interface and the surrounding syscall handling. Define an interface for writing one struct field to userspace without writing the whole struct, then verify it against the cited case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100