Follow-up Comment #13, bugs #12044 (project findutils):
Ouch, safely_chdir_lstat() gets too complicated to be sure it will work as
expected.
I see one potential minor issue with findutils-nostatmountpt-1.patch:
In safely_chdir_lstat(), if wd_sanity_check() call fails and
RETRY_IF_SANITY_CHECK_FAILS == isfatal, then if fchdir(dotfd) also fails,
then you cannot proceed with directory traversal, since you cannot return to
proper place from the "wrong" directory.
I don't know when fchdir(dotfd) may fail, though.
_______________________________________________________
This item URL is:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=12044>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-findutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-findutils