DragonFly BSD
DragonFly kernel List (threaded) for 2003-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Anybody working on removing sendmail from base?

From: Sander Vesik <sander@xxxxxxxxxxxxxxxxxxx>
Date: 29 Sep 2003 15:59:18 GMT
Cache-post-path: haldjas.folklore.ee!unknown@localhost

Christopher Vance <vance@xxxxxxxxxx> wrote:
> On Sun, Sep 28, 2003 at 10:06:58AM -0700, Matthew Dillon wrote:
>>    of this.    Variant symlinks is something we probably should implement.
> Does this need at least one of the following?
> 1) make symlinks vary only over stuff already known to the kernel
> (Pyramid OSx only did it over universe [att vs usb], and Compaq Tru64
> over member number within cluster; I think Convex OS did something
> similar to Pyramid)

But this is very easy to do with very simple add-on API. 

> 2) ensure that user space can't fiddle with things (even accidentally)
> to make it hard for the kernel to find and use the relevant
> environment variables

Nope, bad choice because you can't really. and you probbaly want to use
a hash table for lookups

> 3) delegate at least some part of name lookup to userspace code within
> the requesting process (didn't Apollo Aegis do this with many
> syscallish things?) even if it's just "look for relevant
> metacharacters within path, and expand if found, before invoking the
> syscall with these all resolved"

This will mean moving all of symlink following into userspace as a symlink
can point to anotyher (and so on).

> 4) kernel-managed file namespaces (potentially) separate per process
> (Plan 9 rfork)


+++ Out of cheese error +++

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