Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

feat: add statfs syscall#25

Closed
wang-jiahua wants to merge 1 commit intooscomp:mainfrom
wang-jiahua:add_statfs
Closed

feat: add statfs syscall#25
wang-jiahua wants to merge 1 commit intooscomp:mainfrom
wang-jiahua:add_statfs

Conversation

@wang-jiahua
Copy link
Copy Markdown
Collaborator

No libc-test testcase calls statfs

@wang-jiahua wang-jiahua requested a review from Azure-stars March 24, 2025 07:15
}

#[apply(syscall_instrument)]
pub fn sys_statfs(_path: UserConstPtr<c_char>, fsstatbuf: UserPtr<FsStat>) -> LinuxResult<isize> {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This implementation is not complete , so it is not suitable for merging into the mainline. But to finish the oscomp it is enough.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants