AppArmor 4.0.2 is a bug fix release of the user space components of the AppArmor security project. The kernel portion of the project is maintained and pushed separately.

This version of the userspace should work with all kernel versions from 2.6.15 and later (some earlier version of the kernel if they have the apparmor patches applied).

Important Note

AppArmor 4.0.2 does not address interactions between the bwrap_userns_restrict and flatpak profiles. The bwrap profile is not enabled by default, if enabled the flatpak profile needs to be updated.

Obtaining the Release

There are two ways to obtain this release either through gitlab or a tarball in launchpad.

Important note: the gitlab release tarballs differ from the launchpad release tarballs. The launchpad release tarball has a couple processing steps already performed:

  • libapparmor autogen.sh is already done, meaning distros only need to use ./configure in their build setup
  • the docs for everything but libapparmor have already been built

gitlab

Changes in this Release

These release notes cover all changes between 4.0.1 (b0eb95457bc2de401920308869d016e696c73664) ) and 4.0.2 (84a6bc1b6dcdfeabb1ed3597f01e314f3bcee5c1) on the apparmor-4.0 branch.

Init

Libraries

  • Partial revert of “libapparmor: add log parser support for saddr, daddr, src and dest (MR:1250)
  • Honor global CFLAGS when building Python library (MR:1254)
  • add log parser support for saddr, daddr, src and dest (MR:1239, AABUG:397)

Policy Compiler (a.k.a apparmor_parser)

Utils

apparmor.vim

  • add support for userns and the unconfined flag (AABUG:396)

Policy

abstractions

profiles

  • bwrap-userns-restrict
    • add mediate_deleted to bwrap (MR:1272)
  • chromium
  • firefox
    • allow /etc/writable/timezone and update UPower DBus access (MR:1253, AABUG:409)
  • php-fpm
  • plasmashell
  • samba
  • samba-dcerpcd
  • wike
    • fix location for wike profile and add unconfined profile for balena-etcher (MR:1221)

Infrastructure