diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-02-17 19:10:09 +0100 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-07-17 17:58:36 +0200 |
commit | 187b257e8a1e6efba8fd60638e88342acdea2b5f (patch) | |
tree | 85c60f5f290369a67031ee1601abdc2fe484d424 /src/basic/missing_syscall.h | |
parent | f9ddcf23d54a8c9673163e5cca12fa8ab4814f74 (diff) |
missing: add renameat2() definition for 64bit arm (#5378)
Following a similar commit in casync:
https://github.com/elogind/casync/pull/10
Diffstat (limited to 'src/basic/missing_syscall.h')
-rw-r--r-- | src/basic/missing_syscall.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/missing_syscall.h b/src/basic/missing_syscall.h index 84598c05b..5a392517c 100644 --- a/src/basic/missing_syscall.h +++ b/src/basic/missing_syscall.h @@ -197,6 +197,8 @@ static inline pid_t raw_getpid(void) { # define __NR_renameat2 316 # elif defined __arm__ # define __NR_renameat2 382 +# elif defined __aarch64__ +# define __NR_renameat2 276 # elif defined _MIPS_SIM # if _MIPS_SIM == _MIPS_SIM_ABI32 # define __NR_renameat2 4351 |