summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@home.transmeta.com>2003-02-09 02:17:26 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2003-02-09 02:17:26 -0800
commitf3cee4691de36dbdeb3bcaaedaaf409ad2b4ccdb (patch)
tree8bd3bfb8e9166a93fb43f710d56b13b2d9eb82d1 /include/linux
parent01f5c53ced535d7cb1aa3e423b969c6728895b07 (diff)
Make sigprocmask() available to kernel threads too, since a lot of
them do want to temporarily block signals. Kernel users can also block signals that are normally unblockable to user space, ie SIGKILL and SIGSTOP. Make nfsd and autofs use the new interface, as an example to others.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/signal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/signal.h b/include/linux/signal.h
index 53d9e4324557..dd2e25e2129f 100644
--- a/include/linux/signal.h
+++ b/include/linux/signal.h
@@ -204,6 +204,7 @@ static inline void init_sigpending(struct sigpending *sig)
}
extern long do_sigpending(void *, unsigned long);
+extern int sigprocmask(int, sigset_t *, sigset_t *);
#ifndef HAVE_ARCH_GET_SIGNAL_TO_DELIVER
struct pt_regs;