diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ed5c54..99a789d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.2.4] - 2021-09-03 + +### Added + +- Action arguments + +### Changed + +- Refactored RedirectFunction action +- Updated to latest dependencies + +### Fixed + +- Linux LD_PRELOAD/LD_AUDIT library: Stability enhancements cont. + ## [0.2.3] - 2021-08-02 ### Added @@ -236,7 +251,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Project license -[unreleased]: https://github.com/WhiteBeamSec/WhiteBeam/compare/v0.2.3...HEAD +[unreleased]: https://github.com/WhiteBeamSec/WhiteBeam/compare/v0.2.4...HEAD +[0.2.4]: https://github.com/WhiteBeamSec/WhiteBeam/compare/v0.2.3...v0.2.4 [0.2.3]: https://github.com/WhiteBeamSec/WhiteBeam/compare/v0.2.2...v0.2.3 [0.2.2]: https://github.com/WhiteBeamSec/WhiteBeam/compare/v0.2.1...v0.2.2 [0.2.1]: https://github.com/WhiteBeamSec/WhiteBeam/compare/v0.2.0...v0.2.1 diff --git a/src/application/Cargo.toml b/src/application/Cargo.toml index 1f87f1b..e4c55e9 100644 --- a/src/application/Cargo.toml +++ b/src/application/Cargo.toml @@ -1,7 +1,7 @@ # General info [package] name = "whitebeam" -version = "0.2.3" +version = "0.2.4" authors = ["WhiteBeam Security, Inc."] edition = "2018" diff --git a/src/installer/Cargo.toml b/src/installer/Cargo.toml index d0b1067..d9cbf59 100644 --- a/src/installer/Cargo.toml +++ b/src/installer/Cargo.toml @@ -1,7 +1,7 @@ # General info [package] name = "whitebeam-installer" -version = "0.2.3" +version = "0.2.4" authors = ["WhiteBeam Security, Inc."] edition = "2018" diff --git a/src/library/Cargo.toml b/src/library/Cargo.toml index 54b1f51..1740e46 100644 --- a/src/library/Cargo.toml +++ b/src/library/Cargo.toml @@ -1,7 +1,7 @@ # General info [package] name = "libwhitebeam" -version = "0.2.3" +version = "0.2.4" authors = ["WhiteBeam Security, Inc."] edition = "2018" diff --git a/src/library/common/action/actions/open_file_descriptor.rs b/src/library/common/action/actions/open_file_descriptor.rs index 682ff86..e506e82 100644 --- a/src/library/common/action/actions/open_file_descriptor.rs +++ b/src/library/common/action/actions/open_file_descriptor.rs @@ -26,7 +26,7 @@ build_action! { OpenFileDescriptor (src_prog, hook, arg_id, args, _act_args, do_ let mut glibc_extensions = 0; if mode_no_ccs.contains("e") { glibc_extensions |= libc::O_CLOEXEC }; if mode_no_ccs.contains("x") { glibc_extensions |= libc::O_EXCL }; - let mode_clean = mode_no_ccs.replace(&['b', 'c', 'e', 'm', 'x'][..], ""); + let mode_clean = mode_no_ccs.replace(&['b', 'c', 'e', 'm', 't', 'x'][..], ""); // fopen() mode => open() flags let regular_flags: i32 = match mode_clean.as_ref() { "r" => libc::O_RDONLY, diff --git a/src/library/common/action/mod.rs b/src/library/common/action/mod.rs index bb2d34b..e6c63d5 100644 --- a/src/library/common/action/mod.rs +++ b/src/library/common/action/mod.rs @@ -58,7 +58,7 @@ pub fn process_action(src_prog: String, rule: db::RuleRow, hook: db::HookRow, ar pub fn process_post_action(_src_prog: String, hook_orig: db::HookRow, hook: db::HookRow, args: Vec) -> (bool, isize) { let do_return = false; let return_value = 0 as isize; - // TODO: Replace below with post action framework (0.2.5) + // TODO: Replace below with post action framework // TODO: May need fopen/fopen64 => fdopen match (hook_orig.symbol.as_ref(), hook.symbol.as_ref()) { ("symlink", "symlinkat") => { diff --git a/src/library/tests/Cargo.toml b/src/library/tests/Cargo.toml index b166098..8364fba 100644 --- a/src/library/tests/Cargo.toml +++ b/src/library/tests/Cargo.toml @@ -1,7 +1,7 @@ # General info [package] name = "libwhitebeam-tests" -version = "0.2.3" +version = "0.2.4" authors = ["WhiteBeam Security, Inc."] edition = "2018"