Re: [PATCH 2/2] seq_file: Require explicit initialization of struct seq_operations

From: Kees Cook

Date: Thu Oct 15 2026 - 02:00:54 EST




On October 14, 2026 10:46:02 PM PDT, Miguel Ojeda <miguel.ojeda.sandonis@xxxxxxxxx> wrote:
>On Thu, Oct 15, 2026 at 7:21 AM Greg KH <greg@xxxxxxxxx> wrote:
>>
>> Anyway, I don't know. I like this feature, and maybe it's going to be
>> used so infrequently it's not a big deal, but feels clunky.
>
>Perhaps we could call it something shorter, like `__explicit_init` or
>similar -- I don't see that substring (even without the double
>underscores) used anywhere.

That's nice, yeah. And it's not the first time we've changed the "spelling" of an attribute.

Does anyone object to that? I can replace it with that in my tree...

-Kees

--
Kees Cook