Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.3 #27

Merged
merged 2 commits into from
Oct 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
unreleased
----------

0.3.0
-----
- Switch seccomp backend to seccompiler
- This adds several new structs that act as wrappers around the underlying seccompiler structs
- This adds several new structs that act as wrappers around the underlying
seccompiler structs
- Macros are defined in extrasafe now to replace the ones provided by
libseccomp for comparing and filtering syscall arguments
- Add `#[must_use]` attributes to several structs
- Add `#[must_use]` attributes to several structs where it was previously only
on methods that returned that struct
- Add Pipes builtin ruleset
- Allow `connect` syscall in dedicated method in Network builtin ruleset
- On musl, the ForkAndExec ruleset for starting new processes additionally
allows the pipe and pipe2 syscalls, which it appears to use for
synchronization purposes

0.2.0
-----
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "extrasafe"
version = "0.2.0"
version = "0.3.0"
edition = "2021"
authors = ["Harry Stern <harry@harrystern.net>",]
description = "Make your code extrasafe by preventing it from calling unneeded syscalls."
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ test:
# Run all tests with and without all features
test-ci:
cargo test --target=$(TARGET_TRIPLE) --tests --examples --all-features
# cargo test --target=$(TARGET_TRIPLE) --tests --examples --no-default-features
cargo test --target=$(TARGET_TRIPLE) --tests --examples --no-default-features

# Run clippy
lint:
Expand Down
Loading