aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Braun <marcel.braun@ost.ch>2026-05-05 15:59:08 +0200
committerMarcel Braun <marcel.braun@ost.ch>2026-05-05 15:59:08 +0200
commit156925495d7bc8bd684a346e2ab9eea12f8187cc (patch)
treef86fc3681794e218969f494466b768a610ba5c06
parent88ebc124ed0e703e02dfe96006d0d490e83de4fe (diff)
downloadkernel-156925495d7bc8bd684a346e2ab9eea12f8187cc.tar.xz
kernel-156925495d7bc8bd684a346e2ab9eea12f8187cc.zip
Add constants
-rw-r--r--kernel/include/kernel/filesystem/constants.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/kernel/include/kernel/filesystem/constants.hpp b/kernel/include/kernel/filesystem/constants.hpp
new file mode 100644
index 0000000..aff512a
--- /dev/null
+++ b/kernel/include/kernel/filesystem/constants.hpp
@@ -0,0 +1,13 @@
+#ifndef TEACH_OS_KERNEL_FILESYSTEM_CONSTANTS_HPP
+#define TEACH_OS_KERNEL_FILESYSTEM_CONSTANTS_HPP
+
+#include <cstddef>
+namespace kernel::filesystem::constants
+{
+ constexpr size_t inline max_path_length = 4096;
+
+ constexpr size_t inline symlink_max_path_length = 4096;
+ constexpr size_t inline symloop_max = 40;
+} // namespace kernel::filesystem::constants
+
+#endif \ No newline at end of file