[PATCH v2 05/15] umh: Separate the user mode driver and the user mode helper support

Linus Torvalds torvalds at linux-foundation.org
Tue Jun 30 16:58:47 UTC 2020


On Mon, Jun 29, 2020 at 1:05 PM Eric W. Biederman <ebiederm at xmission.com> wrote:
>
> This makes it clear which code is part of the core user mode
> helper support and which code is needed to implement user mode
> drivers.
>
>  kernel/umd.c             | 146 +++++++++++++++++++++++++++++++++++++++
>  kernel/umh.c             | 139 -------------------------------------

I certainly don't object to the split, but I hate the name.

We have uml, umd and umh for user mode {linux, drivers, helper}
respectively.And honestly, I don't see the point in using an obscure
and unreadable TLA for something like this.

I really don't think it would hurt to write out even the full name
with "usermode_driver.c" or something like that, would it?

Then "umd" could be continued to be used as a prefix for the helper
functions, by all means, but if we startv renaming files, can we do it
properly?

                   Linus



More information about the Linux-security-module-archive mailing list