From: "David S. Miller" <davem@davemloft.net>
To: sfr@canb.auug.org.au
Cc: akpm@osdl.org, linux-kernel@vger.kernel.org, torvalds@osdl.org,
ak@suse.de
Subject: Re: [PATCH] compat: add compat functions for *at syscalls
Date: Mon, 06 Feb 2006 16:01:40 -0800 (PST) [thread overview]
Message-ID: <20060206.160140.59716704.davem@davemloft.net> (raw)
In-Reply-To: <20060207105631.39a1080c.sfr@canb.auug.org.au>
From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Tue, 7 Feb 2006 10:56:31 +1100
> This adds compat version of all the remaining *at syscalls
> so that the "dfd" arguments can be properly sign extended.
>
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
I do the sign extension with tiny stubs in arch/sparc64/kernel/sys32.S
so that the arg frobbing does not consume a stack frame, which is what
happens if you do this in C code.
We need to revisit this at some point and make a way for all
compat platforms to do this with a portable table of some kind
that expands a bunch of macros defined by the platform.
next prev parent reply other threads:[~2006-02-07 0:01 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-06 23:56 Stephen Rothwell
2006-02-07 0:01 ` David S. Miller [this message]
2006-02-07 0:27 ` Stephen Rothwell
2006-02-07 1:15 ` Linus Torvalds
2006-02-07 8:44 ` David S. Miller
2006-02-07 8:43 ` David S. Miller
2006-02-07 9:39 ` Andi Kleen
2006-02-07 10:56 ` David S. Miller
2006-02-07 6:40 ` Stephen Rothwell
2006-02-07 9:31 ` Heiko Carstens
2006-02-07 13:29 ` Heiko Carstens
2006-02-07 22:57 ` David S. Miller
2006-02-07 9:25 ` Andi Kleen
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=20060206.160140.59716704.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=ak@suse.de \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sfr@canb.auug.org.au \
--cc=torvalds@osdl.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
Powered by JetHome