Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2001 02:19:35 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Cc:        Warner Losh <imp@harmony.village.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, brian@Awfulhak.org
Subject:   Re: cvs commit: src/lib/libc/sys sigaction.2 
Message-ID:  <200107260119.f6Q1JZg69790@hak.lan.Awfulhak.org>
In-Reply-To: Message from Garrett Wollman <wollman@khavrinen.lcs.mit.edu>  of "Wed, 25 Jul 2001 16:54:26 EDT." <200107252054.f6PKsQe28558@khavrinen.lcs.mit.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Indeed -- but that's not what the question is about.  POSIX defines a
> specific set of functions which are guaranteed to be safe to call in
> signal handlers, and which are also guaranteed to be safely
> interruptible by signal handlers which only call functions in the set.
> (They must also be *either* reentrant *or* non-interruptible.)  Those
> functions are the following:
> 
> 	_Exit, _exit, accept, access, aio_error, aio_return, aio_suspend,
> 	alarm, bind, cfgetispeed, cfgetospeed, cfsetispeed, cfsetospeed,
> 	chdir, chmod, chown, clock_gettime, close, connect, creat, dup, dup2,
> 	execle, execve, fchmod, fchown, fcntl, fdatasync, fork, fpathconf,
> 	fstat, fsync, ftruncate, getegid, geteuid, getgid, getgroups,
> 	getpeername, getpgrp, getpid, getppid, getsockname, getsockopt,
> 	getuid, kill, link, listen, lseek, lstat, mkdir, mkfifo, open,
> 	pathconf, pause, pipe, poll, posix_trace_event, pselect, raise, read,
> 	readlink, recv, recvfrom, recvmsg, rename, rmdir, select, sem_post,
> 	send, sendmsg, sendto, setgid, setpgid, setsid, setsockopt, setuid,
> 	shutdown, sigaction, sigaddset, sigemptyset, sigfillset, sigismember,
> 	sleep, signal, sigpause, sigpending, sigprocmask, sigqueue, sigset,
> 	sigsuspend, socket, socketpair, stat, symlink, sysconf, tcdrain,
> 	fcflow, tcflush, tcgetattr, tcgetpgrp, tcsendbreak, tcsetattr,
> 	tcsetpgrp, time, timer_getoverrun, timer_gettime, timer_settime,
> 	times, umask, uname, unlink, utime, wait, waitpid, write
> 
> This list is taken from draft 7, XSH page 481.

This list is different from the list in sigaction(2).
 
> -GAWollman

-- 
Brian <brian@freebsd-services.com>                <brian@Awfulhak.org>
      http://www.freebsd-services.com/        <brian@[uk.]FreeBSD.org>
Don't _EVER_ lose your sense of humour !      <brian@[uk.]OpenBSD.org>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107260119.f6Q1JZg69790>