aboutsummaryrefslogtreecommitdiffstats
path: root/executor/defs.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-04-16 17:38:36 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-04-19 10:26:57 +0200
commit90d17ab8980674c6a59f47a062adccb37f99b88a (patch)
tree63c96e2abc46f63d9092f07b16c8e70458b11444 /executor/defs.h
parent0781895e0f8359843b9215ac6ad16925a46b2703 (diff)
prog: introduce call attributes
Add common infrastructure for syscall attributes. Add few attributes we want, but they are not implemented for now (don't affect behavior, this will follow).
Diffstat (limited to 'executor/defs.h')
-rw-r--r--executor/defs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/executor/defs.h b/executor/defs.h
index c8588b73a..db9c97b4b 100644
--- a/executor/defs.h
+++ b/executor/defs.h
@@ -1,5 +1,11 @@
// AUTOGENERATED FILE
+struct call_attrs_t {
+ uint64_t disabled;
+ uint64_t timeout;
+ uint64_t prog_timeout;
+};
+
#if GOOS_akaros
#define GOOS "akaros"