]> git.baikalelectronics.ru Git - kernel.git/commit
copy_xstate_to_kernel(): don't leave parts of destination uninitialized
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 26 May 2020 22:39:49 +0000 (18:39 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 27 May 2020 21:06:31 +0000 (17:06 -0400)
commitfcd56d25c8b226a21eb85a61d4eb97bff703155c
treea35a91f2cfb9c634f7663436c73bf8ebca656ab8
parent64a60972cef8935656d4f54476ac151a19bff9f6
copy_xstate_to_kernel(): don't leave parts of destination uninitialized

copy the corresponding pieces of init_fpstate into the gaps instead.

Cc: stable@kernel.org
Tested-by: Alexander Potapenko <glider@google.com>
Acked-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/x86/kernel/fpu/xstate.c