rcore-os / rcore-os/rCore-Tutorial-v3
syscall调用号增加建议
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 2.1k
- Forks
- 560
- PR merge metrics
- No merged PRs in 30d
Description
起因是这样的,我在为RustUserShell增加TAB键补全功能,但是发现对于FS的操作中没有列出文件的接口,我想增加一个枚举,让Read功能可以读取列表并以“文件”形式返回。但对于该枚举的取值,我需要你们的建议,或者以其他的方式去实现也行,我可以为此Issue提交PR,谢谢同学们!
我想加一行这个:
const SYSCALL_FS_LS: usize = 65;
Contributor guide
No contributing guide indexed for this repository
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 with RustUserShell's filesystem Read path and the existing syscall definitions and numbering. Clarify whether directory listing should be exposed through a new syscall or another interface, then define completion as an agreed API that returns directory entries without conflicting with existing syscall values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100