cache_lookup() work this week.

Sander Vesik sander at haldjas.folklore.ee
Fri Sep 12 11:31:39 PDT 2003


Jan Grant <Jan.Grant at xxxxxxxxxxxxx> wrote:
> 
> Sorry, missed this earlier. Yeah, in general, you need to search a
> subtree. As a useful heuristic, you might assume that most directories
> won't be crosslinked, in which case you need to search the tree of
> parents of the target (destination) directory, upwards, looking for the
> directory you're intending on linking to. In the common case (none of
> these crosslinked) that's linear; obviously, however, pathological cases
> can arise. Even worse, they can be created deliberately from userland.
> At the least, I'd restrict directory crosslinking to a suser operation
> in consequence.
> 

makes post rootkit cleanups slightly harder though.

> 

-- 
	Sander

+++ Out of cheese error +++





More information about the Kernel mailing list