diff options
author | Matt Fleming <matt.fleming@intel.com> | 2012-01-10 15:11:17 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-10 16:30:54 -0800 |
commit | 5e6292c0f28f03dfdb8ea3d685f0b838a23bfba4 (patch) | |
tree | 8684833680054ab48f9da2bbc36c93e3d00a3391 /fs | |
parent | f350b1778f1b7713ef54fbc7e079e09e2fe098b9 (diff) | |
download | op-kernel-dev-5e6292c0f28f03dfdb8ea3d685f0b838a23bfba4.zip op-kernel-dev-5e6292c0f28f03dfdb8ea3d685f0b838a23bfba4.tar.gz |
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 <matt.fleming@intel.com>
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions