execute a user process in the kernel

Bruce M Simpson bms at spc.org
Thu Sep 23 02:37:36 PDT 2004

On Thu, Sep 23, 2004 at 08:18:14AM +0000, Gordon David wrote:
> Kqueue is a good method to notify the user. But I want the code in the 
> kernel directly calls a user program.

This is Very, Very Hard indeed, because it's not something supported by
the system, but it should be possible. Look at create_init() and
start_init() and see if they can be adapted to your needs. The hard
part here is building the process image. Good luck.


More information about the freebsd-hackers mailing list