summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorStephen Smalley <stephen.smalley.work@gmail.com>2026-04-30 21:36:52 +0300
committerPaul Moore <paul@paul-moore.com>2026-05-05 23:02:28 +0300
commit868f31e4061eca8c3cd607d79d954d5e54f204aa (patch)
tree937261f5c68340e174aabfdafa0b79aad69b3841 /Documentation
parenta02cd6805562305f936e807da83e253b719dd965 (diff)
downloadlinux-868f31e4061eca8c3cd607d79d954d5e54f204aa.tar.xz
selinux: shrink critical section in sel_write_load()
Currently sel_write_load() takes the policy mutex earlier than necessary. Move the taking of the mutex later. This avoids holding it unnecessarily across the vmalloc() and copy_from_user() of the policy data. Cc: stable@vger.kernel.org Signed-off-by: Stephen Smalley <stephen.smalley.work@gmail.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions