Skip to content
Commit 0e30c6a0 authored by Andrew Boie's avatar Andrew Boie Committed by Ioannis Glaropoulos
Browse files

kernel: wipe TLS when dropping to user mode



For threads that run in supervisor mode for some time before
synchronously dropping to user mode, re-initialize the TLS
area to prevent leakage of potentially sensitive information.

We did this already for CONFIG_THREAD_USERSPACE_LOCAL_DATA
but not the new CONFIG_THREAD_LOCAL_STORAGE.

Signed-off-by: default avatarAndrew Boie <andrew.p.boie@intel.com>
parent 5c5e3597
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment