[PATCH v2 1/3] support: Add helpers to create paths longer than PATH_MAX

Cristian Rodríguez crrodriguez@opensuse.org
Thu Jan 20 14:47:53 GMT 2022


On Wed, Jan 19, 2022 at 7:21 AM Siddhesh Poyarekar <siddhesh@gotplt.org> wrote:
>
> On 19/01/2022 13:51, Siddhesh Poyarekar via Libc-alpha wrote:
> > Add new helpers support_create_and_chdir_toolong_temp_directory and
> > support_chdir_toolong_temp_directory to create and descend into
> > directory trees longer than PATH_MAX.

Note that recentish linux kernel versions do not allow d_name 's
larger than kernel 's PATH_MAX definition, in that case getdents
returns EIO, this behavior is since kernel 5.5.


More information about the Libc-alpha mailing list