From: mhocko-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org
To: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Michael Kerrisk
<mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Takashi Iwai <tiwai-l3A5Bk7waGM@public.gmane.org>,
Michal Hocko <mhocko-IBi9RG/b67k@public.gmane.org>
Subject: [PATCH] signal.7: add missing async-signal-safe functions
Date: Mon, 7 Sep 2015 17:07:49 +0200 [thread overview]
Message-ID: <1441638469-22062-1-git-send-email-mhocko@kernel.org> (raw)
From: Michal Hocko <mhocko-IBi9RG/b67k@public.gmane.org>
It seems that few async-signal-safe functions listed by POSIX.1-2008
http://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_04_03
are not mentioned in the man page. I am not exactly sure in which
version of the standard they have declared as signal safe. So they
were added to the section according to which standard they conform to:
POSIX.1-2001
- fchdir
- pthread_self
- pthread_sigmask
POSIX.1-2008
- pthread_kill
Signed-off-by: Michal Hocko <mhocko-IBi9RG/b67k@public.gmane.org>
---
man7/signal.7 | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/man7/signal.7 b/man7/signal.7
index 4710945a2ab8..18871420cb16 100644
--- a/man7/signal.7
+++ b/man7/signal.7
@@ -510,6 +510,7 @@ execve()
fchmod()
fchown()
fcntl()
+fchdir()
fdatasync()
fork()
fpathconf()
@@ -541,6 +542,8 @@ pipe()
poll()
posix_trace_event()
pselect()
+pthread_self()
+pthread_sigmask()
raise()
read()
readlink()
@@ -622,6 +625,7 @@ mkfifoat()
mknod()
mknodat()
openat()
+pthread_kill()
readlinkat()
renameat()
symlinkat()
--
2.5.0
--
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
next reply other threads:[~2015-09-07 15:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-07 15:07 mhocko-DgEjT+Ai2ygdnm+yROfE0A [this message]
[not found] ` <1441638469-22062-1-git-send-email-mhocko-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2015-09-11 10:59 ` [PATCH] signal.7: add missing async-signal-safe functions Michael Kerrisk (man-pages)
[not found] ` <55F2B413.5090003-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-09-11 11:28 ` Michal Hocko
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=1441638469-22062-1-git-send-email-mhocko@kernel.org \
--to=mhocko-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mhocko-IBi9RG/b67k@public.gmane.org \
--cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=tiwai-l3A5Bk7waGM@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox