[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHC9VhTtyQKVkWbBy9DTYiZzZCcMspfruPzx3Kf5ZgD4UzsX0g@mail.gmail.com>
Date: Tue, 19 Oct 2021 10:53:19 -0400
From: Paul Moore <paul@...l-moore.com>
To: Steve Grubb <sgrubb@...hat.com>
Cc: Eric Paris <eparis@...hat.com>, rgb@...hat.com,
linux-audit@...hat.com, wangweiyang2@...wei.com,
linux-kernel@...r.kernel.org,
Gaosheng Cui <cuigaosheng1@...wei.com>
Subject: Re: [PATCH -next, v3 2/2] audit: return early if the rule has a lower priority
On Tue, Oct 19, 2021 at 10:51 AM Steve Grubb <sgrubb@...hat.com> wrote:
> Just wondering something... If the first thing we do is to decide to return,
> should we have called the function in the first place? I wonder if this test
> should be used to break out of the rule iteration loops so that we don't keep
> calling only to return ?
Patches are welcome ... ;)
--
paul moore
www.paul-moore.com
Powered by blists - more mailing lists