linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nate Karstens <nate.karstens@garmin.com>
To: mtk.manpages@gmail.com
Cc: linux-man@vger.kernel.org, libc-alpha@sourceware.org,
	willy@infradead.org, Nate Karstens <nate.karstens@garmin.com>
Subject: [PATCH] system.3: Indicate MT-Unsafe
Date: Tue,  6 Oct 2020 11:15:20 -0500	[thread overview]
Message-ID: <20201006161520.975-1-nate.karstens@garmin.com> (raw)

The fact that system(3) does not support pthread_atfork(3) also means
that it is not thread safe. See the discussion for the proposal of a
close-on-fork flag in the 2020 April and May timeframe, especially:

https://lkml.org/lkml/2020/5/15/1067

Signed-off-by: Nate Karstens <nate.karstens@garmin.com>
---
 man3/system.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man3/system.3 b/man3/system.3
index aef40417a..8730fabd3 100644
--- a/man3/system.3
+++ b/man3/system.3
@@ -127,7 +127,7 @@ l l l.
 Interface	Attribute	Value
 T{
 .BR system ()
-T}	Thread safety	MT-Safe
+T}	Thread safety	MT-Unsafe
 .TE
 .SH CONFORMING TO
 POSIX.1-2001, POSIX.1-2008, C89, C99.
-- 
2.17.1


             reply	other threads:[~2020-10-06 16:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-06 16:15 Nate Karstens [this message]
2020-10-06 17:26 ` [PATCH] system.3: Indicate MT-Unsafe Adhemerval Zanella
2020-10-07 14:35   ` Karstens, Nate
2020-10-07 18:06     ` Adhemerval Zanella
2020-10-27  7:08       ` Michael Kerrisk (man-pages)
2020-10-30 20:59         ` Karstens, Nate

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=20201006161520.975-1-nate.karstens@garmin.com \
    --to=nate.karstens@garmin.com \
    --cc=libc-alpha@sourceware.org \
    --cc=linux-man@vger.kernel.org \
    --cc=mtk.manpages@gmail.com \
    --cc=willy@infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).