summaryrefslogtreecommitdiff
path: root/scripts/dummy-tools/python3
diff options
context:
space:
mode:
authorStephen Smalley <stephen.smalley.work@gmail.com>2026-04-30 14:36:52 -0400
committerPaul Moore <paul@paul-moore.com>2026-05-05 16:02:28 -0400
commit868f31e4061eca8c3cd607d79d954d5e54f204aa (patch)
tree937261f5c68340e174aabfdafa0b79aad69b3841 /scripts/dummy-tools/python3
parenta02cd6805562305f936e807da83e253b719dd965 (diff)
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 'scripts/dummy-tools/python3')
0 files changed, 0 insertions, 0 deletions