diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2015-10-15 17:58:37 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2015-10-15 17:59:01 +0200 |
| commit | 8d0aa4f7c0119ce68bcae6f704dc4149ca027179 (patch) | |
| tree | 5fc40b86aeb46ef57b37676d51f90da8f46a7f89 /executor | |
| parent | 2971d4d4e094ef9b847fa9bb6a2d0570702a8b7d (diff) | |
improvements for kdbus
Diffstat (limited to 'executor')
| -rw-r--r-- | executor/syscalls.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/executor/syscalls.h b/executor/syscalls.h index 46e333fac..203e742e1 100644 --- a/executor/syscalls.h +++ b/executor/syscalls.h @@ -5,6 +5,11 @@ struct call_t { int sys_nr; }; +// Note: this is x86_64 number +#ifndef __NR_memfd_create +#define __NR_memfd_create 319 +#endif + call_t syscalls[] = { {"open", __NR_open}, {"openat", __NR_openat}, @@ -66,6 +71,7 @@ call_t syscalls[] = { {"munlock", __NR_munlock}, {"mlockall", __NR_mlockall}, {"munlockall", __NR_munlockall}, + {"memfd_create", __NR_memfd_create}, {"unshare", __NR_unshare}, {"kcmp", __NR_kcmp}, {"futex", __NR_futex}, @@ -146,6 +152,7 @@ call_t syscalls[] = { {"fcntl$setlease", __NR_fcntl}, {"fcntl$notify", __NR_fcntl}, {"fcntl$setpipe", __NR_fcntl}, + {"fcntl$addseals", __NR_fcntl}, {"ptrace", __NR_ptrace}, {"ptrace$peek", __NR_ptrace}, {"ptrace$poke", __NR_ptrace}, @@ -271,6 +278,7 @@ call_t syscalls[] = { {"name_to_handle_at", __NR_name_to_handle_at}, {"open_by_handle_at", __NR_open_by_handle_at}, {"mount", __NR_mount}, + {"mount$fs", __NR_mount}, {"umount2", __NR_umount2}, {"pivot_root", __NR_pivot_root}, {"sysfs$1", __NR_sysfs}, |
