summaryrefslogtreecommitdiff
path: root/Kernel/API/Unveil.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/API/Unveil.h')
-rw-r--r--Kernel/API/Unveil.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/Kernel/API/Unveil.h b/Kernel/API/Unveil.h
new file mode 100644
index 0000000000..7d116f8e41
--- /dev/null
+++ b/Kernel/API/Unveil.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2022, Liav A. <liavalb@hotmail.co.il>
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
+
+#pragma once
+
+#include <AK/EnumBits.h>
+#include <AK/Types.h>
+
+namespace Kernel {
+
+enum class UnveilFlags : u32 {
+ None = 0,
+ CurrentProgram = 1 << 0,
+ AfterExec = 1 << 1,
+};
+
+AK_ENUM_BITWISE_OPERATORS(UnveilFlags);
+
+}