diff options
author | Lance Roy | 2018-10-03 07:39:01 +0200 |
---|---|---|
committer | John Johansen | 2018-10-03 15:29:22 +0200 |
commit | 0fb871cc42537465e322f727bec6abfd375faa83 (patch) | |
tree | b3d3bab8c5d544e7deae540a70685b49b9545ff0 /include | |
parent | apparmor: Allow filtering based on secmark policy (diff) | |
download | kernel-qcow2-linux-0fb871cc42537465e322f727bec6abfd375faa83.tar.gz kernel-qcow2-linux-0fb871cc42537465e322f727bec6abfd375faa83.tar.xz kernel-qcow2-linux-0fb871cc42537465e322f727bec6abfd375faa83.zip |
apparmor: Replace spin_is_locked() with lockdep
lockdep_assert_held() is better suited to checking locking requirements,
since it won't get confused when someone else holds the lock. This is
also a step towards possibly removing spin_is_locked().
Signed-off-by: Lance Roy <ldr709@gmail.com>
Cc: John Johansen <john.johansen@canonical.com>
Cc: James Morris <jmorris@namei.org>
Cc: "Serge E. Hallyn" <serge@hallyn.com>
Cc: <linux-security-module@vger.kernel.org>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions