diff options
author | Andrew Kaster <akaster@serenityos.org> | 2023-01-07 14:23:02 -0700 |
---|---|---|
committer | Andrew Kaster <andrewdkaster@gmail.com> | 2023-01-21 10:43:59 -0700 |
commit | c87557e9c1865fa1a6440de34ff6ce6fc858a2b7 (patch) | |
tree | 56b0c9037c9bce6e9eba78db957dc0aed7a6c244 /Kernel/API | |
parent | ad30b8c4477877c676b9c759c4714f5c5d6742e4 (diff) | |
download | serenity-c87557e9c1865fa1a6440de34ff6ce6fc858a2b7.zip |
Kernel+Libraries: Don't include limits.h from LibELF/Validation.h
The fallout of this is that Kernel/Syscalls/execve.cpp doesn't have
access to ARG_MAX anymore, so move that definition to Kernel/API as well
Diffstat (limited to 'Kernel/API')
-rw-r--r-- | Kernel/API/POSIX/sys/limits.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Kernel/API/POSIX/sys/limits.h b/Kernel/API/POSIX/sys/limits.h index 93609efb13..6de2f99b5a 100644 --- a/Kernel/API/POSIX/sys/limits.h +++ b/Kernel/API/POSIX/sys/limits.h @@ -25,4 +25,6 @@ #define NGROUPS_MAX 32 +#define ARG_MAX 65536 + #define PTHREAD_STACK_MIN (64 * 1024) // 64KiB |