git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tracing: Fix null pointer deref with SEND_SIG_FORCED
[safe/jmp/linux-2.6]
/
include
/
trace
/
events
/
signal.h
diff --git
a/include/trace/events/signal.h
b/include/trace/events/signal.h
index
814566c
..
17df434
100644
(file)
--- a/
include/trace/events/signal.h
+++ b/
include/trace/events/signal.h
@@
-10,7
+10,8
@@
#define TP_STORE_SIGINFO(__entry, info) \
do { \
- if (info == SEND_SIG_NOINFO) { \
+ if (info == SEND_SIG_NOINFO || \
+ info == SEND_SIG_FORCED) { \
__entry->errno = 0; \
__entry->code = SI_USER; \
} else if (info == SEND_SIG_PRIV) { \