diff options
Diffstat (limited to 'sys/nfs/nfs.h')
-rw-r--r-- | sys/nfs/nfs.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/nfs/nfs.h b/sys/nfs/nfs.h index efdb607..296e34f 100644 --- a/sys/nfs/nfs.h +++ b/sys/nfs/nfs.h @@ -326,8 +326,10 @@ struct uio; struct buf; struct vattr; struct nameidata; /* XXX */ * such as SIGALRM will not expect file I/O system calls to be interrupted * by them and break. */ -#define NFSINT_SIGMASK (sigmask(SIGINT)|sigmask(SIGTERM)|sigmask(SIGKILL)| \ - sigmask(SIGHUP)|sigmask(SIGQUIT)) +#define NFSINT_SIGMASK(set) \ + (SIGISMEMBER(set, SIGINT) || SIGISMEMBER(set, SIGTERM) || \ + SIGISMEMBER(set, SIGHUP) || SIGISMEMBER(set, SIGKILL) || \ + SIGISMEMBER(set, SIGQUIT)) /* * Socket errors ignored for connectionless sockets?? |