Re: execute a user process in the kernel
From: Bruce M Simpson (bms_at_spc.org)
Date: 09/23/04
- Previous message: Danny Braniss: "Re: Dell gx280 and acpi problems"
- In reply to: Gordon David: "Re: execute a user process in the kernel"
- Next in thread: Mike Meyer: "Re: execute a user process in the kernel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 23 Sep 2004 02:37:29 -0700 To: Gordon David <kylincsos@hotmail.com>
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.
BMS
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
- Previous message: Danny Braniss: "Re: Dell gx280 and acpi problems"
- In reply to: Gordon David: "Re: execute a user process in the kernel"
- Next in thread: Mike Meyer: "Re: execute a user process in the kernel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]