]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/utmp.c: is_my_tty(): Use ttyname_r(3) to make it re-entrant
authorAlejandro Colomar <alx@kernel.org>
Fri, 24 Oct 2025 09:55:06 +0000 (11:55 +0200)
committerAlejandro Colomar <foss+github@alejandro-colomar.es>
Tue, 4 Nov 2025 01:56:30 +0000 (02:56 +0100)
commit5686ab8744563489256c86c3b47df75ed8dee68d
tree1626351276704b56b2a4c761b966236e411bf05f
parent9327afaff8e8cb6e28561b11848cf7eb99028a70
lib/utmp.c: is_my_tty(): Use ttyname_r(3) to make it re-entrant

Reviewed-by: Serge Hallyn <serge@hallyn.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/utmp.c