Re: [PATCH -next, v3 2/2] audit: return early if the rule has a lower priority

From: Paul Moore
Date: Tue Oct 19 2021 - 10:54:45 EST


On Tue, Oct 19, 2021 at 10:51 AM Steve Grubb <sgrubb@xxxxxxxxxx> 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