Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arch: riscv: reset global pointer on exception
Reset the gp on exception entry from u-mode to protect the kernel against a possible rogue user thread. Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com> Signed-off-by: Yong Cong Sin <ycsin@meta.com>
- Loading branch information