| Index: sandbox/linux/seccomp-bpf/trap.h
|
| diff --git a/sandbox/linux/seccomp-bpf/trap.h b/sandbox/linux/seccomp-bpf/trap.h
|
| index 4073bfe1201caa067ba6728672b316e84d1227e0..d059b751d84d2f06abe305f1e2e5cd0c348b54ac 100644
|
| --- a/sandbox/linux/seccomp-bpf/trap.h
|
| +++ b/sandbox/linux/seccomp-bpf/trap.h
|
| @@ -10,8 +10,11 @@
|
|
|
| #include <map>
|
|
|
| +#include "build/build_config.h"
|
| +
|
| #include "base/macros.h"
|
| #include "sandbox/linux/bpf_dsl/trap_registry.h"
|
| +#include "sandbox/linux/system_headers/linux_signal.h"
|
| #include "sandbox/sandbox_export.h"
|
|
|
| namespace sandbox {
|
| @@ -57,12 +60,13 @@ class SANDBOX_EXPORT Trap : public bpf_dsl::TrapRegistry {
|
| // break subsequent system calls that trigger a SIGSYS.
|
| ~Trap() = delete;
|
|
|
| - static void SigSysAction(int nr, siginfo_t* info, void* void_context);
|
| + static void SigSysAction(int nr, linux_siginfo_t* info, void* void_context);
|
|
|
| // Make sure that SigSys is not inlined in order to get slightly better crash
|
| // dumps.
|
| - void SigSys(int nr, siginfo_t* info, void* void_context)
|
| + void SigSys(int nr, linux_siginfo_t* info, void* void_context)
|
| __attribute__((noinline));
|
| +
|
| // We have a global singleton that handles all of our SIGSYS traps. This
|
| // variable must never be deallocated after it has been set up initially, as
|
| // there is no way to reset in-kernel BPF filters that generate SIGSYS
|
|
|