public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/26053] New: unlockpt fails with ENOTTY for non-ptmx descriptors
@ 2020-05-27 9:29 fweimer at redhat dot com
2020-05-27 9:32 ` [Bug libc/26053] " fweimer at redhat dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2020-05-27 9:29 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26053
Bug ID: 26053
Summary: unlockpt fails with ENOTTY for non-ptmx descriptors
Product: glibc
Version: 2.32
Status: NEW
Severity: minor
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: fweimer at redhat dot com
CC: drepper.fsp at gmail dot com
Target Milestone: ---
Flags: security-
POSIX specifies an error code of EINVAL in this case.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libc/26053] unlockpt fails with ENOTTY for non-ptmx descriptors
2020-05-27 9:29 [Bug libc/26053] New: unlockpt fails with ENOTTY for non-ptmx descriptors fweimer at redhat dot com
@ 2020-05-27 9:32 ` fweimer at redhat dot com
2020-05-27 9:32 ` fweimer at redhat dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2020-05-27 9:32 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26053
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fweimer at redhat dot com
Status|NEW |ASSIGNED
Assignee|unassigned at sourceware dot org |fweimer at redhat dot com
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libc/26053] unlockpt fails with ENOTTY for non-ptmx descriptors
2020-05-27 9:29 [Bug libc/26053] New: unlockpt fails with ENOTTY for non-ptmx descriptors fweimer at redhat dot com
2020-05-27 9:32 ` [Bug libc/26053] " fweimer at redhat dot com
@ 2020-05-27 9:32 ` fweimer at redhat dot com
2020-05-27 10:15 ` fweimer at redhat dot com
2020-10-07 9:34 ` fweimer at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2020-05-27 9:32 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26053
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P2 |P3
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libc/26053] unlockpt fails with ENOTTY for non-ptmx descriptors
2020-05-27 9:29 [Bug libc/26053] New: unlockpt fails with ENOTTY for non-ptmx descriptors fweimer at redhat dot com
2020-05-27 9:32 ` [Bug libc/26053] " fweimer at redhat dot com
2020-05-27 9:32 ` fweimer at redhat dot com
@ 2020-05-27 10:15 ` fweimer at redhat dot com
2020-10-07 9:34 ` fweimer at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2020-05-27 10:15 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26053
--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
Patch posted: https://sourceware.org/pipermail/libc-alpha/2020-May/114378.html
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libc/26053] unlockpt fails with ENOTTY for non-ptmx descriptors
2020-05-27 9:29 [Bug libc/26053] New: unlockpt fails with ENOTTY for non-ptmx descriptors fweimer at redhat dot com
` (2 preceding siblings ...)
2020-05-27 10:15 ` fweimer at redhat dot com
@ 2020-10-07 9:34 ` fweimer at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2020-10-07 9:34 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=26053
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Target Milestone|--- |2.33
Status|ASSIGNED |RESOLVED
--- Comment #2 from Florian Weimer <fweimer at redhat dot com> ---
Fixed for glibc 2.33:
commit 0f9793a556675d67d7c1897553f92e7152d1e598
Author: Florian Weimer <fweimer@redhat.com>
Date: Wed Oct 7 10:48:10 2020 +0200
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>
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-10-07 9:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-27 9:29 [Bug libc/26053] New: unlockpt fails with ENOTTY for non-ptmx descriptors fweimer at redhat dot com
2020-05-27 9:32 ` [Bug libc/26053] " fweimer at redhat dot com
2020-05-27 9:32 ` fweimer at redhat dot com
2020-05-27 10:15 ` fweimer at redhat dot com
2020-10-07 9:34 ` fweimer at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).