On Sun, May 22, 2016 at 2:01 PM, Andy Lutomirski <[email protected]> wrote:
> On Sat, May 21, 2016 at 9:04 AM, Brian Gerst <[email protected]> wrote:
>> Instead of setting up a fake pt_regs context, put the kernel thread
>> function pointer and arg into the unused callee-restored registers
>> of struct fork_frame.
>>
>> Signed-off-by: Brian Gerst <[email protected]>
>
> Seems reasonable.  Can you make sure you explicitly test with
> something that uses the usermodehelper mechanism?
>
> --Andy

kernel_init() does the same thing to spawn init, so it wouldn't boot otherwise.

--
Brian Gerst

Reply via email to