Re: [PATCH v1] audit: fix suffixed '/' filename matching in __audit_inode_child()

From: Ricardo Robaina
Date: Wed Dec 04 2024 - 08:57:00 EST


Hello everyone, thank you all who reviewed this patch!

On Wed, Nov 27, 2024 at 2:43 AM Paul Moore <paul@xxxxxxxxxxxxxx> wrote:
>
> > Anyway, regarding audit_compare_dname_path(), handling just the last '/' is
> > not enough - there might be any number of trailing slashes, not just one.
>
> Good reminder, thanks. I see that Ricardo has sent an updated patch,
> I haven't looked at it yet (waiting for the merge window to close),
> but hopefully he has taken that into account (hint: now would be a
> good time to verify that Ricardo <g>).
>

Yes, I did take this into account. As well as the other cleanup suggestions.

- Ricardo