Re: how does ld.so call ELF's entry?
ishare <[email protected]> Sun, 7 Apr 2013 14:56:58 +0800
| Newsgroups | org.kernel.vger.linux-assembly |
|---|---|
| Message-ID | <[email protected]> |
yeah! I have found the work is done through create_elf_tables() function. at early time kernel copy args to bprm structure , then copy it to user stack. I am dealing with one problem . When kernel execute "/bin/sh" , it load ld.so successfully , but without jumping to the elf's entry point ,it exit ,which cause kernel panic . how can I debug for this problem ? how to catch more information for resolving it? thanks!