Could you write some CLONE_NEWUSER?

Michael Kerrisk
2008-12-04T15:20:40Z

Hi Serge,

Thanks for CCing me on recent CLONE_NEWUSER patches.

Would you be will to write some documentation for this flag? (It's
the only remaining undocumented flag in clone(2).) Plain text would
be fine -- I'll integrate it into the man page with suitable macros.

Cheers,

Michael

---------- Forwarded message ----------
From: Michael Kerrisk <mtk.manpages@googlemail.com>
Date: Wed, Nov 19, 2008 at 3:04 PM
Subject: Current state of CLONE_NEWUSER?
To: Serge Hallyn <serue@us.ibm.com>
Cc: Subrata Modak <subrata@linux.vnet.ibm.com>, ebiederm@xmission.com,
lkml <linux-kernel@vger.kernel.org>, linux-man@vger.kernel.org,
clg@fr.ibm.com, herbert@13thfloor.at, dev@sw.ru

Hi Serge,

What is the current status of CLONE_NEWUSER? I'm currently trying to
test this flag in preparation for documenting it in the clone(2) man
page, but am running into an ENOMEM error from the clone() call, which
seems to occur after a failure in kobject_init_and_add() in the
following call sequence:

clone_user_ns() --> alloc_uid() --> uids_user_create() -->
kobject_init_and_add()

Are there already some test programs somewhere? Is there any
documentation already available for this flag?

Thanks,

Michael

--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
git://git.kernel.org/pub/scm/docs/man-pages/man-pages.git
man-pages online: http://www.kernel.org/doc/man-pages/online_pages.html
Found a bug? http://www.kernel.org/doc/man-pages/reporting_bugs.html

--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
git://git.kernel.org/pub/scm/docs/man-pages/man-pages.git
man-pages online: http://www.kernel.org/doc/man-pages/online_pages.html
Found a bug? http://www.kernel.org/doc/man-pages/reporting_bugs.html