Skip to content

Commit

Permalink
The restart_signal syscall can be used to restart a syscall after t…
Browse files Browse the repository at this point in the history
…he process was it was interrupted by a stop signal (e.g. SIGSTOP) and later resumed by SIGCONT.

PiperOrigin-RevId: 622102195
Change-Id: I5fee6a491149f27d93fd845b9aacfd288ee76d0b
  • Loading branch information
okunz authored and Copybara-Service committed Apr 5, 2024
1 parent 6159168 commit ef70284
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sandboxed_api/sandbox2/policybuilder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,7 @@ PolicyBuilder& PolicyBuilder::AllowAlarm() {

PolicyBuilder& PolicyBuilder::AllowHandleSignals() {
return AllowSyscalls({
__NR_restart_syscall,
__NR_rt_sigaction,
__NR_rt_sigreturn,
__NR_rt_sigprocmask,
Expand Down

0 comments on commit ef70284

Please sign in to comment.