Re: execute a user process in the kernel

2004-09-23 Thread Gordon David
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 + (UTC) On Thu, 23 Sep 2004, Gordon David wrote: > That's the point. I do no

Re: execute a user process in the kernel

2004-09-23 Thread Gordon David
> On Wed, Sep 22, 2004 at 08:49:11AM +0000, Gordon David wrote: > > Hello, > > > > I have a question. Anyone would like to tell me how to execute a > > user process or shell script in the kernel? > > You probably really don't want to do this and if you d

execute a user process in the kernel

2004-09-22 Thread Gordon David
Hello, I have a question. Anyone would like to tell me how to execute a user process or shell script in the kernel? As we know, the kernel forks a process named initproc and executes /sbin/init, etc. If I want to execute a user level process, such as a simple printf("Hello world") in a driver,