about summary refs log tree commit diff
path: root/support/support_become_root.c
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright dates with scripts/update-copyrights.Joseph Myers2018-01-011-1/+1
| | | | | | | * All files with FSF copyright notices: Update copyright dates using scripts/update-copyrights. * locale/programs/charmap-kw.h: Regenerated. * locale/programs/locfile-kw.h: Likewise.
* support_become_root: Fix comment styleChristian Brauner2017-11-181-1/+1
|
* support_become_root: Don't fail when /proc/<pid/setgroups is missingChristian Brauner2017-11-181-5/+16
| | | | | | | The requirement to write "deny" to /proc/<pid>/setgroups for a given user namespace before being able to write a gid mapping was introduced in Linux 3.19. Before that this requirement including the file did not exist. So don't fail when errno == ENOENT.
* support_become_root: Enable file creation in user namespacesFlorian Weimer2017-11-171-3/+54
| | | | | | | | 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>
* Update copyright dates with scripts/update-copyrights.Joseph Myers2017-01-011-1/+1
|
* support: Helper functions for entering namespacesFlorian Weimer2016-12-311-0/+40