Ish Rattan | 19 Mar 2012 22:09

Per process private namespace?


Anyone has a small Limbo program/application 
that shows how to achieve the private namsepace
for a thread.

In context of sandboxing an unknown application, does not
one need info what the namespace in sandboxed thread be,
before executing application..??

-ishwar

dorin bumbu | 19 Mar 2012 22:58
Picon

Re: Per process private namespace?

The private namespace is controlled by calls to sys-pctl
http://man.cat-v.org/inferno/2/sys-pctl

For example, if you want a thread with a fork of parent's namespace you call

sys->pctl(Sys->FORKNS, nil);

On Mon, Mar 19, 2012 at 11:09 PM, Ish Rattan
<ishwar@...> wrote:
>
> Anyone has a small Limbo program/application that shows how to achieve the
> private namsepace
> for a thread.
>
> In context of sandboxing an unknown application, does not
> one need info what the namespace in sandboxed thread be,
> before executing application..??
>
> -ishwar
>


Gmane