bug-hurd
[Top][All Lists]
Advanced

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

Re: Defualt socket server overriding


From: Wei Shen
Subject: Re: Defualt socket server overriding
Date: Thu, 21 Jun 2007 00:25:33 +0800


On 6/21/07, Neal H. Walfield <neal@walfield.org> wrote:
At Thu, 21 Jun 2007 00:09:45 +0800,
Wei Shen wrote:
> I still think there are ways to solve this problem. For example, the fs
> server can add an virtual root argument to the passive translator, and the
> translator (which we trust) will later add this virtual root to any path
> argument provided by the chroot process.

How does it know the process is chroot'ed?

Who? The fs server or the translator? I think at least the fs server should know. Am I right?
 
The translator needs not to know whether a process is chrooted or not, it just always adds (for any process) the virtual root argument saved when it is associated with the file node.
 
Of course, another choice is let the fs server tell him as suggested by my second example.
 
Wei

reply via email to

[Prev in Thread] Current Thread [Next in Thread]