Skip to content

Commit

Permalink
Remove outdated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rinon committed Aug 4, 2023
1 parent 5d3f01d commit 5cdb743
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion libia2/threads.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ void *ia2_thread_begin(void *arg) {
"rdpkru\n"
/* clang-format on */
: "=a"(pkru)::"ecx", "edx");
/* returns NULL in insecure mode, because we can't read a pkru there. */
void **new_sp_addr = ia2_stackptr_for_pkru(pkru);

/* Switch to the stack for this compartment, then call `fn(data)`. */
Expand Down

0 comments on commit 5cdb743

Please sign in to comment.