[PATCH v3 10/16] eal: limit maximum runtime directory and socket paths
Stephen Hemminger
stephen at networkplumber.org
Mon Dec 8 20:14:27 CET 2025
On Mon, 8 Dec 2025 08:58:22 +0000
Bruce Richardson <bruce.richardson at intel.com> wrote:
> On Fri, Dec 05, 2025 at 12:11:39PM -0800, Stephen Hemminger wrote:
> > Linux (and FreeBSD) has a limitation of 108 characters for
>
> 108 characters -> "just over 100 characters"
>
> make it generic to cover both linux and bsd
>
> > any unix domain socket path. Therefore DPDK would not work
> > if a really large runtime directory was used.
> >
> > Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
>
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>
>
Since Windows defines UNIX_PATH_MAX in afunix.h probably
best to just compute the size based on sun_path which is what
follow up patch does.
More information about the dev
mailing list