]> 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)
commit0313b56fac11a28f0e9f3a3d71488f9565c55431
treea35a91f2cfb9c634f7663436c73bf8ebca656ab8
parent401af87faea4bba9dc570fbf76bda692b3fd24f1
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