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

handle SIGSEGV for segfaults in ushell #12

Open
pogobanane opened this issue Dec 9, 2022 · 1 comment
Open

handle SIGSEGV for segfaults in ushell #12

pogobanane opened this issue Dec 9, 2022 · 1 comment

Comments

@pogobanane
Copy link
Member

No description provided.

@mmisono
Copy link
Member

mmisono commented Dec 9, 2022

(copy from #17

We need to gracefully shut down (and ideally restart) ushell thread if ushell causes SEGV.
We need to think

  • How should we handle traps?
  • How should we free memory used by ushell thread?
    • If we have MPK support, then it should be easy to know which memory is allocated by ushell thread
    • But, ushell might pass its memory buffer to unikernel's function (e.g., for device output), and then ushell can crash
    • How should we release such memory? Or such things won't happen usually?
  • How to evaluate?
    • In [1] section 5.4.1, there is a fault isolation evaluation by fault injection. I think we can do a similar evaluation.

NOTE about orbid ([1])

  • Use separate address space for strong isolation
  • It's a schedulable entity (having own task_struct)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants