]> Git Repo - linux.git/commit
signal: add block_sigmask() for adding sigmask to current->blocked
authorMatt Fleming <[email protected]>
Tue, 10 Jan 2012 23:11:17 +0000 (15:11 -0800)
committerLinus Torvalds <[email protected]>
Wed, 11 Jan 2012 00:30:54 +0000 (16:30 -0800)
commit5e6292c0f28f03dfdb8ea3d685f0b838a23bfba4
tree8684833680054ab48f9da2bbc36c93e3d00a3391
parentf350b1778f1b7713ef54fbc7e079e09e2fe098b9
signal: add block_sigmask() for adding sigmask to current->blocked

Abstract the code sequence for adding a signal handler's sa_mask to
current->blocked because the sequence is identical for all architectures.
Furthermore, in the past some architectures actually got this code wrong,
so introduce a wrapper that all architectures can use.

Signed-off-by: Matt Fleming <[email protected]>
Signed-off-by: Oleg Nesterov <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: "David S. Miller" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/x86/kernel/signal.c
include/linux/signal.h
kernel/signal.c
This page took 0.042783 seconds and 4 git commands to generate.