summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/sigaction.2 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Document that execve(2) resets SIGCHLD to SIG_DFLguenther2015-10-111-4/+5
| | | | wordsmithing and ok jmc@
* Prefer .Fa over .Em for struct membersguenther2015-10-111-3/+3
| | | | ok jmc@
* chflagsat() is also async-signal-safeguenther2015-05-121-2/+3
|
* Fix sa_sigaction() handler example. The third argument is void * andmillert2015-04-141-9/+15
| | | | should be cast to ucontext_t * to actually use it. OK deraadt@
* macro cleanup; from Kaspars at Bankovskis dot netschwarze2014-12-141-4/+4
|
* When listing the async-signal-safe functions, don't split out "ANSI C"guenther2014-11-171-15/+11
| | | | | | | functions; the concept comes from POSIX anyway. With tweaks from schwarze@ ok deraadt@, jmc@, millert@, schwarze@
* We missed a hyphen in 'async-signal-safe'guenther2014-09-151-2/+2
| | | | Noted by Jean-Philippe Ouellet (jean-philippe (at) ouellet.biz)
* Mention that SIGTHR is both local and weirdguenther2014-09-151-2/+12
| | | | "seems fair" schwarze@
* sockatmark(3) has been implemented; add it to the async-signal-safe listsguenther2014-09-101-4/+2
|
* update STANDARDS reference from POSIX 1990 to POSIX 2008;schwarze2014-09-101-31/+20
| | | | joint work with and ok guenther@
* Various updates and corrections to SYNOPSIS, ERRORS, and STANDARDSguenther2014-09-091-7/+4
| | | | Mention that unlinkat() serves the role of rmdirat().
* Add additional kernel interfaces for setting close-on-exec on fdsguenther2014-08-311-2/+6
| | | | | | | when creating them: pipe2(), dup3(), accept4(), MSG_CMSG_CLOEXEC, SOCK_CLOEXEC. Includes SOCK_NONBLOCK support. ok matthew@
* Add pthread_sigmask() and raise() to the list of async signal safematthew2014-07-211-1/+3
| | | | | | functions, per POSIX Issue 7 ok deraadt
* Fix typo: s/lstate/lstat/matthew2014-07-211-3/+3
|
* Document that abort() is async signal safe now that it doesn't flushmatthew2014-07-191-6/+5
| | | | | | | | | | stdio buffers While here replace "SUSv[67]" with "POSIX Issue [67]" and update signal(3) to mention that pselect() and ppoll() are async signal safe like sigaction(2) already does. ok guenther
* Oops, getentropy() is an "extension interface", not a "base interface"matthew2014-07-181-2/+2
| | | | | Also, update the async signal safe list in signal(3) too (reminded by deraadt)
* Document that getentropy() is async signal safe.matthew2014-07-181-2/+3
| | | | Pointed out by Jean-Philippe Ouellet
* Document that v?dprintf() is just as safe as v?snprintf(). OK espie@millert2014-05-231-2/+6
|
* obvious .Pa fixes; found with mandocdb(8)schwarze2014-01-211-6/+6
|
* more Bx;jmc2013-08-141-3/+3
| | | | From: Jan Stary
* Clarify behavior of SA_NOCLDWAITguenther2013-05-101-7/+13
| | | | | | Tweak indentation in the synopsis feedback and ok jmc@, espie@
* Lists should be sorted by the normal alphabet, not my private oneguenther2013-05-081-2/+2
| | | | Noted by jmc@
* We have fdatasync() and pselect() now, so uncomment them in the list ofguenther2013-05-081-4/+5
| | | | | async-signal-safe functions. Also, add ppoll() as an async-s-s extension interface
* Document that openat(), etc are safe to call from a signal handler.matthew2012-04-031-20/+20
| | | | | | While here, recognize that _Exit() and raise() are C functions. ok deraadt@, guenther@, jmc@
* knock out some useless Pp;jmc2011-09-031-2/+1
|
* make -column lists pretty again;jmc2011-09-031-37/+36
| | | | | | | | | | specifically, rewrite them to permit some markup in the column headers, and use "Ta" instead of literal tabs; mandoc does not currently match groff 100%, but a mandoc fix may be some time off, and we've gone enough releases with poorly formatting column lists. in some cases i have rewritten the lists as -tag, where -column made little sense.
* Do not attempt to silently continue text for the last column of tablesschwarze2010-02-251-5/+3
| | | | | | | | | | | | | generated by .Bl -column .It <tab> on following lines. This is a workaround; fixing it properly in a way compatible with our old groff would require .Xo support for .Bl -column phrases in mandoc(1), which is too much work right now just to fix exactly this one place in our tree. ok jmc@ This commit fixes the last issue i'm aware of which prevented building our whole tree with mandoc. Not all pages format nicely yet, but none kill the build any more.
* Update the list of async-signal-safe functionsguenther2009-12-161-144/+98
| | | | | | | | | | Document that snprintf/vsnprintf/syslog_r() aren't async-signal-safe for floating-point Provide cursory documentation of SIGTHR Eliminate the NOTE section of the sigaction(2) manpage by merging the good bits into the STANDARDS section ok deraadt@
* convert to new .Dd format;jmc2007-05-311-2/+2
|
* ANSI function prototypes in examples; ok ottojaredy2005-10-091-8/+4
|
* take some .Fd out of a literal block;jmc2005-09-061-4/+4
| | | | from juha erkkila;
* various improvements to lists and displays:jmc2004-04-151-2/+1
| | | | | | .Pp removal -compact removal for displays other list/display errors
* actually snprintf/vsnprintf are now signal race safederaadt2003-12-021-2/+4
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* - section reorderjmc2003-06-011-18/+16
| | | | - macro cleanup
* cpu -> CPUjmc2003-05-121-2/+2
|
* .Xr typos;jmc2003-03-061-2/+2
| | | | ok deraadt@
* typos;jmc2003-02-281-36/+34
| | | | reboot(2), sigaction(2): help and ok millert@
* some more functions that are (only on OpenBSD) safe in signal handlers.deraadt2003-02-031-2/+17
| | | | not having access to these makes things really painful
* Initial cleanup:mpech2002-04-301-2/+2
| | | | | | | | | | | | o) remove extra space in the end of line; o) remove extra blank lines in the end of file; o) remove .Pp before .Ss; o) CAVEAT -> CAVEATS; o) fix usage of .Fa; o) <blank-line> -> .Pp; o) wrap long lines; millert@ ok
* Fix error; open(2) is not supposed to restart when SA_RESTART is set,millert2002-03-141-2/+1
| | | | that is why it is documented as returning EINTR.
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-3/+3
|
* If the handler for SIGCHLD is set to SIG_IGN, act as if themillert2002-01-071-1/+12
| | | | | | SA_NOCLDWAIT (don't create zombies) flag has been specified. This is consistent with most other operating systems and is what XPG4.2 specifies.
* list syslog_r as safe in signal handlersderaadt2001-11-071-1/+5
|
* o) We always close .Bl and .Bd tags;mpech2001-08-061-2/+1
| | | | | | | | | | o) .Sh AUTHOR -> .Sh AUTHORS; o) We don't like .Pp before/after .Sh; o) We don't like .Pp before/after .Rs/.Re; o) NetBSD -> .Nx; o) OpenBSD -> .Ox; millert@ ok
* mdoc police.aaron2001-03-111-5/+7
|
* first cut at "what is allowed in a signal handler, based on but extended from FreeBSD listderaadt2001-01-171-4/+125
|
* .Sh EXAMPLE -> .Sh EXAMPLES. Even if there's only one example, at leastaaron2000-12-151-2/+2
| | | | this is consistent.
* Another round of man page cleanup, this time to remove more hard sentenceaaron2000-10-181-17/+19
| | | | breaks and getting rid of short lines, making these files easier to work with.
* formatting, grammar, and typo correctionpjanzen2000-08-051-11/+13
|