Execute a program in kernel space in Linux

后端 未结 6 1648
难免孤独
难免孤独 2021-01-02 23:45

If I want to execute a user program (not a kernel module) in Linux kernel space, what options do I have?

I have looked at KML(kernel mode linux) but that is specific

6条回答
  •  太阳男子
    2021-01-03 00:19

    If you want to start a user program from kernel space, take a look at run_init_process(). It's the way kernel run the init program.

提交回复
热议问题