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

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

 



Hi Carlos,

On 10/20/2014 05:50 PM, Carlos O'Donell wrote:
> 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

s/linux-kernel/linux/ (yes, they're housed at kernel.org, but...)

> than glibc.

Agreed. They should be consistent.
 
> 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.

Yes.

By the way, how will the glibc manual maintain this info going forward?
Alexandre did great work, but I suppose he will not want to do this 
forever! How will updates be made in the future? I ask because, of 
course, man-pages has a similar issue ;-).

Cheers,

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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