public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/22440] `__utmp_equal` ignores `ut_line` when system has `ut_id`
       [not found] <bug-22440-131@http.sourceware.org/bugzilla/>
@ 2021-03-26 14:12 ` fw at deneb dot enyo.de
  0 siblings, 0 replies; only message in thread
From: fw at deneb dot enyo.de @ 2021-03-26 14:12 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=22440

Florian Weimer <fw at deneb dot enyo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fw at deneb dot enyo.de

--- Comment #1 from Florian Weimer <fw at deneb dot enyo.de> ---
Matching on ut_line leads to unbounded utmp file growth, so I don't think
that's an option.

OpenSSH could use a different encoding for the PTY name, perhaps base64. 24
bits for the PTY name should be enough.

The utmp family of interfaces is really only suitable for systems that can
support just a fixed number of terminals, so there is no good fix here. Maybe
PTY usage should not be logged via utmp at all.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-26 14:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-22440-131@http.sourceware.org/bugzilla/>
2021-03-26 14:12 ` [Bug libc/22440] `__utmp_equal` ignores `ut_line` when system has `ut_id` fw at deneb dot enyo.de

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).