Lines Matching refs:current
42 spin_lock_irq(¤t->sighand->siglock); in sys_sigsuspend()
43 current->saved_sigmask = current->blocked; in sys_sigsuspend()
44 siginitset(¤t->blocked, mask); in sys_sigsuspend()
46 spin_unlock_irq(¤t->sighand->siglock); in sys_sigsuspend()
48 current->state = TASK_INTERRUPTIBLE; in sys_sigsuspend()
108 if (is_using_fpu(current)) in restore_sigcontext()
109 fpu_kill_state(current); in restore_sigcontext()
175 spin_lock_irq(¤t->sighand->siglock); in sys_sigreturn()
176 current->blocked = set; in sys_sigreturn()
178 spin_unlock_irq(¤t->sighand->siglock); in sys_sigreturn()
186 force_sig(SIGSEGV, current); in sys_sigreturn()
206 spin_lock_irq(¤t->sighand->siglock); in sys_rt_sigreturn()
207 current->blocked = set; in sys_rt_sigreturn()
209 spin_unlock_irq(¤t->sighand->siglock); in sys_rt_sigreturn()
221 force_sig(SIGSEGV, current); in sys_rt_sigreturn()
273 sp = current->sas_ss_sp + current->sas_ss_size; in get_sigframe()
344 sig, current->comm, current->pid, frame, regs->pc, in setup_frame()
351 force_sigsegv(sig, current); in setup_frame()
384 __put_user((void *)current->sas_ss_sp, &frame->uc.uc_stack.ss_sp) || in setup_rt_frame()
386 __put_user(current->sas_ss_size, &frame->uc.uc_stack.ss_size) || in setup_rt_frame()
425 sig, current->comm, current->pid, frame, regs->pc, in setup_rt_frame()
432 force_sigsegv(sig, current); in setup_rt_frame()
480 spin_lock_irq(¤t->sighand->siglock); in handle_signal()
481 sigorsets(¤t->blocked, ¤t->blocked, in handle_signal()
484 sigaddset(¤t->blocked, sig); in handle_signal()
486 spin_unlock_irq(¤t->sighand->siglock); in handle_signal()
508 oldset = ¤t->saved_sigmask; in do_signal()
510 oldset = ¤t->blocked; in do_signal()
551 sigprocmask(SIG_SETMASK, ¤t->saved_sigmask, NULL); in do_signal()
578 if (current->replacement_session_keyring) in do_notify_resume()