News: 0001654647

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

AppArmor In Linux 7.3 Adds Support For User-Space Compressed Policies

([Linux Security] 6 Hours Ago Faster Performance, Better For Embedded)


The AppArmor improvements have been merged for Linux 7.3 for this kernel security module providing per-program Linux application security controls around system resources. Most notable this cycle is being able to load user-space compressed policies.

AppArmor in Linux 7.3+ can now load policies that have been compressed in user-space and submitted to the kernel, rather than just having the kernel module compress these policies after being loaded. The benefit of user-space compressed policies is faster load times.

Maxime Bélair of Canonical who implemented this feature noted as much as 30% improved system time for systems with "big profiles" for AppArmor. The user-space compressed profiles can also choose to use a higher compression level than the default kernel Zstd level for more space savings.

The user-space compressed policies can also be more beneficial for embedded Linux systems in only storing compressed policies for those platforms typically with very limited memory capacities.

AppArmor also adds an audit mode for silencing certain messages, refactoring network mediation to use new patterns, and various code clean-ups and bug fixes. More details on these now-merged AppArmor changes for Linux 7.3 via [1]this pull request .

The Linux 7.3 merge window wraps up this weekend upon the v7.3-rc1 release.



[1] https://lore.kernel.org/lkml/997f83d3-18ef-4ca6-a1d6-39491b7a4c95@canonical.com/



An honest politician is one who when he is bought will stay bought.
-- Simon Cameron

There are honest journalists like there are honest politicians. When
bought they stay bought.
-- Bill Moyers