[PATCH 20/52] login: Add 64-bit time support to utmp/utmpx

Andreas Schwab schwab@linux-m68k.org
Fri Apr 30 14:11:24 GMT 2021


On Apr 30 2021, Florian Weimer wrote:

> * Andreas Schwab:
>
>> On Apr 30 2021, Florian Weimer via Libc-alpha wrote:
>>
>>> True, but even for that, it's been reported (I forgot where I'm afraid)
>>> that the ut_id field is to short if the straightforward PTY encoding is
>>> used.  Most users are probably interested in sessions (who is not logged
>>> in), not a list of PTYs and users (which also includes sub-shells in
>>> Emacs and screen).
>>
>> Both Emacs and screen create new sessions for their sub-shells/windows.
>> But Emacs does not do utmp accouting.
>
> Sorry, I meant the higher-level session concept (related to containers
> and cgroups).  That's not something screen nor Emacs do.

A session has nothing to do with containers and cgroups.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


More information about the Libc-alpha mailing list