Re: Rust kernel policy

Steven Rostedt
2025-02-21T15:59:32Z

On Fri, 21 Feb 2025 13:16:22 +0100
Danilo Krummrich <dakr@kernel.org> wrote:

> However, I also want to clarify that I think that maintainers *do* have a veto
> when it comes to how the API they maintain is used in the kernel. For instance,
> when an API is abused for things it has not been designed for, which may hurt
> the kernel as a whole.

I believe that the maintainer should have the right to define what the API
is. And as long as users follow the use cases of the API, it should be
perfectly fine.

This isn't a user space API, where Linus has basically said if you expose
something to user space and user space starts using it in a way you didn't
expect, that's your problem.

But I hope that doesn't go with the kernel. To make things faster, I do
expose internals of the tracing in the header files. If someone starts
using those internals for things that they were not made for, I hope I have
the right as a maintainer to tell them they can't do that.

-- Steve