[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <606D4327-C729-49F7-9CFD-3D25D0A62A13@holtmann.org>
Date: Mon, 18 Aug 2014 00:35:31 -0500
From: Marcel Holtmann <marcel@...tmann.org>
To: LKML <linux-kernel@...r.kernel.org>
Subject: Issue with clone() and CLONE_NEWUSER as unprivileged user
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists