Skip to content

Commit

Permalink
bump versions and add changelog entry
Browse files Browse the repository at this point in the history
  • Loading branch information
acfoltzer committed Apr 10, 2020
1 parent 1b29df1 commit 6827451
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
### 0.2.0 (2020-04-10)

- Removed the compile-time Linux version check, and replaced it with a Cargo feature.

The Linux version check was overly restrictive, even on systems that did have the right kernel
version installed but had older headers in `/usr/include/linux`. Beyond that, this check made it
more difficult to compile on a different host than what's targeted.

There is now a `linux4_14` feature flag on `userfaultfd-sys`, which turns on and tests the extra
constants available in that version. Since `userfaultfd` did not make use of any of those newer
features, it doesn't have a feature flag yet.

Applications should take care when initializing with `UffdBuilder` to specify the features and
ioctls they require, so that an unsupported version will be detected at runtime.


### 0.1.0 (2020-04-07)

- Initial public release of userfaultfd-rs.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "userfaultfd"
version = "0.1.1-dev"
version = "0.2.0"
authors = ["Adam C. Foltzer <acfoltzer@fastly.com>"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand All @@ -13,4 +13,4 @@ bitflags = "1.0"
libc = "0.2.65"
nix = "0.17"
thiserror = "1.0.4"
userfaultfd-sys = { path = "userfaultfd-sys", version = "0.1.1-dev" }
userfaultfd-sys = { path = "userfaultfd-sys", version = "0.2.0" }
2 changes: 1 addition & 1 deletion linux-version/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "linux-version"
version = "0.1.1-dev"
version = "0.1.1"
authors = ["Adam C. Foltzer <acfoltzer@fastly.com>"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion userfaultfd-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "userfaultfd-sys"
version = "0.1.1-dev"
version = "0.2.0"
authors = ["Adam C. Foltzer <acfoltzer@fastly.com>"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down

0 comments on commit 6827451

Please sign in to comment.