We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6f7963 commit c425bedCopy full SHA for c425bed
cap-primitives/src/rustix/linux/fs/open_impl.rs
@@ -140,7 +140,7 @@ pub(crate) fn open_beneath(
140
fn openat2_supported() -> bool {
141
// `openat2` is supported in Linux 5.6 and later. Parse the current
142
// Linux version from the `release` field from `uname` to detect this.
143
- let uname = rustix::process::uname();
+ let uname = rustix::system::uname();
144
let release = uname.release().to_bytes();
145
if let Some((major, minor)) = linux_major_minor(release) {
146
if major >= 6 || (major == 5 && minor >= 6) {
0 commit comments