From 84e3c56bcc144fb4964caa69fb1dddeccb35be82 Mon Sep 17 00:00:00 2001 From: Ryan Zoeller Date: Sun, 16 Jan 2022 10:10:13 -0600 Subject: [PATCH] Remove EventFlag::EV_SYSFLAG It is not stable across OpenBSD versions and is reserved by the system on FreeBSD and NetBSD. --- CHANGELOG.md | 2 ++ Cargo.toml | 2 +- src/sys/event.rs | 1 - 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 48c803b4bc..75fc82def4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,8 @@ This project adheres to [Semantic Versioning](https://semver.org/). - Removed public access to the inner fields of `NetlinkAddr`, `AlgAddr`, `SysControlAddr`, `LinkAddr`, and `VsockAddr`. (#[1614](https://github.com/nix-rust/nix/pull/1614)) +- Removed `EventFlag::EV_SYSFLAG`. + (#[1635](https://github.com/nix-rust/nix/pull/1635)) ## [0.23.1] - 2021-12-16 diff --git a/Cargo.toml b/Cargo.toml index 6550db11c3..dbe05683dd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,7 +27,7 @@ targets = [ ] [dependencies] -libc = { version = "0.2.112", features = [ "extra_traits" ] } +libc = { git = "https://github.com/rust-lang/libc", rev = "e470e3b6a1f940e0024d40d3b79fc73fe29c7f17", features = [ "extra_traits" ] } bitflags = "1.1" cfg-if = "1.0" diff --git a/src/sys/event.rs b/src/sys/event.rs index c648f5ebc8..9262accf2c 100644 --- a/src/sys/event.rs +++ b/src/sys/event.rs @@ -114,7 +114,6 @@ libc_bitflags!{ target_os = "ios", target_os = "macos", target_os = "netbsd", target_os = "openbsd"))] EV_RECEIPT; - EV_SYSFLAGS; } }