-
-
Notifications
You must be signed in to change notification settings - Fork 646
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
Linux: Add cachestat, fchmodat2 syscalls #958
Conversation
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.
Thanks for sending this! System calls are cosmo's bread and butter. It's very exciting to see contributions helping improve them.
This code is cribbed from the fchmodat2 kernel selftest[1], hence the license + authors. [1]: https://github.com/torvalds/linux/blob/037266a5f7239ead1530266f7d7af153d2a867fa/tools/testing/selftests/cachestat/test_cachestat.c
e66c919
to
2567220
Compare
I tried adding |
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.
Looks good. Thank you!
I haven't wired up fchmodat2 yet, as it's pretty fresh and I wasn't sure to put it in with the fchmodat impl or in its own file.