]> asedeno.scripts.mit.edu Git - linux.git/commit
signal: Properly set TRACE_SIGNAL_LOSE_INFO in __send_signal
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 16 May 2019 03:56:17 +0000 (22:56 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 29 May 2019 14:31:43 +0000 (09:31 -0500)
commit8917bef336f5301edd616cfa97b97d0319fd0496
treeb7b98fd5884b464519c4c1eca87a3c719d85d306
parent2e1661d2673667d886cd40ad9f414cb6db48d8da
signal: Properly set TRACE_SIGNAL_LOSE_INFO in __send_signal

Any time siginfo is not stored in the signal queue information is
lost.  Therefore set TRACE_SIGNAL_LOSE_INFO every time the code does
not allocate a signal queue entry, and a queue overflow abort is not
triggered.

Fixes: ba005e1f4172 ("tracepoint: Add signal loss events")
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
kernel/signal.c