diff options
| author | Stephen Smalley <stephen.smalley.work@gmail.com> | 2026-04-30 14:36:52 -0400 |
|---|---|---|
| committer | Paul Moore <paul@paul-moore.com> | 2026-05-05 16:02:28 -0400 |
| commit | 868f31e4061eca8c3cd607d79d954d5e54f204aa (patch) | |
| tree | 937261f5c68340e174aabfdafa0b79aad69b3841 /tools/perf/scripts/python/bin/net_dropmonitor-report | |
| parent | a02cd6805562305f936e807da83e253b719dd965 (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 'tools/perf/scripts/python/bin/net_dropmonitor-report')
0 files changed, 0 insertions, 0 deletions
