From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peng Haitao Subject: Re: [PATCH] getlogin.3: Reformat thread-safety information Date: Tue, 21 Oct 2014 15:48:04 +0800 Message-ID: <54460FB4.40906@cn.fujitsu.com> References: <1413518358-32200-1-git-send-email-penght@cn.fujitsu.com> <5440B1A9.8020304@gmail.com> <5440B745.9020003@cn.fujitsu.com> <5440BC77.3040906@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-man-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Carlos O'Donell , "Michael Kerrisk (man-pages)" Cc: "linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Alexandre Oliva List-Id: linux-man@vger.kernel.org On 10/20/2014 11:50 PM, Carlos O'Donell wrote: > On Fri, Oct 17, 2014 at 2:51 AM, Michael Kerrisk (man-pages) > 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 are reviewing the glibc annotations, the next step will talk to you and Alexandre about the different annotations. > We should not have any differences. Either we adjust one or the other, > but both should match. > This is our goal. Thanks. -- Best Regards, Peng > Cheers, > Carlos. > -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html