diff options
author | Ryan Lee <ryan.lee@canonical.com> | 2024-08-21 11:01:56 -0700 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2024-11-26 19:21:04 -0800 |
commit | 17d0d04f3c999e7784648bad70ce1766c3b49d69 (patch) | |
tree | 8e7e8861bc7d634ea425dcfd186c44c4a4a7f747 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | aaf20f870da056752f6386693cc0d8e25421ef35 (diff) | |
download | linux-17d0d04f3c999e7784648bad70ce1766c3b49d69.tar.gz linux-17d0d04f3c999e7784648bad70ce1766c3b49d69.tar.bz2 linux-17d0d04f3c999e7784648bad70ce1766c3b49d69.zip |
apparmor: allocate xmatch for nullpdb inside aa_alloc_null
attach->xmatch was not set when allocating a null profile, which is used in
complain mode to allocate a learning profile. This was causing downstream
failures in find_attach, which expected a valid xmatch but did not find
one under a certain sequence of profile transitions in complain mode.
This patch ensures the xmatch is set up properly for null profiles.
Signed-off-by: Ryan Lee <ryan.lee@canonical.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions