Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Vuln-Dev
[Top] [All Lists]

Re: Changes to the filesystem while find is running - comments?

Subject: Re: Changes to the filesystem while find is running - comments?
Date: Mon, 22 Nov 2004 21:33:14 +0300
Hi,

On Mon, Nov 22, 2004 at 10:05:04AM -0800, Martin Buchholz wrote:
[...]
If we have fchdir, I see find as maintaining a stack of
file descriptors to directories that have been chdir'ed into.
[...]
In general, use fchdir and fstat whenever possible.

find utility implementation should not base entirely on stack of file
descriptors, due to open file descriptors limits.

Same issues arise with fts(3)/ftw(3) implementations and its clones.


-- 
ldv

Attachment: pgpySEYa5l9Ag.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>