From f46831f459250610df4a91725d7803162de23e83 Mon Sep 17 00:00:00 2001 From: apio Date: Sat, 12 Nov 2022 14:13:28 +0100 Subject: [PATCH] libc: Define PATH_MAX This restriction is actually not enforced by the kernel. It should be. --- libs/libc/include/luna/os-limits.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/libc/include/luna/os-limits.h b/libs/libc/include/luna/os-limits.h index 4d1ebb27..6e62f706 100644 --- a/libs/libc/include/luna/os-limits.h +++ b/libs/libc/include/luna/os-limits.h @@ -5,6 +5,7 @@ #define ATEXIT_MAX 32 #define NAME_MAX 64 +#define PATH_MAX 4096 #define PAGESIZE 4096 #define PAGE_SIZE 4096