[PATCH v3 1/5] xfs: fix capability check in xfs
Carlos Maiolino
cem at kernel.org
Thu Jul 2 12:24:50 UTC 2026
> > + ns_capable_noaudit(&init_user_ns, CAP_FOWNER),
> > + &tp);
>
> This still adds an extra tab. Like much (but not all) of the kernel
> we use two-tabs by default, which is also in the other two hinks. This
> now adds a third. Just keep it as it was:
>
> error = xfs_trans_alloc_ichange(ip, udqp, gdqp, NULL,
> ns_capable_noaudit(&init_user_ns, CAP_FOWNER), &tp);
>
>
FWIW, I also fixed these in the patch 4 which I had screwed up too :)
More information about the Linux-security-module-archive
mailing list