diff options
| author | Oleg Nesterov <[email protected]> | 2016-05-23 16:24:02 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-05-23 17:04:14 -0700 |
| commit | 5c8ccefdf46c5f87d87b694c7fbc04941c2c99a5 (patch) | |
| tree | d2115adcef5c635ba4698c25a89934f7ff15e8e4 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 747800efbe8b98459f48d1d9d742298f8283f8fa (diff) | |
signal: move the "sig < SIGRTMIN" check into siginmask(sig)
All the users of siginmask() must ensure that sig < SIGRTMIN. sig_fatal()
doesn't and this is wrong:
UBSAN: Undefined behaviour in kernel/signal.c:911:6
shift exponent 32 is too large for 32-bit type 'long unsigned int'
the patch doesn't add the neccesary check to sig_fatal(), it moves the
check into siginmask() and updates other callers.
Link: http://lkml.kernel.org/r/[email protected]
Reported-by: Meelis Roos <[email protected]>
Signed-off-by: Oleg Nesterov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions