[PATCHES] simple part of ->d_name stuff
Linus Torvalds
torvalds at linux-foundation.org
Thu Sep 11 16:56:14 UTC 2025
On Wed, 10 Sept 2025 at 22:01, Al Viro <viro at zeniv.linux.org.uk> wrote:
>
> So let's make sure that all functions we are passing
> &dentry->d_name are taking const struct qstr * and replace
> ->d_name with an anon union of struct qstr *__d_name and
> const struct qstr *d_name.
Ack, all these patches look ObviouslyCorrect(tm) to me, and seems a
good improvement.
Even if it won't catch the more involved cases that worry you more.
Linus
More information about the Linux-security-module-archive
mailing list