intel / intel/confidential-computing.sgx.sdk

Questions about TLS data

Open
#105 10 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
C++
Stars
2
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Why sgxsdk only support `__thread`, however do not support `thread_local`?

Why TLS data will be reused on switchless mode? Is there any policy to disable this feature?
![1643026205(1)](https://user-images.githubusercontent.com/35480440/150780598-e81154a4-d8ea-4283-99a2-22b3cde8d654.jpg)

Contributor guide

Open the contributing guide

Research direction

Start by reading the issue's questions about `__thread`, `thread_local`, TLS reuse, and switchless mode, then inspect the SGX SDK documentation and relevant source. Determine why the two TLS forms differ, whether switchless mode intentionally reuses TLS data, and whether a disable policy exists; done means these behaviors and any required change are clearly established.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
operating-systems, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.