Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 23 Sep 2021 20:15:54 -0400
From: Rich Felker <>
Subject: Re: Re: nftw: FTW_CHDIR defined but not implemented

On Sat, Sep 04, 2021 at 05:04:21PM +0200, Sören Tempel wrote:
> Ariadne Conill <> wrote:
> > Hi,
> Hello,
> > I can write a patch for it if we don't have one already.  It would be nice 
> > to get this one fixed in the Alpine 3.15 release cycle.
> No, we don't have one yet. Feel free to write one! :)

If it's simple enough I don't mind reviewing it, but I'd really like
to rewrite this whole function to use an explicit stack. As it is now,
it blows away the stack badly on deep trees unless you ensure it's
only called from threads with rather large stacks. There's no good
reason for such a limitation, especially on a system with a PATH_MAX.

Having just written dir tree walking code for another project, I've
got this on my mind, and might try doing it sometime soon.


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.