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 code in gnulib. > > 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/ ? -- Eric Blake, Principal Software Engineer Red Hat, Inc. Virtualization: qemu.org | libguestfs.org