tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Cleaning up namei
On Thu, Mar 20, 2008 at 06:53:42PM -0700, Bill Stouder-Studenmund wrote:
>
> 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.
Lets say that /emul/foo/usr/lib is a symlink to /lib and I'm running a
program in emulation foo.
What do I get when I:
1) opendir /usr/lib
2) cd to /emul/foo/usr and opendir ./lib
3) opendir /emul/foo/usr/lib
(assuming /emul/foo/emul/foo doesn't exist)
4) A non-emulation program opens /emul/foo/usr/lib
For the first 2 the desired effect has to be to open /emul/foo/lib.
The latter 2 are non-obvious!
David
--
David Laight: david%l8s.co.uk@localhost
Home |
Main Index |
Thread Index |
Old Index