From owner-cvs-all Wed Jul 25 18:19:46 2001 Delivered-To: cvs-all@freebsd.org Received: from Awfulhak.org (gw.Awfulhak.org [217.204.245.18]) by hub.freebsd.org (Postfix) with ESMTP id 4DD9037B401; Wed, 25 Jul 2001 18:19:38 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.4/8.11.4) with ESMTP id f6Q1Jat07865; Thu, 26 Jul 2001 02:19:36 +0100 (BST) (envelope-from brian@lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.4/8.11.4) with ESMTP id f6Q1JZg69790; Thu, 26 Jul 2001 02:19:35 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200107260119.f6Q1JZg69790@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Garrett Wollman Cc: Warner Losh , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, brian@Awfulhak.org Subject: Re: cvs commit: src/lib/libc/sys sigaction.2 In-Reply-To: Message from Garrett Wollman of "Wed, 25 Jul 2001 16:54:26 EDT." <200107252054.f6PKsQe28558@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 26 Jul 2001 02:19:35 +0100 From: Brian Somers Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > 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 http://www.freebsd-services.com/ Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message