s390/pkey: Wipe sensitive data on failure
[ Upstream commit 1d8c270d ] Wipe sensitive data from stack also if the copy_to_user() fails. Suggested-by:Heiko Carstens <hca@linux.ibm.com> Reviewed-by:
Harald Freudenberger <freude@linux.ibm.com> Reviewed-by:
Ingo Franzki <ifranzki@linux.ibm.com> Acked-by:
Heiko Carstens <hca@linux.ibm.com> Signed-off-by:
Holger Dengler <dengler@linux.ibm.com> Signed-off-by:
Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment