summaryrefslogtreecommitdiffstats
path: root/security/selinux/netport.c
diff options
context:
space:
mode:
authorScott Mayhew <smayhew@redhat.com>2022-01-31 19:57:37 +0100
committerPaul Moore <paul@paul-moore.com>2022-02-01 22:37:17 +0100
commit6bc1968c14e91e03c0851b9c5c5330d91305a853 (patch)
tree99084eb18cf13d544f0d1f1bca7a7ac310628a21 /security/selinux/netport.c
parentselinux: Fix selinux_sb_mnt_opts_compat() (diff)
downloadlinux-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