-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new mount api syscall for linux #752
Conversation
1da5e3f
to
034a14c
Compare
@sunfishcode we need to distinguish two |
@yujincheng08 I'm not familiar with the |
There's a new linux syscall named |
Oh, I see. Next time we have a semver bump, we should rename that |
sounds good to me. i am afk for serval hours, and will update it then. or maybe you can help me correct it? |
3f39d7d
to
92d5b28
Compare
@sunfishcode changed as requested. plz review again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good! Would it be possible to write some simple tests that exercise these new functions? Or do these APIs require elevated privileges?
Thanks for your review. About testing, all of these APIs need the same privileges as
|
Thanks! Thinking about this more, I have a few additional thoughts. It appears that documentation for these syscalls was posted as patches but never finished. What would you think about adding the following as documentation links? fspick: https://lwn.net/ml/linux-kernel/159827189767.306468.1803062787718957199.stgit@warthog.procyon.org.uk/ Also, with the addition of these new functions, alongside the existing |
I also noticed these docs but I intently not adding them because they are not merged, and they are not in well format (not very human readable).
Looks good to me! I like this idea :). |
For documentation, maybe we can copy some contents of the unfinished patches to rust doc as a temporarily workaround? Once their docs finished, we can change them to link then. |
I'd be ok with copying the unfinished documentation content into the tree; we should just be sure to cite where we copied it from, include their license, and mention why we need our own copy. |
Thanks. You previously said you would like to do the actual change. Is there anything else I need to do for this PR for merging? |
Ah, no, this is fine. I'll merge this and make the change soon. |
Fix #744