All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] getutent.3: ATTRIBUTES: Note functions those aren't thread-safe
Date: Sat, 04 Apr 2015 08:49:24 +0100	[thread overview]
Message-ID: <551F9784.5050507@gmail.com> (raw)
In-Reply-To: <1427084656-7273-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>

Hello Zeng Lingang,

It looks like you will be some work with Ma Shimiao. Is 
that correct?

On 03/23/2015 04:24 AM, Zeng Linggang wrote:
> The markings match glibc markings.

I've applied your patch, but for other future patches,
please note that there is an English grammar mistake in 
your patch title: "those" should be "that".

Thanks,

Michael



> Signed-off-by: Zeng Linggang <zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> Signed-off-by: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> ---
>  man3/getutent.3 | 36 ++++++++++++++++++++++++++++++++++++
>  1 file changed, 36 insertions(+)
> 
> diff --git a/man3/getutent.3 b/man3/getutent.3
> index 4ff5581..2160969 100644
> --- a/man3/getutent.3
> +++ b/man3/getutent.3
> @@ -155,6 +155,42 @@ functions can also fail for the reasons described in
>  /var/run/utmp	database of currently logged-in users
>  .br
>  /var/log/wtmp	database of past user logins
> +.SH ATTRIBUTES
> +For an explanation of the terms used in this section, see
> +.BR attributes (7).
> +.TS
> +allbox;
> +lb lb lb
> +l l l.
> +Interface	Attribute	Value
> +T{
> +.BR getutent ()
> +T}	Thread safety	T{
> +MT-Unsafe init race:utent
> +.br
> +race:utentbuf sig:ALRM timer
> +T}
> +T{
> +.BR getutid (),
> +.br
> +.BR getutline ()
> +T}	Thread safety	T{
> +MT-Unsafe init race:utent sig:ALRM
> +.br
> +timer
> +T}
> +T{
> +.BR pututline ()
> +T}	Thread safety	MT-Unsafe race:utent sig:ALRM timer
> +T{
> +.BR setutent (),
> +.br
> +.BR endutent (),
> +.br
> +.BR utmpname ()
> +T}	Thread safety	MT-Unsafe race:utent
> +.TE
> +
>  .SH CONFORMING TO
>  XPG2, SVr4.
>  .LP
> 


-- 
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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2015-04-04  7:49 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-23  4:24 [PATCH] getutent.3: ATTRIBUTES: Note functions those aren't thread-safe Zeng Linggang
     [not found] ` <1427084656-7273-1-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-03-23  4:24   ` [PATCH] perror.3: ATTRIBUTES: Note function that is thread-safe Zeng Linggang
     [not found]     ` <1427084656-7273-2-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-04-04  7:49       ` Michael Kerrisk (man-pages)
2015-03-23  4:24   ` [PATCH] printf.3: ATTRIBUTES: Note functions those are thread-safe Zeng Linggang
     [not found]     ` <1427084656-7273-3-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-04-04  7:51       ` Michael Kerrisk (man-pages)
2015-04-04  7:54       ` Bug#621057: " Michael Kerrisk (man-pages)
2015-03-23  4:24   ` [PATCH] scandir.3: " Zeng Linggang
     [not found]     ` <1427084656-7273-4-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-04-04  7:55       ` Michael Kerrisk (man-pages)
2015-03-23  4:24   ` [PATCH] scanf.3: " Zeng Linggang
     [not found]     ` <1427084656-7273-5-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-04-04  7:58       ` Michael Kerrisk (man-pages)
2015-03-23  4:24   ` [PATCH] wprintf.3: " Zeng Linggang
     [not found]     ` <1427084656-7273-6-git-send-email-zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-04-04  7:58       ` Michael Kerrisk (man-pages)
2015-04-04  7:49   ` Michael Kerrisk (man-pages) [this message]
2015-04-08  3:05   ` [PATCH] getutent.3: ATTRIBUTES: Note functions those aren't thread-safe Zeng Linggang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=551F9784.5050507@gmail.com \
    --to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=zenglg.jy-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.