linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: miklos@szeredi.hu
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 13/15] sparc: add renameat2 syscall
Date: Thu, 15 May 2014 12:49:31 -0400 (EDT)	[thread overview]
Message-ID: <20140515.124931.1801842437410594819.davem@davemloft.net> (raw)
In-Reply-To: <CAJfpegsAUQZ0mxpqOeVj2SERT41Caw77irBHSTPMc0CaQp=uYA@mail.gmail.com>

From: Miklos Szeredi <miklos@szeredi.hu>
Date: Thu, 15 May 2014 14:22:33 +0200

> On Fri, Apr 11, 2014 at 12:25 PM, Miklos Szeredi <miklos@szeredi.hu> wrote:
>> From: Miklos Szeredi <mszeredi@suse.cz>
>>
>> Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
>> Cc: David S. Miller <davem@davemloft.net>
> 
> David,
> 
> I'll be sending a batch of patches with arch support for the renameat2
> syscall to Linus next week.  If you'd like me to send this as well,
> could you please ACK it?

For the 32-bit compat case on sparc64, you need to add a wrapper to
sign extend the oldfd and newfd arguments.

This usually occurs in arch/sparc/kernel/sys32.S, probably something
like:

SIGN2(sys32_renameat2, sys_renameat2, %o0, %o2)

and then you hook up sys32_renameat2 instead of sys_renameat2 in the
32-bit compat syscall table in syscall_64.S

  reply	other threads:[~2014-05-15 16:49 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-11 10:25 [PATCH 00/15] wire up renameat2 syscall for various archs Miklos Szeredi
2014-04-11 10:25 ` [PATCH 01/15] i386: add renameat2 syscall Miklos Szeredi
2014-04-11 21:33   ` [tip:x86/urgent] i386: Wire up the renameat2() syscall tip-bot for Miklos Szeredi
2014-04-11 10:25 ` [PATCH 02/15] arm: __NR_syscalls fix Miklos Szeredi
2014-04-11 10:33   ` Russell King - ARM Linux
2014-04-11 11:50     ` Miklos Szeredi
2014-04-11 11:54       ` Russell King - ARM Linux
2014-04-11 12:02         ` Miklos Szeredi
2014-04-11 12:45           ` Russell King - ARM Linux
2014-04-23 10:27             ` Russell King - ARM Linux
2014-04-23 12:00               ` Miklos Szeredi
2014-04-11 10:25 ` [PATCH 03/15] arm: add renameat2 syscall Miklos Szeredi
2014-04-11 10:35   ` Russell King - ARM Linux
2014-04-11 11:48     ` Miklos Szeredi
2014-04-11 17:39       ` David Miller
2014-04-11 10:25 ` [PATCH 04/15] arm64: __NR_compat_syscalls fix Miklos Szeredi
2014-04-22 16:58   ` Catalin Marinas
2014-04-23  8:46     ` Miklos Szeredi
2014-04-23  9:40       ` Catalin Marinas
2014-04-11 10:25 ` [PATCH 05/15] arm64: add renameat2 syscall Miklos Szeredi
2014-04-22 17:01   ` Catalin Marinas
2014-04-11 10:25 ` [PATCH 06/15] m68k: " Miklos Szeredi
2014-04-14 16:29   ` Geert Uytterhoeven
2014-04-21  8:10   ` Geert Uytterhoeven
2014-04-22 15:32     ` Miklos Szeredi
2014-04-11 10:25 ` [PATCH 07/15] mips: " Miklos Szeredi
2014-04-23 11:40   ` James Hogan
2014-05-15 12:04   ` Miklos Szeredi
2014-04-11 10:25 ` [PATCH 08/15] ia64: " Miklos Szeredi
2014-05-15 12:10   ` Miklos Szeredi
2014-05-15 16:55     ` Tony Luck
2014-04-11 10:25 ` [PATCH 09/15] parisc: " Miklos Szeredi
2014-04-19 18:54   ` Helge Deller
2014-04-22 15:33     ` Miklos Szeredi
2014-04-11 10:25 ` [PATCH 10/15] powerpc: " Miklos Szeredi
2014-05-15 12:16   ` Miklos Szeredi
2014-04-11 10:25 ` [PATCH 11/15] s390: NR_syscalls fix Miklos Szeredi
2014-04-11 11:24   ` Martin Schwidefsky
2014-04-11 11:52     ` Miklos Szeredi
2014-04-11 10:25 ` [PATCH 12/15] s390: add renameat2 syscall Miklos Szeredi
2014-04-11 10:25 ` [PATCH 13/15] sparc: " Miklos Szeredi
2014-05-15 12:22   ` Miklos Szeredi
2014-05-15 16:49     ` David Miller [this message]
2014-05-16  9:09       ` Miklos Szeredi
2014-05-19  0:52         ` David Miller
2014-04-11 10:25 ` [PATCH 14/15] xtensa: " Miklos Szeredi
2014-05-15 12:25   ` Miklos Szeredi
2014-05-16 17:29     ` Max Filippov
2014-04-11 10:25 ` [PATCH 15/15] asm-generic: " Miklos Szeredi
2014-04-23 11:46   ` James Hogan
2014-04-14 16:32 ` [PATCH 00/15] wire up renameat2 syscall for various archs Geert Uytterhoeven
2014-04-14 20:11   ` Miklos Szeredi
2014-04-15  7:45     ` Geert Uytterhoeven

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=20140515.124931.1801842437410594819.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=miklos@szeredi.hu \
    /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;
as well as URLs for NNTP newsgroup(s).