Commit Graph

166 Commits

Author SHA1 Message Date
Michael Kerrisk 7edfdaca06 signal.7: Make a clearer statement about nonportable aspect of signal(2)
Make a clearer statement that signal(2) is less portable for
establishing a signal handler.

Reported-by: Reuben Thomas <rrt@sc3d.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 14:53:29 +02:00
Michael Kerrisk 8d4eb5f87e signal.7: Minor wording tweaks
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 14:49:24 +02:00
Michael Kerrisk 07b00378c4 signal.7: Fix discussion of SIGUNUSED
Clarify that this signal really is synonymous with SIGSYS.
See http://bugzilla.kernel.org/show_bug.cgi?id=14449

Reported-by: Garrett Cooper <yaneurabeya@yahoo.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-02-03 05:53:57 +01:00
Michael Kerrisk 4697f7a7ae signal.7: ffix 2008-10-29 14:54:10 -05:00
Michael Kerrisk 4f6d71a1fc signal.7: Timeouts make socket interfaces non-restartable
If setsockopt() is used to set a timeout on a socket(),
then the various socket interfaces are not automatically
restarted, even if SA_RESTART is specified when
establishing the signal handler.  Analogous behavior occurs
for the "stop signals" case.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Didier <did447@gmail.com>
2008-10-29 14:54:10 -05:00
Michael Kerrisk 2411effea2 signal.7: improve description in NAME section
Reported-by: Gergely Soos <sogerc1@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-06 10:12:00 +02:00
Michael Kerrisk eeccef1df0 signal.7: Add mention of sigaltstack(2).
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-05 07:46:09 +02:00
Michael Kerrisk e66d51d1ba signal.7: Describe syscalls that synchronously wait for a signal,
(sigwait(), sigwaitinfo(), sigtimedwait(), signalfd)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-05 07:41:29 +02:00
Michael Kerrisk 22fe4981c2 signal.7: Give overview of syscalls that block until a signal is caught
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-05 07:30:24 +02:00
Michael Kerrisk 4704a09b80 signal.7: ffix 2008-10-05 07:29:00 +02:00
Michael Kerrisk 7a414038ea signal.7: Add overview of interfaces for sending signals.
(kill(), killpg(), tgkill(), sigqueue(), raise(), etc.)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-05 07:23:58 +02:00
Michael Kerrisk d5c8829874 signal.7: describe semantics w.r.t. fork() and execve()
Include text describing semantics of fork() and execve() for
signal dispositions, signal mask, and pending signal set.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-04 08:33:53 +02:00
Michael Kerrisk a0f7c7d8ba Update list of async-sygnal-safe functions for POSIX.1-2008. 2008-08-21 06:38:19 +00:00
Michael Kerrisk 164be4fc3c wfix 2008-07-10 09:38:08 +00:00
Michael Kerrisk 07d72ca89d remove duplicate sigvec(3) in SEE ALSO;
put sockatmark() is right alphabetical order in list of
async-sig-safe functions
2008-07-08 13:39:48 +00:00
Michael Kerrisk 72710182cd tweaks 2008-07-07 04:16:16 +00:00
Michael Kerrisk 495edd812c tweaks 2008-07-04 20:07:45 +00:00
Michael Kerrisk 72ee5ec277 tweaks + update async-signal-safe function to that given in POSIX.1-2004 2008-07-04 19:40:51 +00:00
Michael Kerrisk 0005e334d7 wfix 2008-07-04 19:33:18 +00:00
Michael Kerrisk b24473a39b wfix 2008-07-04 16:24:13 +00:00
Michael Kerrisk c1667735e0 tfix 2008-07-04 15:16:26 +00:00
Michael Kerrisk 8c69c9232a Note a few more architectures on which signal numbers are valid.
SEE ALSO: added a number of pages.
2008-07-04 15:09:27 +00:00
Michael Kerrisk 743bc3957a tweaks 2008-07-04 14:36:28 +00:00
Michael Kerrisk 48b9ec3fe1 Describe the aberrant Linux behavior whereby a stop signal
plus SIGCONT can interrupt some system calls, even if no
signal handler has been established, and note the system
calls that behave this way.
2008-07-04 13:15:12 +00:00
Michael Kerrisk af3c87d084 Add a section describing system call restarting, and noting
which system calls are affected by SA_RESTART, and which
system calls are never restarted.
2008-07-04 13:13:35 +00:00
Michael Kerrisk 7c85aa6ba5 SEE ALSO: Add sigwait(3). 2008-07-02 13:30:54 +00:00
Michael Kerrisk 4564433c99 Note that the delivery order of multiple pending standard
signals is unspecified.
2008-07-02 12:54:59 +00:00
Michael Kerrisk da5461a83e Added FIXME 2008-05-12 21:19:27 +00:00
Michael Kerrisk cf50118f48 Use "run time" when non-attributive, "run-time" when attributive. 2008-03-19 08:46:32 +00:00
Michael Kerrisk 058c11652c Add SEE ALSO entry referring to new signalfd.2 page. 2008-02-11 11:41:18 +00:00
Michael Kerrisk a43eed0cdc Hyphenation fixes 2007-12-26 11:17:23 +00:00
Michael Kerrisk 2706f299e5 Hyphenation fixes 2007-12-26 08:00:10 +00:00
Michael Kerrisk a574189c5f Minor formatting changes. 2007-12-21 12:40:54 +00:00
Michael Kerrisk 10a100d06a ffix 2007-12-08 07:48:59 +00:00
Michael Kerrisk 6beb1671d2 tfix/wfix 2007-10-16 19:18:17 +00:00
Michael Kerrisk c11b1abf2e Change mtk's email address 2007-09-20 06:52:22 +00:00
Michael Kerrisk 74d3223314 ffix/spfix 2007-08-27 08:36:21 +00:00
Michael Kerrisk e0bf91271f Removed trailing white space at end of lines 2007-07-08 12:39:24 +00:00
Michael Kerrisk 7da8a4227e Add SEE ALSO referenece to sgetmask.2. 2007-06-26 02:34:24 +00:00
Michael Kerrisk 5a5574b9b6 Note SIGRTMIN value depends on glibc.
Various rewites and additions to the text in real-time signals.
2007-06-25 09:24:48 +00:00
Michael Kerrisk 6269f80989 Allow hyphenation breaks 2007-06-20 22:01:10 +00:00
Michael Kerrisk 8869be19dd tfix 2007-06-11 21:03:33 +00:00
Michael Kerrisk d9bfdb9c21 Convert to American spelling conventions 2007-06-08 09:56:56 +00:00
Michael Kerrisk 680347c7e1 grfix 2007-06-01 05:33:06 +00:00
Michael Kerrisk d9343c5c13 Removed version number from .TH line 2007-05-30 05:36:26 +00:00
Michael Kerrisk d9c1ae6480 Use bold for function name, not underline. 2007-05-12 13:12:02 +00:00
Michael Kerrisk d6d70cf942 Added SEE ALSO entries referring to new bsd_signal.3 and sysv_signal.3 pages. 2007-05-04 21:22:28 +00:00
Michael Kerrisk e8f5dd81ab Incorporated (and slightly modified) the text on
async-signal-safe functions that was formerly in signal(2).
2007-05-04 20:31:40 +00:00
Michael Kerrisk c13182efa3 Wrapped long lines, wrapped at sentence boundaries; stripped trailing
white space.
2007-04-12 22:42:49 +00:00
Michael Kerrisk d24e23199c s/Unices/Unix systems/ 2006-12-17 01:04:18 +00:00
Michael Kerrisk 4dec66f990 Updated CONFORMING TO section 2006-08-03 13:58:08 +00:00
Michael Kerrisk 6883b3e731 Changed copyright commnents to add 'and' in some cases 2006-05-22 23:52:24 +00:00
Michael Kerrisk ae74cd0de1 Add text noting that a signal's disposition is process-wide,
shared by all threads.
Add text on changing signal disposition.
Add text on "signal mask and pending signals".
Other minor edits.
2006-04-24 00:43:09 +00:00
Michael Kerrisk 66679b1f0f 4.x BSD --> 4.xBSD 2006-04-23 23:29:16 +00:00
Michael Kerrisk e1a9bc1bc7 Added SEE ALSO entry referring to new core.5 page 2006-03-31 07:10:17 +00:00
Michael Kerrisk 0b321ee459 Added entries to SEE ALSO 2005-11-29 16:52:11 +00:00
Michael Kerrisk 4f62997d55 Added pthreads.7 to SEE ALSO. 2005-11-17 13:38:34 +00:00
Michael Kerrisk 479377fb38 Updated SEE ALSO to reflect splitting of sigaction.2 into
sigaction.2, sigsuspend.2, sigpending.2, sigprocmask.2
2005-09-15 09:20:05 +00:00
Michael Kerrisk de7e5e1848 wording fix 2005-06-29 08:13:08 +00:00
Michael Kerrisk 9fdfa163e5 Typos fixes from A Costa (16 May 05, Debian "manpages"). 2005-06-24 14:17:21 +00:00
Michael Kerrisk 1b88e9c222 Minor fix 2005-06-07 06:51:12 +00:00
Michael Kerrisk 704a18f06d Fixed typos and spelling mistakes 2005-04-18 13:35:29 +00:00
Michael Kerrisk c0722da013 tweak RLIMIT_SIGPENDING details 2004-12-07 17:46:30 +00:00
Michael Kerrisk 1c1634c099 /proc/sys/kernel/rtsig-* were superceded by RLIMIT_SIGPENDING in kernel 2.6.8. 2004-12-03 15:11:50 +00:00
Michael Kerrisk 305a0578bf Global change of email address for MTK (now: mtk-manpages@gmx.net) 2004-11-03 14:43:40 +00:00
Michael Kerrisk fea681dafb Import of man-pages 1.70 2004-11-03 13:51:07 +00:00