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

Miklos Szeredi
2005-05-11T18:49:48Z

> > > How about a new clone option "CLONE_NOSUID"?
> >
> > IMO, the clone call ist the wrong place to create namespaces. It should be
> > deprecated by a mkdir/chdir-like interface.
>
> And the mkdir/chdir interface already exists, see "cd /proc/NNN/root".

That's the chdir part.

The mkdir part is clone() or unshare().

How else do you propose to create new namespaces?

Miklos