From 002e8d84c5fec47636606aef5d2f16914c6097f3 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sun, 20 Jul 2014 15:43:42 +0200 Subject: add syscall numbers for the new renameat2 syscall it's like rename but with flags eg. to allow atomic exchange of two files, introduced in linux 3.15 commit 520c8b16505236fc82daa352e6c5e73cd9870cff --- arch/mips/bits/syscall.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/mips/bits') diff --git a/arch/mips/bits/syscall.h b/arch/mips/bits/syscall.h index f3d30d0b..dfce41f6 100644 --- a/arch/mips/bits/syscall.h +++ b/arch/mips/bits/syscall.h @@ -348,6 +348,7 @@ #define __NR_finit_module 4348 #define __NR_sched_setattr 4349 #define __NR_sched_getattr 4350 +#define __NR_renameat2 4351 /* Repeated with SYS_ prefix */ @@ -701,3 +702,4 @@ #define SYS_finit_module 4348 #define SYS_sched_setattr 4349 #define SYS_sched_getattr 4350 +#define SYS_renameat2 4351 -- cgit v1.2.1