Re: directory sort order no longer beginning with "." and ".."?

From: Jeremy Fitzhardinge
Date: Tue Jul 29 2008 - 13:28:18 EST


Ray Lee wrote:
That's a good idea, though based on his description it's even easier.
The LD_PRELOAD just needs to artificially introduce . and .., at the
beginning and toss them out once it hits them in the list. No sorting
required.
You'd have to be careful with respect to seekdir/telldir, but that may not matter if its just an app-specific hack.

J
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/