diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-01-04 12:12:17 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-01-04 12:12:17 +0100 |
commit | 4392898d8c348625681581728aa558733e578f07 (patch) | |
tree | de2def2b9daee7be9fdf67989723366848ef3889 /ChangeLog | |
parent | ce7eb0e90315eb1939ac29f656d39b3db858c092 (diff) | |
download | glibc-4392898d8c348625681581728aa558733e578f07.tar.gz glibc-4392898d8c348625681581728aa558733e578f07.tar.xz glibc-4392898d8c348625681581728aa558733e578f07.zip |
Linux: Improve handling of resource limits in misc/tst-ttyname
An attempt to re-create a different PTY under the same name can fail if the PTY has a very high number. Try to increase the file descriptor limit in this case, and bail out if this still does not allow the test to proceed.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index c7b2feb21b..72cf61f336 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2019-01-04 Florian Weimer <fweimer@redhat.com> + + * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New + function. + (do_in_chroot_1): Call it. + (run_chroot_tests): + Improve error reporting in case it is not possible to create a + collision for the PTY name required by the test. + 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org> * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use |