This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] support_become_root: Enable file creation in user namespaces
- From: Jonathan Nieder <jrnieder at gmail dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Fri, 17 Nov 2017 09:20:49 -0800
- Subject: Re: [PATCH] support_become_root: Enable file creation in user namespaces
- Authentication-results: sourceware.org; auth=none
- References: <20171117145504.D28A3446EB324@oldenburg.str.redhat.com>
Hi,
Florian Weimer wrote:
> Without UID/GID maps, file creation will file with EOVERFLOW.
>
> This patch is based on DJ Delorie's work on container testing.
>
> 2017-11-17 Florian Weimer <fweimer@redhat.com>
>
> support_become_root: Enable file creation in namespaces.
> * support/support_become_root.c (setup_mapping): New function.
> (support_become_root): Call it.
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Thank you.