public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Arjan van de Ven <arjanv@redhat.com>
To: Felix von Leitner <felix-kernel@fefe.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: sysenter on x86
Date: 12 Apr 2003 16:15:27 +0200	[thread overview]
Message-ID: <1050156926.1449.2.camel@laptop.fenrus.com> (raw)
In-Reply-To: <20030412135457.GB19869@codeblau.de>

[-- Attachment #1: Type: text/plain, Size: 621 bytes --]

On Sat, 2003-04-12 at 15:54, Felix von Leitner wrote:
> I just added sysenter support for linux-2.5 on x86 to the diet libc, but
> I noted that the original patch said user space should jump to
> 0xfffff000, which segfaults.  Jumping to 0xffffe000 works.
> 
> I suggest adding a comment somewhere in the kernel about the proper
> calling convention, because the glibc code is frankly not readable in
> this regard.

you HAVE to use the location as specified with the AT_SYSINFO elf flag.
The kernel is free to move this address around between builds, as long
as AT_SYSINFO gives the address for the location.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2003-04-12 14:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-12 13:54 sysenter on x86 Felix von Leitner
2003-04-12 14:15 ` Arjan van de Ven [this message]
2003-04-14 18:14   ` H. Peter Anvin

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=1050156926.1449.2.camel@laptop.fenrus.com \
    --to=arjanv@redhat.com \
    --cc=felix-kernel@fefe.de \
    --cc=linux-kernel@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