public inbox for linux-assembly@vger.kernel.org
 help / color / mirror / Atom feed
From: ishare <june.tune.sea@gmail.com>
To: Sofiane Akermoun <akersof@gmail.com>
Cc: linux-assembly@vger.kernel.org
Subject: Re: how does ld.so call ELF's entry?
Date: Sun, 7 Apr 2013 14:56:58 +0800	[thread overview]
Message-ID: <20130407065658.GF9617@debian.localdomain> (raw)
In-Reply-To: <CAN0_x-JR2EAnN3_NZX72qRQ1DmT5-Gmd3aYw6Sw5R5_twyEiKg@mail.gmail.com>


  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! 

  reply	other threads:[~2013-04-07  6:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-07  2:19 how does ld.so call ELF's entry? ishare
2013-04-07  3:13 ` Sofiane Akermoun
     [not found] ` <CAN0_x-Je1=2mtN8tY2mvBa-X7_P0dBoG9KRh0P63uW91eE5H2Q@mail.gmail.com>
2013-04-07  3:39   ` ishare
2013-04-07  3:43     ` Chris Evans
2013-04-07  3:45       ` ishare
2013-04-07  4:45         ` Sofiane Akermoun
2013-04-07  4:52           ` ishare
2013-04-07  6:26             ` Sofiane Akermoun
2013-04-07  6:56               ` ishare [this message]
2013-04-07  7:47                 ` Sofiane Akermoun
2013-04-07  4:40     ` Sofiane Akermoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130407065658.GF9617@debian.localdomain \
    --to=june.tune.sea@gmail.com \
    --cc=akersof@gmail.com \
    --cc=linux-assembly@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox