Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Commit

Permalink
fixup! [LibOS] Rework signal handling and syscall emulation
Browse files Browse the repository at this point in the history
  • Loading branch information
boryspoplawski committed Feb 4, 2021
1 parent 04816a8 commit db8b340
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Pal/src/host/Linux-SGX/db_exception.c
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ void _DkExceptionHandler(unsigned int exit_info, sgx_cpu_context_t* uc,
restore_pal_context(uc, &ctx);
}

/* TODO: remove this function. It's not an expcetion handling, it's just returning an error from
/* TODO: remove this function. It's not an exception handling, it's just returning an error from
* PAL... */
void _DkRaiseFailure(int error) {
PAL_EVENT_HANDLER upcall = _DkGetExceptionHandler(PAL_EVENT_FAILURE);
Expand Down
2 changes: 1 addition & 1 deletion Pal/src/host/Linux/db_exception.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ static void handle_async_signal(int signum, siginfo_t* info, struct ucontext* uc
perform_signal_handling(event, ADDR_IN_PAL(rip), /*addr=*/0, uc);
}

/* TODO: remove this function. It's not an expcetion handling, it's just returning an error from
/* TODO: remove this function. It's not an exception handling, it's just returning an error from
* PAL... */
void _DkRaiseFailure(int error) {
PAL_EVENT_HANDLER upcall = _DkGetExceptionHandler(PAL_EVENT_FAILURE);
Expand Down

0 comments on commit db8b340

Please sign in to comment.