summaryrefslogtreecommitdiffstats
path: root/arch/um/drivers
diff options
context:
space:
mode:
authorhaifeng.xu <haifeng.xu@shopee.com>2022-11-28 06:56:06 +0000
committerKees Cook <keescook@chromium.org>2022-12-02 13:04:44 -0800
commit3a017d6355f24de42f2ad688df9fa19e0cb128f2 (patch)
tree534156673d6b284fd4229b8f65557954bd904fef /arch/um/drivers
parent5abf698754b8e5e4f1ca1058ee2b9785fbce6d23 (diff)
downloadlinux-stable-3a017d6355f24de42f2ad688df9fa19e0cb128f2.tar.gz
linux-stable-3a017d6355f24de42f2ad688df9fa19e0cb128f2.tar.bz2
linux-stable-3a017d6355f24de42f2ad688df9fa19e0cb128f2.zip
signal: Initialize the info in ksignal
When handing the SIGNAL_GROUP_EXIT flag, the info in ksignal isn't cleared. However, the info acquired by dequeue_synchronous_signal/dequeue_signal is initialized and can be safely used. Fortunately, the fatal signal process just uses the si_signo and doesn't use any other member. Even so, the initialization before use is more safer. Signed-off-by: haifeng.xu <haifeng.xu@shopee.com> Signed-off-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/20221128065606.19570-1-haifeng.xu@shopee.com
Diffstat (limited to 'arch/um/drivers')
0 files changed, 0 insertions, 0 deletions