From: Miklos Szeredi <miklos@szeredi.hu>
To: linux-arch <linux-arch@vger.kernel.org>,
Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: Miklos Szeredi <mszeredi@suse.cz>, Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH 07/15] mips: add renameat2 syscall
Date: Thu, 15 May 2014 14:04:26 +0200 [thread overview]
Message-ID: <CAJfpegvKAKA-s6WP4Mbr104YvVREgzR_KPC=OA-h6K=oTTsKWw@mail.gmail.com> (raw)
In-Reply-To: <1397211951-20549-8-git-send-email-miklos@szeredi.hu>
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: Ralf Baechle <ralf@linux-mips.org>
Ralf,
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?
Thanks,
Miklos
> ---
> arch/mips/include/uapi/asm/unistd.h | 15 +++++++++------
> arch/mips/kernel/scall32-o32.S | 1 +
> arch/mips/kernel/scall64-64.S | 1 +
> arch/mips/kernel/scall64-n32.S | 1 +
> arch/mips/kernel/scall64-o32.S | 1 +
> 5 files changed, 13 insertions(+), 6 deletions(-)
>
> diff --git a/arch/mips/include/uapi/asm/unistd.h b/arch/mips/include/uapi/asm/unistd.h
> index d6e154a9e6a5..5805414777e0 100644
> --- a/arch/mips/include/uapi/asm/unistd.h
> +++ b/arch/mips/include/uapi/asm/unistd.h
> @@ -371,16 +371,17 @@
> #define __NR_finit_module (__NR_Linux + 348)
> #define __NR_sched_setattr (__NR_Linux + 349)
> #define __NR_sched_getattr (__NR_Linux + 350)
> +#define __NR_renameat2 (__NR_Linux + 351)
>
> /*
> * Offset of the last Linux o32 flavoured syscall
> */
> -#define __NR_Linux_syscalls 350
> +#define __NR_Linux_syscalls 351
>
> #endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */
>
> #define __NR_O32_Linux 4000
> -#define __NR_O32_Linux_syscalls 350
> +#define __NR_O32_Linux_syscalls 351
>
> #if _MIPS_SIM == _MIPS_SIM_ABI64
>
> @@ -699,16 +700,17 @@
> #define __NR_getdents64 (__NR_Linux + 308)
> #define __NR_sched_setattr (__NR_Linux + 309)
> #define __NR_sched_getattr (__NR_Linux + 310)
> +#define __NR_renameat2 (__NR_Linux + 311)
>
> /*
> * Offset of the last Linux 64-bit flavoured syscall
> */
> -#define __NR_Linux_syscalls 310
> +#define __NR_Linux_syscalls 311
>
> #endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */
>
> #define __NR_64_Linux 5000
> -#define __NR_64_Linux_syscalls 310
> +#define __NR_64_Linux_syscalls 311
>
> #if _MIPS_SIM == _MIPS_SIM_NABI32
>
> @@ -1031,15 +1033,16 @@
> #define __NR_finit_module (__NR_Linux + 312)
> #define __NR_sched_setattr (__NR_Linux + 313)
> #define __NR_sched_getattr (__NR_Linux + 314)
> +#define __NR_renameat2 (__NR_Linux + 315)
>
> /*
> * Offset of the last N32 flavoured syscall
> */
> -#define __NR_Linux_syscalls 314
> +#define __NR_Linux_syscalls 315
>
> #endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */
>
> #define __NR_N32_Linux 6000
> -#define __NR_N32_Linux_syscalls 314
> +#define __NR_N32_Linux_syscalls 315
>
> #endif /* _UAPI_ASM_UNISTD_H */
> diff --git a/arch/mips/kernel/scall32-o32.S b/arch/mips/kernel/scall32-o32.S
> index fdc70b400442..3245474f19d5 100644
> --- a/arch/mips/kernel/scall32-o32.S
> +++ b/arch/mips/kernel/scall32-o32.S
> @@ -577,3 +577,4 @@ EXPORT(sys_call_table)
> PTR sys_finit_module
> PTR sys_sched_setattr
> PTR sys_sched_getattr /* 4350 */
> + PTR sys_renameat2
> diff --git a/arch/mips/kernel/scall64-64.S b/arch/mips/kernel/scall64-64.S
> index dd99c3285aea..be2fedd4ae33 100644
> --- a/arch/mips/kernel/scall64-64.S
> +++ b/arch/mips/kernel/scall64-64.S
> @@ -430,4 +430,5 @@ EXPORT(sys_call_table)
> PTR sys_getdents64
> PTR sys_sched_setattr
> PTR sys_sched_getattr /* 5310 */
> + PTR sys_renameat2
> .size sys_call_table,.-sys_call_table
> diff --git a/arch/mips/kernel/scall64-n32.S b/arch/mips/kernel/scall64-n32.S
> index f68d2f4f0090..c1dbcda4b816 100644
> --- a/arch/mips/kernel/scall64-n32.S
> +++ b/arch/mips/kernel/scall64-n32.S
> @@ -423,4 +423,5 @@ EXPORT(sysn32_call_table)
> PTR sys_finit_module
> PTR sys_sched_setattr
> PTR sys_sched_getattr
> + PTR sys_renameat2 /* 6315 */
> .size sysn32_call_table,.-sysn32_call_table
> diff --git a/arch/mips/kernel/scall64-o32.S b/arch/mips/kernel/scall64-o32.S
> index 70f6acecd928..f1343ccd7ed7 100644
> --- a/arch/mips/kernel/scall64-o32.S
> +++ b/arch/mips/kernel/scall64-o32.S
> @@ -556,4 +556,5 @@ EXPORT(sys32_call_table)
> PTR sys_finit_module
> PTR sys_sched_setattr
> PTR sys_sched_getattr /* 4350 */
> + PTR sys_renameat2
> .size sys32_call_table,.-sys32_call_table
> --
> 1.8.1.4
>
next prev parent reply other threads:[~2014-05-15 12:04 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 [this message]
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
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='CAJfpegvKAKA-s6WP4Mbr104YvVREgzR_KPC=OA-h6K=oTTsKWw@mail.gmail.com' \
--to=miklos@szeredi.hu \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mszeredi@suse.cz \
--cc=ralf@linux-mips.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;
as well as URLs for NNTP newsgroup(s).