Re: [RCF] [PATCH] unprivileged mount/umount

Miklos Szeredi
2005-05-11T20:40:46Z

> e.g.
>
> create_persistent_namespace(char* name)
> destroy_persistent_namespace(char* name)
> list_persistent_namespaces(char * prefix, uint flags)
> # flags & 1: 1=list all namespaces minus prefix
> # 0=trim names at the first slash after stripping prefix

Just create a namespacefs :)

Mkdir creates a new namespace, rmdir removes a namespace, chroot
switches to the namespace. No new interfaces needed.

Miklos