]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
missing: add renameat2() definition for 64bit arm (#5378)
authorLennart Poettering <lennart@poettering.net>
Fri, 17 Feb 2017 18:10:09 +0000 (19:10 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 17 Feb 2017 18:10:09 +0000 (13:10 -0500)
Following a similar commit in casync:

https://github.com/systemd/casync/pull/10

src/basic/missing_syscall.h

index e6fd67cb9d2e6ce391b0fdc61e9a13d1eac31e06..9fc415656456e960b93b5c134784fbb22973854d 100644 (file)
@@ -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