summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorRyan Lee <ryan.lee@canonical.com>2024-08-21 21:01:56 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-01-23 19:23:05 +0300
commit4c3f731b253b3454a0fd3d20351c823dd1dea933 (patch)
tree4208e26ff14b3b7d830ebe98665641b2cc450a36 /scripts/generate_rust_analyzer.py
parent35c2f2a46ae58cca1b91fb22c924c4a693bd0f30 (diff)
downloadlinux-4c3f731b253b3454a0fd3d20351c823dd1dea933.tar.xz
apparmor: allocate xmatch for nullpdb inside aa_alloc_null
commit 17d0d04f3c999e7784648bad70ce1766c3b49d69 upstream. 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> Cc: Paul Kramme <kramme@digitalmanufaktur.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions