lkml.org 
[lkml]   [2014]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 13/15] sparc: add renameat2 syscall
From
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


\
 
 \ /
  Last update: 2014-05-15 19:01    [W:0.319 / U:0.628 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site