You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Release v1.1.0
Fix SELinux detection, prevent a double-free, and unbreak the build.
- the SELINUX_ENABLED branch of security_info::update() did not even
compile (it referenced this->selinux_state and ->state instead of the
->_state member) and, had it compiled, an unconditional `_state = 0`
after the if/else chain would have discarded the result. Correct the
member access and make the disabled case an else branch. SELinux now
reports enforcing/permissive/disabled/unsupported correctly.
- kernel_info and security_info own raw pointers with a destructor but no
copy operations, so an accidental copy double-freed them. Delete the
copy constructor and copy assignment on both.
- remove the declared-but-never-defined private helpers from
security_info, a stray <istream> include, and the unused parameters of
the example's main().
Bump the submodules to versions that build on current compilers: common
(its lowercase_map.hpp referred to a non-existent member and failed under
GCC's -Wtemplate-body; the new revision moves tsl/rva to nested
submodules) and throws (v1.1.0).
Refresh the GitHub Actions (checkout@v5, create/upload actions @v2,
push/pull_request triggers, submodules in the release checkout) and note
the security features and the SELinux build requirement in the README.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>