Re: Conditional SymLinks

Jim Bray (
Thu, 18 Dec 1997 16:03:24 -0500 (EST)

> I guess the only real way to do it would be the way my first proof of
> concept worked, but cleaned up and expanded upon I suppose. It also means
> that conditional sym-links haven't got a chance of getting in the kernel.

This is interesting experimentation. I think what emerges is that clearly
CondSymLinks shouldn't be processed in the kernel; probably all the kernel
should need would be a new inode type for them, and code to pass their
processing out to kerneld. /proc/<pid>/env would be one way of giving kerneld
access to per-process env info; another possibility would be some mechanism
whereby kerneld could send a message to the user process requesting an env
lookup. This would require some weird libc hacks, but weird libc and kerneld
hacks might be better than more wired code in kernel-space.


--Jim " " \ ____/| / \ \ o.O| / \ =(_)= / \ U / \ | / \ #/ ACK! PHTHPHTH! "I am not a crook!"