diff options
author | Scott Mayhew <smayhew@redhat.com> | 2022-01-31 19:57:37 +0100 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2022-02-01 22:37:17 +0100 |
commit | 6bc1968c14e91e03c0851b9c5c5330d91305a853 (patch) | |
tree | 99084eb18cf13d544f0d1f1bca7a7ac310628a21 /security/selinux/netport.c | |
parent | selinux: Fix selinux_sb_mnt_opts_compat() (diff) | |
download | linux-6bc1968c14e91e03c0851b9c5c5330d91305a853.tar.xz linux-6bc1968c14e91e03c0851b9c5c5330d91305a853.zip |
selinux: try to use preparsed sid before calling parse_sid()
Avoid unnecessary parsing of sids that have already been parsed via
selinux_sb_eat_lsm_opts().
Signed-off-by: Scott Mayhew <smayhew@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux/netport.c')
0 files changed, 0 insertions, 0 deletions