diff options
| author | Marcel Braun <marcel.braun@ost.ch> | 2026-05-05 15:59:08 +0200 |
|---|---|---|
| committer | Marcel Braun <marcel.braun@ost.ch> | 2026-05-05 15:59:08 +0200 |
| commit | 156925495d7bc8bd684a346e2ab9eea12f8187cc (patch) | |
| tree | f86fc3681794e218969f494466b768a610ba5c06 | |
| parent | 88ebc124ed0e703e02dfe96006d0d490e83de4fe (diff) | |
| download | kernel-156925495d7bc8bd684a346e2ab9eea12f8187cc.tar.xz kernel-156925495d7bc8bd684a346e2ab9eea12f8187cc.zip | |
Add constants
| -rw-r--r-- | kernel/include/kernel/filesystem/constants.hpp | 13 |
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 |
