Messages in this thread | | | From | Paul Moore <> | Date | Wed, 14 Sep 2022 07:52:26 -0400 | Subject | Re: [PATCH linux-next] selinux/hooks: remove the unneeded result variable |
| |
On Mon, Sep 12, 2022 at 5:24 AM <cgel.zte@gmail.com> wrote: > From: Xu Panda <xu.panda@zte.com.cn> > > Return the value avc_has_perm() directly instead of storing it in > another redundant variable. > > Reported-by: Zeal Robot <zealci@zte.com.cn> > Signed-off-by: Xu Panda <xu.panda@zte.com.cn> > --- > security/selinux/hooks.c | 24 +++++++++--------------- > 1 file changed, 9 insertions(+), 15 deletions(-)
Merged into selinux/next, thanks.
-- paul-moore.com
| |