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>
Mon, 14 Feb 2022 18:48:54 +0000 (10:48 -0800)
commit0a3e789c9b2972d857956fc5e06d0fd09e045bb2
tree8deb8769ea4d98e42ee8bbf37c4f65565511b091
parentd7d515141728849d2d32f0d46bc97d165c3545a9
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