unsigned long	sigallow = sigmask(SIGKILL); unsigned long	irqflags;  /* Turn off various signals */ if (clnt->cl_intr) { struct k_sigaction *action = current->sighand->action; if (action[SIGINT-1].sa.sa_handler == SIG_DFL) sigallow |= sigmask(SIGINT); if (action[SIGQUIT-1].sa.sa_handler == SIG_DFL) sigallow |= sigmask(SIGQUIT); } spin_lock_irqsave(&current->sighand->siglock, irqflags); *oldset = current->blocked; siginitsetinv(&current->blocked, sigallow & ~oldset->sig[0]); recalc_sigpending(); spin_unlock_irqrestore(&current->sighand->siglock, irqflags); 
rpc_save_sigmask(oldset, clnt->cl_intr); 
void rpc_clnt_sigmask(struct rpc_clnt *clnt, sigset_t *oldset){	unsigned long	sigallow = sigmask(SIGKILL);	unsigned long	irqflags;		/* Turn off various signals */	if (clnt->cl_intr) {		struct k_sigaction *action = current->sighand->action;		if (action[SIGINT-1].sa.sa_handler == SIG_DFL)			sigallow |= sigmask(SIGINT);		if (action[SIGQUIT-1].sa.sa_handler == SIG_DFL)			sigallow |= sigmask(SIGQUIT);	}	spin_lock_irqsave(&current->sighand->siglock, irqflags);	*oldset = current->blocked;	siginitsetinv(&current->blocked, sigallow & ~oldset->sig[0]);	recalc_sigpending();	spin_unlock_irqrestore(&current->sighand->siglock, irqflags);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/14b218a8e4f110206c46e586a3da372f665631e7/clnt.c/clean/net/sunrpc/clnt.c