From 494aa47931a62e79b5b83fac5d44fd50e41b6585 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Roy=20Baron?= Date: Sat, 14 Dec 2024 19:57:44 +0100 Subject: [PATCH] Add changelog entry MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Björn Roy Baron --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 05707480..d160201b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Landlock changelog +## Unreleased + +### Breaking change + +[`AccessFs`](https://landlock.io/rust-landlock/landlock/enum.AccessFs.html) and [`AccessNet`](https://landlock.io/rust-landlock/landlock/enum.AccessNet.html) are no longer wrapped in the `BitFlags` type. All occurences of `BitFlags` and `BitFlags` have to be replaced with `AccessFs` and `AccessNet` respectively. There are also some changes to the methods of these types. Construction of an empty bitflag now has to be done through `AccessFs::EMPTY`/`AccessNet::EMPTY` instead of `BitFlags::EMPTY`, but construction using [`make_bitflags`](https://landlock.io/rust-landlock/landlock/macro.make_bitflags.html) is unchanged. + ## [v0.4.1](https://github.com/landlock-lsm/rust-landlock/releases/tag/v0.4.1) ### New API