-
Notifications
You must be signed in to change notification settings - Fork 1.1k
linux: add new flags for pwritev2/preadv2 #4452
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
Conversation
Hrm, I guess it's testing against CI kernel and its headers aren't new enough? |
0489c1b
to
5a5e1e5
Compare
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.
Since these are uapi, they can go in linux_like/linux/mod.rs
to cover both glibc and musl (and others)
8db1dff
to
6e7549d
Compare
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.
Pushed to squash since I can't do it with the merge queue API
(backport <rust-lang#4452>) (cherry picked from commit 6e7549d)
(backport <rust-lang#4452>) (cherry picked from commit 6e7549d)
(backport <rust-lang#4452>) (cherry picked from commit 6e7549d)
Description
RWF_* flags supported by newer linux kernels.
Sources
https://github.com/torvalds/linux/blob/3ce9925823c7d6bb0e6eb951bf2db0e9e182582d/include/uapi/linux/fs.h#L336-L343
Checklist
libc-test/semver
have been updated*LAST
or*MAX
areincluded (see rust-lang/libc#3131)
cd libc-test && cargo test --target mytarget
);especially relevant for platforms that may not be checked in CI
@rustbot label +stable-nominated