diff options
| author | Maxime Bélair <maxime.belair@canonical.com> | 2024-02-01 09:09:50 +0100 |
|---|---|---|
| committer | John Johansen <john.johansen@canonical.com> | 2026-06-29 10:27:02 -0700 |
| commit | 17b5758bf35c7a113363cd7a350b7e6a251b80f4 (patch) | |
| tree | f5e42ab854c3b2beac7f18ba609449ffbc7d971e /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 37077e4cfad4905128853f83c9e4ddf6a31e04f3 (diff) | |
apparmor: Initial support for compressed policies
This patch allows policies to be compressed in userspace and be sent to
the kernel through the existing ".load" and ".replace" kernel interfaces.
The benefits of this approach are:
- Save kernel time when loading policies
- Allow userspace to provide a higher level of compression than the one
provided by the kernel (ZSTD_CLEVEL_DEFAULT), thus saving space.
- Allow small embedded systems to only store the compressed version of
policies in userspace, saving memory.
Userspace-compressed policies improve system time by up to ~30% for big
profiles.
Signed-off-by: Maxime Bélair <maxime.belair@canonical.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
