In <[EMAIL PROTECTED]>, Gordon David <[EMAIL PROTECTED]> typed: > > >From: "Bjoern A. Zeeb" <[EMAIL PROTECTED]> > >To: Gordon David <[EMAIL PROTECTED]> > >CC: [EMAIL PROTECTED] > >Subject: Re: execute a user process in the kernel > >Date: Thu, 23 Sep 2004 08:02:18 +0000 (UTC) > > > >On Thu, 23 Sep 2004, Gordon David wrote: > > > > > That's the point. I do not want the userland program to check > /dev/fooctl > > > from time to time. I want the kernel to notify the userland program > > > instead. So how shall I do it? Maybe linker_load_file is a better way. > > > >man 2 kqueue ? > Kqueue is a good method to notify the user. But I want the code in the > kernel directly calls a user program.
How about starting with the code in kern/kern_exec.c? <mike -- Mike Meyer <[EMAIL PROTECTED]> http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"