diff options
| author | 2018-02-20 13:23:37 +1100 | |
|---|---|---|
| committer | 2018-02-22 15:03:23 +0100 | |
| commit | 84e07b9d0ac8728b1865b23498d746861a8ab4c2 (patch) | |
| tree | 64f69d4be6a220cf4584e1be50e1e3639d58b3b7 /include/linux/debugobjects.h | |
| parent | staging: lustre: simplify linux-prim.c (diff) | |
staging: lustre: improve API and implementation of blocking signals.
According to comment for set_current_blocked() in
kernel/signal.c, changing ->blocked directly is wrong.
sigprocmask() should be called instead.
So change cfs_block_sigsinv() and cfs_restore_sigs()
to use sigprocmask().
For consistency, change them to pass the sigset_t by reference
rather than by value.
Also fix cfs_block_sigsinv() so that it correctly blocks
signals above 32 on a 32bit host.
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
