aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-11-18 14:34:46 +0100
committerFlorian Weimer <fweimer@redhat.com>2017-11-18 14:34:46 +0100
commit8db7f48cb74670829df037b2d037df3f36b71ecd (patch)
tree3d839d0ffc6c05aa4e7f934dded82723bd63e836 /ChangeLog
parent273a0c4983ecff9fe53258755b155227afe2938f (diff)
downloadglibc-8db7f48cb74670829df037b2d037df3f36b71ecd.tar.xz
glibc-8db7f48cb74670829df037b2d037df3f36b71ecd.zip
tst-ttyname: Fix namespace setup for Fedora
On Fedora, the previous initialization sequence did not work and resulted in failures like: info: entering chroot 1 info: testcase: basic smoketest info: ttyname: PASS {name="/dev/pts/5", errno=0} info: ttyname_r: PASS {name="/dev/pts/5", ret=0, errno=0} error: ../sysdeps/unix/sysv/linux/tst-ttyname.c:122: write (setroups, "deny"): Operation not permitted info: entering chroot 2 error: ../sysdeps/unix/sysv/linux/tst-ttyname.c:122: write (setroups, "deny"): Operation not permitted error: 2 test failures Reviewed-by: Christian Brauner <christian.brauner@ubuntu.com>
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b244b32801..b78f6722e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2017-11-18 Florian Weimer <fweimer@redhat.com>
+ * sysdeps/unix/sysv/linux/tst-ttyname.c
+ (become_root_in_mount_ns): Remove.
+ (do_in_chroot_1): Call support_enter_mount_namespace.
+ (do_in_chroot_2): Likewise.
+ (do_test): Call support_become_root early.
+
+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