| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef SANDBOX_LINUX_SECCOMP_BPF_HELPERS_SIGSYS_HANDLERS_H_ | 5 #ifndef SANDBOX_LINUX_SECCOMP_BPF_HELPERS_SIGSYS_HANDLERS_H_ |
| 6 #define SANDBOX_LINUX_SECCOMP_BPF_HELPERS_SIGSYS_HANDLERS_H_ | 6 #define SANDBOX_LINUX_SECCOMP_BPF_HELPERS_SIGSYS_HANDLERS_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include <stdint.h> |
| 9 |
| 9 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| 10 #include "sandbox/linux/bpf_dsl/bpf_dsl_forward.h" | 11 #include "sandbox/linux/bpf_dsl/bpf_dsl_forward.h" |
| 11 #include "sandbox/sandbox_export.h" | 12 #include "sandbox/sandbox_export.h" |
| 12 | 13 |
| 13 // The handlers are suitable for use in Trap() error codes. They are | 14 // The handlers are suitable for use in Trap() error codes. They are |
| 14 // guaranteed to be async-signal safe. | 15 // guaranteed to be async-signal safe. |
| 15 // See sandbox/linux/seccomp-bpf/trap.h to see how they work. | 16 // See sandbox/linux/seccomp-bpf/trap.h to see how they work. |
| 16 | 17 |
| 17 namespace sandbox { | 18 namespace sandbox { |
| 18 | 19 |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 SANDBOX_EXPORT const char* GetErrorMessageContentForTests(); | 73 SANDBOX_EXPORT const char* GetErrorMessageContentForTests(); |
| 73 SANDBOX_EXPORT const char* GetCloneErrorMessageContentForTests(); | 74 SANDBOX_EXPORT const char* GetCloneErrorMessageContentForTests(); |
| 74 SANDBOX_EXPORT const char* GetPrctlErrorMessageContentForTests(); | 75 SANDBOX_EXPORT const char* GetPrctlErrorMessageContentForTests(); |
| 75 SANDBOX_EXPORT const char* GetIoctlErrorMessageContentForTests(); | 76 SANDBOX_EXPORT const char* GetIoctlErrorMessageContentForTests(); |
| 76 SANDBOX_EXPORT const char* GetKillErrorMessageContentForTests(); | 77 SANDBOX_EXPORT const char* GetKillErrorMessageContentForTests(); |
| 77 SANDBOX_EXPORT const char* GetFutexErrorMessageContentForTests(); | 78 SANDBOX_EXPORT const char* GetFutexErrorMessageContentForTests(); |
| 78 | 79 |
| 79 } // namespace sandbox. | 80 } // namespace sandbox. |
| 80 | 81 |
| 81 #endif // SANDBOX_LINUX_SECCOMP_BPF_HELPERS_SIGSYS_HANDLERS_H_ | 82 #endif // SANDBOX_LINUX_SECCOMP_BPF_HELPERS_SIGSYS_HANDLERS_H_ |
| OLD | NEW |