All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chandra Kapate <cs_kapate@yahoo.com>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] A clarification about sys32_execve/ia32_execve
Date: Fri, 04 Apr 2003 17:50:16 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590723705421@msgid-missing> (raw)

Hi,
I was looking at how execve syscalls work wrt to 32/64
syscalls. I have a basic question. I appreciate if
some once can clarify. I apologize if I am overlooking
some thing very obvious.

The ia32_execve (in ia32_entry.S) sets up out0, out1,
out2 and out3 before invoking sys32_execve. The out3
is setup for regs. But, in sys32_execve, the regs
is set locally using 9th parameters. I can see how
the regs is set using 9th parameter. I don't 
understand  why is set again in sys32_execve
when it is already set in out3 in ia32_execve and 
could have used as 4th parameter? Does args mis-match 
between ia32_execve and sys32_execve matter? 
OTH, sys_execve does use the regs set in ia64_execve.
Sorry, if i am overlooking something.

Thanks,
Chandra

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com


             reply	other threads:[~2003-04-04 17:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-04 17:50 Chandra Kapate [this message]
2003-04-07 21:26 ` [Linux-ia64] A clarification about sys32_execve/ia32_execve David Mosberger
2003-04-08 13:28 ` Chandra Kapate

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=marc-linux-ia64-105590723705421@msgid-missing \
    --to=cs_kapate@yahoo.com \
    --cc=linux-ia64@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.