WARNING this is a beta - NOT a final release
AppArmor 4.0-beta2 was released 2024-03-06.
Introduction
AppArmor 4.0 is a major new release of the AppArmor that is in development, these are not complete release notes of everything in beta2 but just highlighting new or important developments
Apprmor 4.0 is a bridge release between older AppArmor 3.x policy and the newer AppArmor 4 style policy which introduces several new features that are not backwards compatible. As such AppArmor 4.0 will be a short lived release, and will not receive long term support. The following AppArmor 4.1 feature release is planned to be a regular release, please take this into account when including AppArmor 4.0 into a distro release. For questions around compatibility see the compatibility matrix.
These release notes cover changes between AppArmor-4.0~beta1 and AppArmor-4.0~beta2
Notes
- new dependency build dependency ** autoconf-archive **
This Release contains only Bug Fixes to AppArmor 4.0 beta1
Misc
- Some features will work with older kernels but many of the features in apparmor 4 with require a development kernel.
- The kernel portion of the project is maintained and pushed separately.
- AppArmor 4.0 contains all bug fixes and policy updates from apparmor 3.1
- Some new features will not be fully supported in some utilities. In these cases it was decided that releasing a new feature earlier had more benefit than delaying it for full utility support. Please see the feature support matrix.
Features
libraries
- check if AX_CHECK_COMPILE_FLAG is available (MR:1174)
policy compiler (aka apparmor_parser)
- fix policy generation for non-af_inet rules (MR:1175)
Utils
- fix coding style in mount rules (MR:1173)
- change string to r-string to avoid warning (MR:1172)
- Remove unnecessary variable source_is_path in mount rules (MR:1172)
- check for unknown fstype and options keywords, and fix issues uncovered by that (MR:1169)
- Fix writing 'mount {options,fstype} in ...' rules and make error check more readable (MR:1168)
- Add useful error message in test-mount.py (MR:1166)
- Fix typo in 'btrfs', and add '9p' filesystem (MR:1164)