Skip to content

Commit

Permalink
Don't allow switching when handling a seccomp-induced trap
Browse files Browse the repository at this point in the history
  • Loading branch information
rocallahan committed Oct 31, 2023
1 parent 6aefa45 commit 9bea13b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/RecordSession.cc
Expand Up @@ -618,7 +618,6 @@ void RecordSession::handle_seccomp_trap(RecordTask* t,
// recorded the syscall-entry we'll enter syscall_state_changed and
// that will trigger a continue to the syscall exit. If we recorded the
// syscall-exit we'll go straight into signal delivery.
last_task_switchable = ALLOW_SWITCH;
step_state->continue_type = RecordSession::DONT_CONTINUE;
}

Expand Down

0 comments on commit 9bea13b

Please sign in to comment.