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

From
David Miller <davem@davemloft.net>
Date
2018-03-09 18:55:54
Also in
linux-api, lkml
Reply to
Alexei Starovoitov, 2018-03-09
From: Alexei Starovoitov <redacted>
Date: Fri, 9 Mar 2018 10:50:49 -0800
On 3/9/18 10:23 AM, Andy Lutomirski wrote:
quoted
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?
I think the idea is that it's an internal tmpfs mount that only
the kernel has access too.

And I don't think that even hurts your debuggability concerns.  The
user can just attach using the foo.ko file in the actual filesystem.
Thread (68 messages) 68 messages, 14 authors, last reply 2018-05-02
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help