diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2015-01-26 16:51:17 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-01-27 00:35:45 +0100 |
commit | 7fd68245a1778e187376736285fd89b968b9731c (patch) | |
tree | 0169577511f0e3cfcf402d2e2d9e34c9f4a19998 /src | |
parent | dbdee28bfadd6d8bd93cb34c85ce1fc325dd8120 (diff) |
missing: define correct syscall numbers for memfd_create() and getrandom() on aarch64
Diffstat (limited to 'src')
-rw-r--r-- | src/shared/missing.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/shared/missing.h b/src/shared/missing.h index 5b95b0006f..f8721e6b99 100644 --- a/src/shared/missing.h +++ b/src/shared/missing.h @@ -136,6 +136,8 @@ static inline int pivot_root(const char *new_root, const char *put_old) { # define __NR_memfd_create 319 # elif defined __arm__ # define __NR_memfd_create 385 +# elif defined __aarch64__ +# define __NR_memfd_create 279 # elif defined _MIPS_SIM # if _MIPS_SIM == _MIPS_SIM_ABI32 # define __NR_memfd_create 4354 @@ -165,8 +167,10 @@ static inline int memfd_create(const char *name, unsigned int flags) { # define __NR_getrandom 318 # elif defined(__i386__) # define __NR_getrandom 355 -# elif defined(__arm__) || defined(__aarch64__) +# elif defined(__arm__) # define __NR_getrandom 384 +# elif defined(__aarch64__) +# define __NR_getrandom 278 # elif defined(__ia64__) # define __NR_getrandom 1339 # elif defined(__m68k__) |