lkml.org 
[lkml]   [2005]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RCF] [PATCH] unprivileged mount/umount
On Wed, 11 May 2005 serue@us.ibm.com wrote:
> Quoting Miklos Szeredi (miklos@szeredi.hu):

> > > > > 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().
>
> Right, sys_unshare(), as per Janak's patch. Does it lack anything which
> you would need?

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

--
Funny quotes:
27. If people from Poland are called Poles, why aren't people from Holland
called Holes?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-05-11 21:49    [W:1.698 / U:0.404 seconds]
©2003-2014 Jasper Spaans. Advertise on this site