]> git.ipfire.org Git - thirdparty/linux.git/commit
apparmor: account for in_atomic removal in common_file_perm
authorRyan Lee <ryan.lee@canonical.com>
Wed, 7 Jan 2026 19:47:02 +0000 (11:47 -0800)
committerJohn Johansen <john.johansen@canonical.com>
Thu, 29 Jan 2026 09:27:54 +0000 (01:27 -0800)
commit9b829c0aa96e9385b1e9a308d3eb054b95fbeda2
treeb26be32ca81d0b21cbb7185aef0d9ac163f59edd
parentc3f27ccdb2dce3f0f2814574d06017f46c11fa29
apparmor: account for in_atomic removal in common_file_perm

If we are not in an atomic context in common_file_perm, then we don't have
to use the atomic versions, resulting in improved performance outside of
atomic contexts.

Signed-off-by: Ryan Lee <ryan.lee@canonical.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/lsm.c