Skip to content
Commit bce4e7e9 authored by John Johansen's avatar John Johansen
Browse files

apparmor: reduce rcu_read_lock scope for aa_file_perm mediation

Now that the buffers allocation has changed and no longer needs
the full mediation under an rcu_read_lock, reduce the rcu_read_lock
scope to only where it is necessary.

Fixes: df323337

 ("apparmor: Use a memory pool instead per-CPU caches")
Signed-off-by: default avatarJohn Johansen <john.johansen@canonical.com>
parent 8f21a624
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment