aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/clnt.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc/clnt.c')
-rw-r--r--net/sunrpc/clnt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c
index f025b7e72353..b23c0d328c9c 100644
--- a/net/sunrpc/clnt.c
+++ b/net/sunrpc/clnt.c
@@ -386,11 +386,11 @@ static const struct rpc_call_ops rpc_default_ops = {
386 * Export the signal mask handling for synchronous code that 386 * Export the signal mask handling for synchronous code that
387 * sleeps on RPC calls 387 * sleeps on RPC calls
388 */ 388 */
389#define RPC_INTR_SIGNALS (sigmask(SIGINT) | sigmask(SIGQUIT) | sigmask(SIGKILL)) 389#define RPC_INTR_SIGNALS (sigmask(SIGHUP) | sigmask(SIGINT) | sigmask(SIGQUIT) | sigmask(SIGTERM))
390 390
391static void rpc_save_sigmask(sigset_t *oldset, int intr) 391static void rpc_save_sigmask(sigset_t *oldset, int intr)
392{ 392{
393 unsigned long sigallow = 0; 393 unsigned long sigallow = sigmask(SIGKILL);
394 sigset_t sigmask; 394 sigset_t sigmask;
395 395
396 /* Block all signals except those listed in sigallow */ 396 /* Block all signals except those listed in sigallow */