chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de28202
)
mising: add __NR_memfd_create syscall number for s390
author
Hendrik Brueckner
<brueckner@linux.vnet.ibm.com>
Wed, 23 Sep 2015 11:42:56 +0000
(13:42 +0200)
committer
Sven Eden
<yamakuzure@gmx.net>
Wed, 29 Mar 2017 08:45:10 +0000
(10:45 +0200)
src/basic/missing.h
patch
|
blob
|
history
diff --git
a/src/basic/missing.h
b/src/basic/missing.h
index a073e89da4c993e68928457b43dd775997b807d1..e18995e870bec90a998337582ed595be1baa9678 100644
(file)
--- a/
src/basic/missing.h
+++ b/
src/basic/missing.h
@@
-137,6
+137,8
@@
static inline int pivot_root(const char *new_root, const char *put_old) {
# define __NR_memfd_create 385
# elif defined __aarch64__
# define __NR_memfd_create 279
+# elif defined __s390__
+# define __NR_memfd_create 350
# elif defined _MIPS_SIM
# if _MIPS_SIM == _MIPS_SIM_ABI32
# define __NR_memfd_create 4354