From f3171451e551cedee60bffb91e910fa5346bdb94 Mon Sep 17 00:00:00 2001 From: Ruben Nijveld Date: Sat, 3 Feb 2024 10:03:06 +0100 Subject: [PATCH] Release 0.2.2 --- CHANGELOG.md | 14 ++++++++++++++ Cargo.lock | 6 +++--- Cargo.toml | 2 +- docs/man/su.1.md | 2 +- docs/man/sudo.8.md | 2 +- docs/man/visudo.8.md | 2 +- 6 files changed, 21 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a5d61233d..e8f02c1c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## [0.2.2] - 2024-02-02 + +### Changed +- Several changes to the code to improve type safety +- Improved error message when a PTY cannot be opened +- Improved portability of the PAM bindings +- su: improved parsing of su command line options +- Add path information to parse errors originating from included files + +### Fixed +- Fixed a panic with large messages written to the syslog +- sudo: respect `--login` regardless of the presence of `--chdir` + ## [0.2.1] - 2023-09-21 ### Changed @@ -98,6 +111,7 @@ - Use canonicalized paths for the executed binaries - Simplified CLI help to only display supported actions +[0.2.2]: https://github.com/memorysafety/sudo-rs/compare/v0.2.1...v0.2.2 [0.2.1]: https://github.com/memorysafety/sudo-rs/compare/v0.2.0...v0.2.1 [0.2.0]: https://github.com/memorysafety/sudo-rs/compare/v0.2.0-dev.20230711...v0.2.0 [0.2.0-dev.20230711]: https://github.com/memorysafety/sudo-rs/compare/v0.2.0-dev.20230703...v0.2.0-dev.20230711 diff --git a/Cargo.lock b/Cargo.lock index e76db35b1..7155b9f28 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -16,9 +16,9 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" [[package]] name = "libc" -version = "0.2.147" +version = "0.2.153" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" +checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" [[package]] name = "log" @@ -38,7 +38,7 @@ dependencies = [ [[package]] name = "sudo-rs" -version = "0.2.1" +version = "0.2.2" dependencies = [ "glob", "libc", diff --git a/Cargo.toml b/Cargo.toml index 9d8c17aed..0111f4274 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "sudo-rs" description = "A memory safe implementation of sudo and su." -version = "0.2.1" +version = "0.2.2" license = "Apache-2.0 OR MIT" edition = "2021" repository = "https://github.com/memorysafety/sudo-rs" diff --git a/docs/man/su.1.md b/docs/man/su.1.md index e637177a4..7623f84cf 100644 --- a/docs/man/su.1.md +++ b/docs/man/su.1.md @@ -1,5 +1,5 @@ # NAME diff --git a/docs/man/sudo.8.md b/docs/man/sudo.8.md index 61df8d728..2d7e40c3a 100644 --- a/docs/man/sudo.8.md +++ b/docs/man/sudo.8.md @@ -1,5 +1,5 @@ # NAME diff --git a/docs/man/visudo.8.md b/docs/man/visudo.8.md index 7a02e1485..9fea0c46f 100644 --- a/docs/man/visudo.8.md +++ b/docs/man/visudo.8.md @@ -1,5 +1,5 @@ # NAME