lkml.org 
[lkml]   [1997]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Conditional SymLinks
Date
From
Albert D. Cahalan wrote:
>
> Yep, you won't actually be using it. Policy does of course
> go into the kernel since it must. What daemon is PID 1? Why?
> Who sets the permissions in /proc? Why?
>
> Arguments to keep policy out of the kernel are too often just
> excuses to get rid of some feature that you don't personally
> want to have.

That's not a nice way to talk to Linus. :-)

Anyway, in this case, nothing has to go into the kernel. If I'd write
this stuff, I'd say add a proc file where you can add variables.

/etc/csh.login:
echo HOME $HOME > /proc/variables
echo MACHINE `hostname` > /proc/variables

use "cat /proc/variables" to look at your current settings.

That would allow the symlink

ls -l /tmp/
drwxrwxrwt 13 root root 41984 Dec 12 16:53 /tmp -> /home/$HOME/tmp

to start working, along with a few other goodies.

Really just some extra stuff in the fs-independant symlink handler.

Roger.

--
** R.E.Wolff@BitWizard.nl ** +31-15-2137555 ** http://www.BitWizard.nl/ **
Florida -- A 39 year old construction worker woke up this morning when a
109-car freight train drove over him. According to the police the man was
drunk. The man himself claims he slipped while walking the dog. 080897

\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.030 / U:23.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site