Skip to content

Commit

Permalink
ptrace Monitor: Remove PTRACE_EVENT_STOP ifdef
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 644985822
Change-Id: I991212b5747539acdc0bef5d5e90ddae1b0f7dda
  • Loading branch information
cblichmann authored and copybara-github committed Jun 20, 2024
1 parent 0f282a2 commit 61f75da
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions sandboxed_api/sandbox2/monitor_ptrace.cc
Original file line number Diff line number Diff line change
Expand Up @@ -964,10 +964,6 @@ void PtraceMonitor::StateProcessStopped(pid_t pid, int status) {
should_dump_stack_ = false;
}

#ifndef PTRACE_EVENT_STOP
#define PTRACE_EVENT_STOP 128
#endif

if (is_syscall_exit) {
VLOG(2) << "PID: " << pid << " syscall-exit-stop: " << event_msg;
EventSyscallExit(pid);
Expand Down

0 comments on commit 61f75da

Please sign in to comment.