From 4d3db6d4c86f0b3162a39dbef1d1fc8031062b10 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sun, 27 Dec 2015 12:20:00 +0100 Subject: host: detect unsupported syscalls Also detect transitively unsupported syscalls, that is, syscalls for which all syscalls that can create input arguments are disabled. --- executor/syscalls.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'executor') 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}, -- cgit mrf-deployment