diff options
author | Florian Weimer <fweimer@redhat.com> | 2020-10-07 10:48:10 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2020-10-07 10:56:00 +0200 |
commit | 0f9793a556675d67d7c1897553f92e7152d1e598 (patch) | |
tree | 4f938bc2e03c843f8651a7b3afb0022fdd268ced /inet/tst-checks-posix.c | |
parent | c42b7058a2f8dea5c0b95e64aa82ee1d62a2ba14 (diff) | |
download | glibc-0f9793a556675d67d7c1897553f92e7152d1e598.tar.gz glibc-0f9793a556675d67d7c1897553f92e7152d1e598.tar.xz glibc-0f9793a556675d67d7c1897553f92e7152d1e598.zip |
Linux: unlockpt needs to fail with EINVAL, not ENOTTY (bug 26053)
The EINVAL error code is mandated by POSIX and documented in the manual. Also clean up the unlockpt implementation a bit, assuming that TIOCSPTLCK is always defined. Enhance login/tst-grantpt to cover unlockpt corner cases. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'inet/tst-checks-posix.c')
0 files changed, 0 insertions, 0 deletions