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>
This commit is contained in:
Scott Mayhew 2022-01-31 13:57:37 -05:00 • committed by Paul Moore
commit 6bc1968c14