summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2014-08-22 15:39:36 +0200
committerDaniel Mack <zonque@gmail.com>2014-08-22 15:41:18 +0200
commita7d611f280b3eadafd6b411b659a321b4d6e63f4 (patch)
tree7491576d2a23599c4bea4da7e565cf2c8f8b5fae /src/shared
parent40a1eebde6be7ac3f1885147fc24e06ad1da260c (diff)
missing.h: add fake __NR_memfd_create for MIPS
We don't have the correct __NR_memfd_create syscall number yet, so set it to 0xffffffff for now to prevent compile time errors.
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/missing.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/missing.h b/src/shared/missing.h
index 3ff1a21720..3051cb5640 100644
--- a/src/shared/missing.h
+++ b/src/shared/missing.h
@@ -167,6 +167,9 @@ static inline int pivot_root(const char *new_root, const char *put_old) {
# define __NR_fanotify_mark 5296
# endif
# endif
+# ifndef __NR_memfd_create
+# define __NR_memfd_create 0xffffffff /* FIXME */
+# endif
#else
# ifndef __NR_fanotify_init
# define __NR_fanotify_init 338