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, 21 Apr 2022 00:05:45 +0000 (17:05 -0700)
commit023033fe343cdf2ba83ab762f8de69241c7fc086
treee674d3cb74d7ae7bf766cbc4210138f49027ea21
parentdffeb81af5fe5eedccf5ea4a8a120d8c3accd26e
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