tech-kern archive

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

Re: misuse of pathnames in rump (and portalfs?)



On Nov,Wednesday 24 2010, at 5:35 AM, David Holland wrote:

> On Tue, Nov 23, 2010 at 11:13:02PM +0000, David Holland wrote:
>> However, I discovered today that rumpfs's VOP_LOOKUP implementation
>> relies on being able to access not just the name to be looked up, but
>> also the rest of the pathname namei is working on, specifically
>> including the parts that have already been translated.
> 
> Ok, on further inspection it appears that this is overly pessimistic.
> It looks, rather, as if rumpfs (specifically the etfs logic) is using
> the full namei work buffer and hoping that no such parts actually
> appear in it, because if they do it'll fail.
> 
> So I think the following change will resolve the problem; can someone
> who knows how this is supposed to work check it? (If it's ok, there's
> no need to tamper with VOP_LOOKUP.)

You can change your change with running whole regression test suite on 
rump builded with your patch. 

Regards

Adam.



Home | Main Index | Thread Index | Old Index