mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ulrich Drepper <drepper@redhat.com>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>,
	Jakub Jelinek <jakub@redhat.com>, Ingo Molnar <mingo@elte.hu>
Subject: Re: glibc binaries w/ sysenter support
Date: Mon, 30 Dec 2002 20:49:59 -0800	[thread overview]
Message-ID: <3E1121F7.60808@redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0212301838050.1614-100000@home.transmeta.com>

Linus Torvalds wrote:

>  can you tell me what the new glibc does for different "clone()" system
> calls?

clone() and vfork() both use int $0x80.  The vfork() problem is obvious.
And the way we use clone() with a separate stack for the child it is
easy to see that we cannot prepare the stack appropriately for both
situations.  When the child is started it returns with a carefully
crafted stack which among other values find the start functions address
on the stack.

There might be a way to make this use int and vsyscall at the same time
but I don't think it is worth it.

-- 
--------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------


      reply	other threads:[~2002-12-31  4:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-29 19:51 Ulrich Drepper
2002-12-29 23:51 ` Linus Torvalds
2002-12-31  2:52 ` Linus Torvalds
2002-12-31  4:49   ` Ulrich Drepper [this message]

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=3E1121F7.60808@redhat.com \
    --to=drepper@redhat.com \
    --cc=jakub@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=torvalds@transmeta.com \
    /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

Powered by JetHome