tools/nolibc/types: define PATH_MAX and MAXPATHLEN
authorWilly Tarreau <w@1wt.eu>
Mon, 7 Feb 2022 16:23:46 +0000 (17:23 +0100)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 24 Feb 2022 17:56:46 +0000 (09:56 -0800)
commit6559f4607a38ea8abc03a80561a273005dd4d2a7
tree2cad7087c689593d18450ddfd845fc1c4e7d5fa7
parentd18f9280fdb16599adaef91bc15e030bff9f46ff
tools/nolibc/types: define PATH_MAX and MAXPATHLEN

These ones are often used and commonly set by applications to fallback
values. Let's fix them both to agree on PATH_MAX=4096 by default, as is
already present in linux/limits.h.

Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/include/nolibc/types.h