Re: [PATCH] selinux: preserve user SID across nested backing files

From: Karl Mehltretter

Date: Thu Aug 20 2026 - 14:04:44 EST


On Thu, Aug 20, 2026 at 04:32:28PM +0100, Amir Goldstein wrote:
> Sigh, this is so confusing.
>
> The fix looks correct to me but I would use a helper selinux_user_file() akin
> to file_user_path() instead of open coding the condition above.
>

Good idea. I initially had a helper and should have kept it.

I'll send a v2.

Thanks,
Karl