Skip to content
Commit 7a0aeb14 authored by Vegard Nossum's avatar Vegard Nossum
Browse files

signal: fix __send_signal() false positive kmemcheck warning



This false positive is due to field padding in struct sigqueue. When
this dynamically allocated structure is copied to the stack (in arch-
specific delivery code), kmemcheck sees a read from the padding, which
is, naturally, uninitialized.

Hide the false positive using the __GFP_NOTRACK_FALSE_POSITIVE flag.
Also made the rlimit override code a bit clearer by introducing a new
variable.

Cc: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: default avatarVegard Nossum <vegard.nossum@gmail.com>
parent 3b5c760e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment