lkml.org 
[lkml]   [2018]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH net-next] modules: allow modprobe load regular elf binaries
    From
    From: Alexei Starovoitov <ast@fb.com>
    Date: Fri, 9 Mar 2018 10:50:49 -0800

    > On 3/9/18 10:23 AM, Andy Lutomirski wrote:
    >> 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.

    \
     
     \ /
      Last update: 2018-03-09 19:56    [W:4.857 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site