about summary refs log tree commit diff
path: root/sysdeps/ieee754
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2018-12-05 12:39:47 -0500
committerDJ Delorie <dj@redhat.com>2018-12-10 22:37:58 -0500
commit304c61a24f909168c16793ccf7c686237e53d003 (patch)
tree40615110b96a07ca41f77cd2991923dc99a74478 /sysdeps/ieee754
parentcb7be1590e9b18e272e72eb4e910a7ad06a53bd0 (diff)
downloadglibc-304c61a24f909168c16793ccf7c686237e53d003.tar.gz
glibc-304c61a24f909168c16793ccf7c686237e53d003.tar.xz
glibc-304c61a24f909168c16793ccf7c686237e53d003.zip
test-container: move postclean outside of namespace changes
During postclean.req testing it was found that the fork in the
parent process (after the unshare syscall) would fail with ENOMEM
(see recursive_remove() in test-container.c).  While failing with
ENOMEM is certainly unexpected, it is simply easier to refactor
the design and have the parent remain outside of the namespace.
This change moves the postclean.req processing to a distinct
process (the parent) that then forks the test process (which will
have to fork once more to complete uid/gid transitions). When the
test process exists the cleanup process will ensure all files are
deleted when a post clean is requested.

Signed-off-by: DJ Delorie <dj@redhat.com>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>

[BZ #23948]
* support/test-container.c: Move postclean step to before we
change namespaces.
Diffstat (limited to 'sysdeps/ieee754')
0 files changed, 0 insertions, 0 deletions