Results 1 to 1 of 1
Thread: Help --- execve function
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Apr 2005
Help --- execve function
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!