*BSD News Article 12468


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!agate.berkeley.edu!cgd
From: cgd@eden.CS.Berkeley.EDU (Chris G. Demetriou)
Newsgroups: comp.os.386bsd.development
Subject: Re: A challenge to all true kernel hackers - conditional symlinks.
Date: 9 Mar 93 18:58:27
Organization: Kernel Hackers 'r' Us
Lines: 24
Message-ID: <CGD.93Mar9185827@eden.CS.Berkeley.EDU>
References: <JKH.93Mar9214944@whisker.lotus.ie>
NNTP-Posting-Host: eden.cs.berkeley.edu
In-reply-to: jkh@whisker.lotus.ie's message of Tue, 9 Mar 1993 21:49:44 GMT

In article <JKH.93Mar9214944@whisker.lotus.ie> jkh@whisker.lotus.ie (Jordan K. Hubbard) writes:
[ the idea ... ]

YES, that would be wonderful.  it's the one thing about apollos that
i *loved*...  thank god you didn't ask for `node_data... 8-)

>The question is, is anyone out there game to see what it would take to
>do this in 386bsd?  I think you'll find getting at the current process
>environment from namei() somewhat tricky..

possibly impossible, w/o mods to the rest of the kernel, esp.
if processes decide to mangle their args buf...

namei takes a struct proc * of the process in question, it's just a matter
of finding the environment variables, and i can' think of
a reliable way to do that, w/o hacking exec slightly...



chris
--
Chris G. Demetriou                                    cgd@cs.berkeley.edu

                 MENTALLY CONTAMINATED and proud of it!