tech-kern archive

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

Re: Cleaning up namei

On Wed, Mar 19, 2008 at 09:48:09PM +0000, David Laight wrote:
> On Wed, Mar 19, 2008 at 02:12:36PM -0700, Bill Stouder-Studenmund wrote:
> > 
> > Emulation becomes easier because you could try "under 
> > emulation" then  "not under emulation". Doing it all in namei_begin() can 
> > make state-keeping challenging.
> I'm not sure that works - you have to be very careful in the way symlinks
> are expanded.
> Although I can't actually remember what I decided the code should do!
> (nor whether I implemented something simpler!)

I thought the idea was that an in-emulation symlink starts at /emul/foo. 
If it is /../blah, the /.. part lets the symlink escape the emulation.

Take care,


Attachment: pgpxfsml9Mo8W.pgp
Description: PGP signature

Home | Main Index | Thread Index | Old Index