DragonFly BSD
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.

From: Sander Vesik <sander@xxxxxxxxxxxxxxxxxxx>
Date: 12 Sep 2003 18:31:39 GMT
Cache-post-path: haldjas.folklore.ee!unknown@localhost

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.



+++ Out of cheese error +++

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]