On Mon, Sep 12, 2022 at 5:24 AM <cgel.zte@xxxxxxxxx> wrote: > From: Xu Panda <xu.panda@xxxxxxxxxx> > > Return the value avc_has_perm() directly instead of storing it in > another redundant variable. > > Reported-by: Zeal Robot <zealci@xxxxxxxxxx> > Signed-off-by: Xu Panda <xu.panda@xxxxxxxxxx> > --- > security/selinux/hooks.c | 24 +++++++++--------------- > 1 file changed, 9 insertions(+), 15 deletions(-) Merged into selinux/next, thanks. -- paul-moore.com