From 9cdcb404ba4ba55ad04a832ddf86ac8c57e8df2b Mon Sep 17 00:00:00 2001 From: Matteo Nardi Date: Wed, 1 Feb 2023 09:56:03 +0100 Subject: [PATCH] Added `AT_EACCESS` to `AtFlags` on all platforms --- CHANGELOG.md | 2 ++ src/fcntl.rs | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f7da93bbf1..83649b5d87 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ This project adheres to [Semantic Versioning](https://semver.org/). ## [Unreleased] - ReleaseDate ### Added +- Added `AT_EACCESS` to `AtFlags` on all platforms + ([#1995](https://github.com/nix-rust/nix/pull/1995)) - Add `PF_ROUTE` to `SockType` on macOS, iOS, all of the BSDs, Fuchsia, Haiku, Illumos. ([#1867](https://github.com/nix-rust/nix/pull/1867)) - Added `nix::ucontext` module on `aarch64-unknown-linux-gnu`. diff --git a/src/fcntl.rs b/src/fcntl.rs index 1e24f603f6..bda85dc3c2 100644 --- a/src/fcntl.rs +++ b/src/fcntl.rs @@ -31,12 +31,11 @@ libc_bitflags! { AT_REMOVEDIR; AT_SYMLINK_FOLLOW; AT_SYMLINK_NOFOLLOW; + AT_EACCESS; #[cfg(any(target_os = "android", target_os = "linux"))] AT_NO_AUTOMOUNT; #[cfg(any(target_os = "android", target_os = "linux"))] AT_EMPTY_PATH; - #[cfg(any(target_os = "illumos", target_os = "solaris"))] - AT_EACCESS; } }