DragonFly kernel List (threaded) for 2003-09
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: cache_lookup() work this week.
Jan Grant <Jan.Grant@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 +++
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]