diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-11-18 14:30:20 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-11-18 14:30:20 +0100 |
commit | 273a0c4983ecff9fe53258755b155227afe2938f (patch) | |
tree | 9dd8769cf25b1e29331af8d0830a5549c323e7b6 /ChangeLog | |
parent | 8adfb0eeffd1888f9b53b8d8677eb1656cd20e47 (diff) | |
download | glibc-273a0c4983ecff9fe53258755b155227afe2938f.tar glibc-273a0c4983ecff9fe53258755b155227afe2938f.tar.gz glibc-273a0c4983ecff9fe53258755b155227afe2938f.tar.bz2 glibc-273a0c4983ecff9fe53258755b155227afe2938f.zip |
support_enter_mount_namespace: Unshare with mount --make-rprivate
System defaults vary, and a mere unshare (CLONE_NEWNS) (which is part of
support_become_root) is no longer sufficient.
Reviewed-by: Christian Brauner <christian.brauner@ubuntu.com>
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,5 +1,12 @@ 2017-11-18 Florian Weimer <fweimer@redhat.com> + * support/namespace.h (support_enter_mount_namespace): Declare. + * support/support_enter_mount_namespace.c: New file. + * support/Makefile (libsupport-routines): Add + support_enter_mount_namespace. + +2017-11-18 Florian Weimer <fweimer@redhat.com> + * support/temp_file.c (support_create_temp_directory): Use test_dir and do not rely on the presence of the XXXXXX suffix. * support/temp_file.h (support_create_temp_directory): Update |