Re: [PATCH] getlogin.3: Reformat thread-safety information

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

 



On Fri, Oct 17, 2014 at 2:51 AM, Michael Kerrisk (man-pages)
<mtk.manpages@xxxxxxxxx> wrote:
>> getlogin() is MT-Unsafe and is influenced by setlocale(),
>> So "MT-Unsafe locale" is right.
>
> Thank you for the confirmation.
>
> Just by the way, I see that the glibc manual says of getlogin:
>
>     MT-Unsafe race:getlogin race:utent sig:ALRM timer locale
>
> I guess this covers some cases beyond what you document. Is that
> correct?

I haven't reviewed the technical details of this issue, but I would be
very worried if the linux-kernel man pages had different annotations
than glibc.

My expectation is that Peng should review the glibc annotations and
come talk to us if they are different from what will be documented in
the man pages.

We should not have any differences. Either we adjust one or the other,
but both should match.

Cheers,
Carlos.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux