All of lore.kernel.org
 help / color / mirror / Atom feed
* Issue with clone() and CLONE_NEWUSER as unprivileged user
@ 2014-08-18  5:35 Marcel Holtmann
  2014-08-21 22:19 ` Andy Lutomirski
  0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2014-08-18  5:35 UTC (permalink / raw)
  To: LKML

Hi,

I am trying to use clone() and CLONE_NEWUSER for creating a new user namespace as an unprivileged user. I always get an operation not permitted error. However when I used fork() + unshare() as unprivileged user, I can create the new user namespace just fine.

Is there something obvious that I am missing? My understand is that CLONE_NEWUSER should not require any special capabilities. I tried the sample code from the manpage and also from LWN.net, but both give me the same error.

Regards

Marcel


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-08-22  0:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-18  5:35 Issue with clone() and CLONE_NEWUSER as unprivileged user Marcel Holtmann
2014-08-21 22:19 ` Andy Lutomirski
2014-08-21 22:26   ` Marcel Holtmann
2014-08-22  0:11     ` Andy Lutomirski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.