]> git.proxmox.com Git - mirror_ubuntu-impish-kernel.git/commit
UBUNTU: SAUCE: Audit: Fix for missing NULL check
authorCasey Schaufler <casey@schaufler-ca.com>
Tue, 1 Sep 2020 18:19:11 +0000 (11:19 -0700)
committerAndrea Righi <andrea.righi@canonical.com>
Mon, 28 Jun 2021 06:03:56 +0000 (08:03 +0200)
commit557ae3f9afb69b295a03bec3a79338c9e5fa0b0d
treeb75fec54680bd6f66d278f186aec4eb6e1edb60b
parent396c8ee6948029bfbcefe7521d8b5c9e664a65e6
UBUNTU: SAUCE: Audit: Fix for missing NULL check

AppArmor audit calls can have a NULL audit context,
so the LSM context audit needs to check for this.

Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Acked-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
kernel/audit.c