diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2015-11-30 16:31:45 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2015-11-30 16:31:45 +0100 |
| commit | a63ac433ab3ac78cae4369594f445c26888bcbfc (patch) | |
| tree | ae54994b3d2bcab654f0967e3a79a15d67d15c02 /executor | |
| parent | d45c28cdcfe03f079faf0a69a93e4752ec034add (diff) | |
sys: add userfaultfd syscall
Diffstat (limited to 'executor')
| -rw-r--r-- | executor/syscalls.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/executor/syscalls.h b/executor/syscalls.h index cd920df23..68e58e7a5 100644 --- a/executor/syscalls.h +++ b/executor/syscalls.h @@ -12,6 +12,9 @@ struct call_t { #ifndef __NR_bpf #define __NR_bpf 321 #endif +#ifndef __NR_userfaultfd +#define __NR_userfaultfd 323 +#endif #define __NR_syz_openpts 1000001 #define __NR_syz_dri_open 1000002 @@ -60,6 +63,13 @@ call_t syscalls[] = { {"timerfd_create", __NR_timerfd_create}, {"timerfd_settime", __NR_timerfd_settime}, {"timerfd_gettime", __NR_timerfd_gettime}, + {"userfaultfd", __NR_userfaultfd}, + {"ioctl$UFFDIO_API", __NR_ioctl}, + {"ioctl$UFFDIO_REGISTER", __NR_ioctl}, + {"ioctl$UFFDIO_UNREGISTER", __NR_ioctl}, + {"ioctl$UFFDIO_WAKE", __NR_ioctl}, + {"ioctl$UFFDIO_COPY", __NR_ioctl}, + {"ioctl$UFFDIO_ZEROPAGE", __NR_ioctl}, {"mmap", __NR_mmap}, {"munmap", __NR_munmap}, {"mremap", __NR_mremap}, |
