Re: [PATCH net-next] modules: allow modprobe load regular elf binaries

From: Alexei Starovoitov
Date: Fri Mar 09 2018 - 13:52:20 EST


On 3/9/18 10:23 AM, Andy Lutomirski wrote:


On Mar 9, 2018, at 10:15 AM, Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:



Oh, and for the record, I like Andy's proposal as well as dumping this
into a kernel module "blob" with the exception that this now would take
up unswapable memory, which isn't the nicest and is one big reason we
removed the in-kernel-memory firmware blobs many years ago.


It might not be totally crazy to back it by tmpfs.

interesting. how do you propose to do it?
Something like:
- create /umh_module_tempxxx dir
- mount tmpfs there
- copy elf into it and exec it?