RT-Thread / RT-Thread/rt-thread
sysret_t sys_open(const char *name, int flag, ...)
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 12.2k
- Forks
- 5.4k
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 40
Description
master:分支
commitID:4ab11d5bbccb8386267400f22530ccaf27cdb0b2
lwp_syscall.c中的sys_open(const char *name, int flag, ...)函数没有保留mode参数,导致移植或自己实现文件系统时比较麻烦。
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 in lwp_syscall.c at sys_open(const char *name, int flag, ...), and inspect how its variadic arguments are handled. Check the expected open mode behavior for portability and custom filesystems, then ensure the mode argument is retained rather than lost. Done means callers can provide a mode successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100