Comments (11)
wip changelog
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d779c24..93305e9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,16 +7,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased
### Added
-- `ScmpArgCompare::new` is now a `const fn`.
+- `ScmpVersion::current()` as rustifyed replacement for `get_library_version()`.
+- `ScmpFilterContext::get_no_new_privs_bit()` to query the state of the nnp bit.
+- `ScmpArch::native()` as rustifyed replacement for `get_native_arch()`.
+- `ScmpFilterContext::as_ptr()`
+- `scmp_cmp!`
### Changed
+- `ScmpArgCompare::new` is now a `const fn`.
- `ScmpAction::Errno` now holds an `i32` to make `ScmpAction::Errno(libc::EPERM)`
work without casting.
- `ScmpAction::Trace` now holds an `u16` since you can not use any more bits anyway.
+- `set_filter_attr` takes `&mut self` rather than `&self`.
+- `export_{pfc,bpf}` take a `&mut` reference instead of consuming ownership.
+- `export_{pfc,bpf}` take all types which implement `AsRawFd`.
+- masked equal
+
+### Deprecated
+- `get_library_version()` use `ScmpVersion::current()` instead.
+- `get_native_arch()` use `ScmpArch::native()` instead.
### Removed
- `Clone` on `ScmpFilterContext` because it cauesed double-free/use-after-free
in safe code.
+- `ScmpData` (was unused)
+- `.to_native()` functions
### Security
- Fixed double-free/use-after-free when cloning `ScmpFilterContext`.
from libseccomp-rs.
When #45 and #41 (work is done, just waiting on #47) are merged/closed, I think we have all API breaking changes done and can focus on releasing 0.2.0.
from libseccomp-rs.
All works done. Thank you for your great contributions!! @rusty-snake
from libseccomp-rs.
I cannot see notify
module in docs.
When I generated the docs using cargo doc --no-deps
in local, I was able to see the notify
doc. I'm not sure...
from libseccomp-rs.
#[cfg(libseccomp_v2_5)]
pub mod notify;
from libseccomp-rs.
Dose cargo doc
ignore cfg
?
from libseccomp-rs.
The docs.rs environment doesn't have libseccomp (>=2.5) while you locally have. I guess.
from libseccomp-rs.
Probably we need to #[cfg(any(libseccomp_v2_5, docsrs))]
or similar.
from libseccomp-rs.
Thank you for the information. I see.... should we fix it and release v0.2.1
or v3.0.0
right now?
from libseccomp-rs.
I think a 0.2.1 - fix docs.rs build
release is fine.
from libseccomp-rs.
Sure, I'll create a PR. sorry for inconvenience.
from libseccomp-rs.
Related Issues (20)
- Add new syscalls for the libseccomp v2.5.4 HOT 1
- Rust 2021 edition HOT 1
- Builder like interface for ScmpFilterContext HOT 6
- Ideas for a higher level notification API HOT 6
- CI Warnings and use of actions-rs actions HOT 5
- Incorrect `socket` arg comparison example HOT 1
- Update bitflags dependency
- -
- Reconsider SeccompErrno design for `ScmpFilterAttr::ApiSysRawRc` HOT 1
- Rename some functions HOT 2
- RFC: Drop libseccomp < 2.5.0 support HOT 2
- Const syscall names for new arches in 0.4.0
- Update CHANGELOG for new syscalls
- Add a31a53d063d54b57428bc292e25a40d981d60537 to CHANGELOG.md
- Cherry-pick suggestion for release/v0.3.v branch HOT 1
- Build only fails at linker stage if libsseccomp is missing HOT 2
- [Release] Prepare for v0.3.1 HOT 2
- [Bug] Test failure on several arches
- [Bug] Test failure on several arches HOT 3
- Compare Argument More Than Once in a Rule HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libseccomp-rs.