execute a user process in the kernel
From: Gordon David (kylincsos_at_hotmail.com)
Date: 09/22/04
- Previous message: vijay singh: "jump from kernel to loader"
- Next in thread: Allan Fields: "Re: execute a user process in the kernel"
- Reply: Allan Fields: "Re: execute a user process in the kernel"
- Maybe reply: Gordon David: "Re: execute a user process in the kernel"
- Maybe reply: Gordon David: "Re: execute a user process in the kernel"
- Maybe reply: Jari Kirma: "Re: execute a user process in the kernel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: freebsd-hackers@freebsd.org Date: Wed, 22 Sep 2004 08:49:11 +0000
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
_______________________________________________
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: vijay singh: "jump from kernel to loader"
- Next in thread: Allan Fields: "Re: execute a user process in the kernel"
- Reply: Allan Fields: "Re: execute a user process in the kernel"
- Maybe reply: Gordon David: "Re: execute a user process in the kernel"
- Maybe reply: Gordon David: "Re: execute a user process in the kernel"
- Maybe reply: Jari Kirma: "Re: execute a user process in the kernel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|