execute a user process in the kernel

Gordon David kylincsos at hotmail.com
Wed Sep 22 01:50:01 PDT 2004


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, what shall I do?


Thanks

Gordon

_________________________________________________________________
ÏíÓÃÊÀ½çÉÏ×î´óµÄµç×ÓÓʼþϵͳ¡ª MSN Hotmail¡£  http://www.hotmail.com  



More information about the freebsd-hackers mailing list