bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

logname documentation should say that it relies on getlogin()


From: Vincent Lefevre
Subject: logname documentation should say that it relies on getlogin()
Date: Fri, 23 Oct 2009 15:16:30 +0200
User-agent: Mutt/1.5.20-6022-vl-r30587 (2009-08-17)

The logname documentation is silent concerning its implementation.
It appears to rely on getlogin(), which is known to have limitations
(or bugs)[*]. Even though such limitations may be documented in the
getlogin documentation, the user isn't necessarily aware that they
affect logname.

[*] http://austingroupbugs.net/view.php?id=172
    and the getlogin(3) man page under GNU/Linux.

-- 
Vincent Lefèvre <address@hidden> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]