summaryrefslogtreecommitdiff
path: root/regress/sys/kern/tame/generic/actions.h
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sys/kern/tame/generic/actions.h')
-rw-r--r--regress/sys/kern/tame/generic/actions.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/regress/sys/kern/tame/generic/actions.h b/regress/sys/kern/tame/generic/actions.h
new file mode 100644
index 00000000000..17b9e1fb2fa
--- /dev/null
+++ b/regress/sys/kern/tame/generic/actions.h
@@ -0,0 +1,29 @@
+/* $OpenBSD: actions.h,v 1.1 2015/08/24 09:21:10 semarie Exp $ */
+/*
+ * Copyright (c) 2015 Sebastien Marie <semarie@openbsd.org>
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+#ifndef _ACTIONS_H_
+#define _ACTIONS_H_
+
+typedef enum {
+ AC_EXIT,
+ AC_KILL,
+ AC_INET,
+ AC_TAME,
+ AC_ALLOWED_SYSCALLS,
+ AC_OPENFILE_RDONLY,
+} action_t;
+
+#endif /* _ACTIONS_H_ */