aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-03-22 13:24:02 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-03-25 12:46:05 +0200
commit2675f920652cc9218b4b3dc513c76b0546a5a5ae (patch)
tree8ae9084acf230839d4b7f2eeef2ba4549ee8d35d /executor/common.h
parent2e9d905410db5615d2e7d3418979d79249ac74f6 (diff)
sys/linux: add cgroup descriptions
Diffstat (limited to 'executor/common.h')
-rw-r--r--executor/common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/executor/common.h b/executor/common.h
index 9cc300fb8..c1fcbae88 100644
--- a/executor/common.h
+++ b/executor/common.h
@@ -42,6 +42,12 @@ typedef unsigned int uint32;
typedef unsigned short uint16;
typedef unsigned char uint8;
+#ifdef SYZ_EXECUTOR
+// Note: zircon max fd is 256.
+const int kInPipeFd = 250; // remapped from stdin
+const int kOutPipeFd = 251; // remapped from stdout
+#endif
+
#if defined(__GNUC__)
#define SYSCALLAPI
#define NORETURN __attribute__((noreturn))