aboutsummaryrefslogtreecommitdiffstats
path: root/executor/syscalls.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2015-12-27 12:20:00 +0100
committerDmitry Vyukov <dvyukov@google.com>2015-12-27 12:20:00 +0100
commit4d3db6d4c86f0b3162a39dbef1d1fc8031062b10 (patch)
tree1e6527d63d83bb600cc6a2f6aa009fc28cf679e5 /executor/syscalls.h
parent524a2ae38f5506c2948faa035d99debaa2d63b52 (diff)
host: detect unsupported syscalls
Also detect transitively unsupported syscalls, that is, syscalls for which all syscalls that can create input arguments are disabled.
Diffstat (limited to 'executor/syscalls.h')
-rw-r--r--executor/syscalls.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/executor/syscalls.h b/executor/syscalls.h
index 5c3046ad9..c2b0caa68 100644
--- a/executor/syscalls.h
+++ b/executor/syscalls.h
@@ -15,6 +15,7 @@ struct call_t {
#ifdef __x86_64__
call_t syscalls[] = {
{"open", 2},
+ {"open$dir", 2},
{"openat", 257},
{"creat", 85},
{"close", 3},
@@ -413,6 +414,7 @@ call_t syscalls[] = {
{"sched_yield", 24},
{"getrandom", 318},
{"membarrier", 324},
+ {"open$kdbus", 2},
{"ioctl$kdbus_bus_make", 16},
{"ioctl$kdbus_ep_make", 16},
{"ioctl$kdbus_ep_update", 16},
@@ -656,6 +658,7 @@ call_t syscalls[] = {
#ifdef __aarch64__
call_t syscalls[] = {
{"open", -1},
+ {"open$dir", -1},
{"openat", 56},
{"creat", -1},
{"close", 57},
@@ -1054,6 +1057,7 @@ call_t syscalls[] = {
{"sched_yield", 124},
{"getrandom", -1},
{"membarrier", -1},
+ {"open$kdbus", -1},
{"ioctl$kdbus_bus_make", 29},
{"ioctl$kdbus_ep_make", 29},
{"ioctl$kdbus_ep_update", 29},