[PATCH] signal.7: add missing async-signal-safe functions

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

 



From: Michal Hocko <mhocko@xxxxxxxx>

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@xxxxxxxx>
---
 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@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