support_become_root: Enable file creation in user namespaces
authorFlorian Weimer <fweimer@redhat.com>
Fri, 17 Nov 2017 21:11:28 +0000 (22:11 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 17 Nov 2017 21:11:28 +0000 (22:11 +0100)
commitce003e5d4cd94c5380699b0dadeaaf825813afbe
tree54634638fd8470347ab02e16b1645772091780aa
parente7df6c5c79458dc042a8c967bafa6e8eca88ae0d
support_become_root: Enable file creation in user namespaces

Without UID/GID maps, file creation will file with EOVERFLOW.

This patch is based on DJ Delorie's work on container testing.

Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
ChangeLog
support/support_become_root.c