diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-02-17 19:10:09 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-02-17 13:10:09 -0500 |
commit | 925c81cd2074314a859ac4e99aaa763b0be46ed0 (patch) | |
tree | aa39f6f69b2efd5b339fccc2d15f8ab898984a24 /src/basic | |
parent | c5d3ee266be21fbee7b16d39ebb514da6c5d3c44 (diff) |
missing: add renameat2() definition for 64bit arm (#5378)
Following a similar commit in casync:
https://github.com/systemd/casync/pull/10
Diffstat (limited to 'src/basic')
-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 e6fd67cb9d..9fc4156564 100644 --- a/src/basic/missing_syscall.h +++ b/src/basic/missing_syscall.h @@ -194,6 +194,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 |