pub fn restore_smap()Expand description
Restore SMAP after a temporary user-memory access.
On x86_64 this executes CLAC (Clear AC Flag). On AArch64, sets PSTATE.PAN. On RISC-V, clears the SUM bit.
pub fn restore_smap()Restore SMAP after a temporary user-memory access.
On x86_64 this executes CLAC (Clear AC Flag). On AArch64, sets PSTATE.PAN. On RISC-V, clears the SUM bit.