Constants: add MAX_ARG_STRLEN linux constant

This commit is contained in:
SolitudePy
2025-12-31 00:26:09 +02:00
parent 9c5950e595
commit d13de25b46
@@ -9,6 +9,10 @@ Linux-specific values that aren't found in debug symbols
import enum
from dataclasses import dataclass
# Exec argument limits
# Ref: include/uapi/linux/binfmts.h (linux.git commit f6031913338f1dad5bd8cb7286ff4e53644b6940)
MAX_ARG_STRLEN = 32 * 4096
KERNEL_NAME = "__kernel__"
"""The value hard coded from the Linux Kernel (hence not extracted from the layer itself)"""