Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement user-space threads #502

Open
MatiasVara opened this issue Aug 6, 2022 · 2 comments
Open

Implement user-space threads #502

MatiasVara opened this issue Aug 6, 2022 · 2 comments
Assignees
Labels
feature This label identifies items that need work on. They should go to Backlog.

Comments

@MatiasVara
Copy link
Collaborator

MatiasVara commented Aug 6, 2022

User-space threads shall execute un-trusted code without allowing to crash the kernel. To simplify the implementation, we can rely on intel mpk to protect kernel code and data.

[1] https://charlycst.github.io/posts/mpk/
[2] https://www.ssrg.ece.vt.edu/papers/vee20-mpk.pdf

@MatiasVara MatiasVara self-assigned this Aug 6, 2022
@MatiasVara MatiasVara added enhancement feature This label identifies items that need work on. They should go to Backlog. and removed enhancement labels Aug 6, 2022
@MatiasVara
Copy link
Collaborator Author

This will require to set up:

  • TSS register
  • PDT for user

@MatiasVara
Copy link
Collaborator Author

The code could run either in ring 3 or ring 2. Having ring 2 thread shall allow to run PV guests in Toro.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This label identifies items that need work on. They should go to Backlog.
Projects
None yet
Development

No branches or pull requests

1 participant