Results 1 to 1 of 1
Hi,
Can someone help me from the struggle of reading source code
of Linux-2.4.26 version?
When I go to the statement execve("/sbin/init",argv_init,envp_init);
which is in static int init(void *unused) function. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-11-2006 #1Just Joined!
- Join Date
- Apr 2005
- Posts
- 3
Help --- execve function
Hi,
Can someone help me from the struggle of reading source code
of Linux-2.4.26 version?
When I go to the statement execve("/sbin/init",argv_init,envp_init);
which is in static int init(void *unused) function. the execve will
eventually call open_exec(filename) function. So, my question is
where the initialization of inode and dentry structure for "sbin"
and "init" are processed. Otherwise open_exec will return false,
and the init process can not go on.
Your help is very important for me!
Thank you.
Yang Liu


Reply With Quote
