From 2aca04b209a1fdba618052304be1d211000921bb Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Tue, 26 Mar 2024 17:58:35 -0400 Subject: kernel: vfs: Add PATH_MAX define Signed-off-by: Ian Moffett --- sys/include/sys/vfs.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/include/sys/vfs.h b/sys/include/sys/vfs.h index c1bef53..e219cf7 100644 --- a/sys/include/sys/vfs.h +++ b/sys/include/sys/vfs.h @@ -34,6 +34,9 @@ #include #include +/* Max path length */ +#define PATH_MAX 1024 + #if defined(_KERNEL) extern struct vnode *g_root_vnode; -- cgit v1.2.3