commit | e94702a440c196c10c0a59927dcfde3427cab23b | [log] [tgz] |
---|---|---|
author | Jens Wiklander <jens.wiklander@linaro.org> | Wed Sep 18 11:05:47 2019 +0200 |
committer | Jérôme Forissier <jerome@forissier.org> | Mon Dec 16 09:36:08 2019 +0100 |
tree | d324efe157c0b473c5d677d0ca8bc07a257d1fdc | |
parent | c2c16e8742eddfdcd68fbcc9fdc497bf6c70f3b9 [diff] |
core: thread_enter_user_mode(): avoid leaking register content Prior to this patch not all registers passed to user mode where assigned a new value. This allows user mode to see the value of some registers used by Core. With this patch all general purpose registers available in user mode are either cleared or assigned a value. Acked-by: Pipat Methavanitpong <pipat.methavanitpong@linaro.org> Acked-by: Jerome Forissier <jerome@forissier.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
This git contains source code for the secure side implementation of OP-TEE project.
All official OP-TEE documentation has moved to http://optee.readthedocs.io.
// OP-TEE core maintainers