[apparmor] [PATCH 0/2] apparmor: conditionally use atomic _current_label_crit_section in common_file_perm
Ryan Lee
ryan.lee at canonical.com
Tue Jan 20 19:30:46 UTC 2026
common_file_perm can be called from both atomic an non-atomic contexts. In non-atomic
contexts, we should be using the non-atomic forms of the _current_label_crit_section
helpers. This patch series introduces and uses a helper for this purpose.
Ryan Lee (2):
apparmor: introduce adaptive_current_label_crit_section helpers
apparmor: use adaptive_current_label_crit_section helper in
common_file_perm
security/apparmor/include/cred.h | 38 ++++++++++++++++++++++++++++++++
security/apparmor/lsm.c | 4 ++--
2 files changed, 40 insertions(+), 2 deletions(-)
--
2.43.0
More information about the AppArmor
mailing list