bug#76876: logname output is often wrong when linked with glibc

2025-03-19 Thread Bruno Haible via GNU coreutils Bug Reports
Eric Blake wrote: > > Let me document this limitation. > > > > > -This function returns the value of the @env{LOGNAME} environment variable: > > +This function returns the value of the @env{LOGNAME} environment variable > > +and this therefore arbitrarily fakeable: > > s/this/thus/ ? Oops, than

bug#76876: logname output is often wrong when linked with glibc

2025-03-19 Thread Eric Blake via GNU coreutils Bug Reports
On Mon, Mar 10, 2025 at 06:24:45AM +0100, Bruno Haible via GNU coreutils Bug Reports wrote: > I wrote: > > Thus, on Linux systems, a correct implementation of getlogin() can not > > distinguish different users with the same uid (with reasonable effort). > > This applies to both glibc and the new c