rcore-os / rcore-os/rCore-Tutorial-v3

syscall调用号增加建议

Open
#93 0 comments 0 reactions 0 assignees View on GitHub

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

  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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.