Chromium Code Reviews| Index: sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.h |
| diff --git a/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.h b/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.h |
| index 0bada37aa02e9915fbff45f21c36f9f69390e922..b8f626aec613c496564fb8a20ac54ab3ca52fe55 100644 |
| --- a/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.h |
| +++ b/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.h |
| @@ -39,6 +39,13 @@ SANDBOX_EXPORT intptr_t |
| SANDBOX_EXPORT intptr_t |
| SIGSYSIoctlFailure(const struct arch_seccomp_data& args, void* aux); |
| +// Following four functions return substrings of error messages used |
|
Mark Seaborn
2014/04/15 23:03:14
Nit: "The following..." (otherwise I start reading
hamaji
2014/04/16 02:10:48
Done.
|
| +// in the above four functions. They are useful in death tests. |
| +SANDBOX_EXPORT const char* GetErrorMessageContentForTests(); |
| +SANDBOX_EXPORT const char* GetCloneErrorMessageContentForTests(); |
| +SANDBOX_EXPORT const char* GetPrctlErrorMessageContentForTests(); |
| +SANDBOX_EXPORT const char* GetIoctlErrorMessageContentForTests(); |
| + |
| } // namespace sandbox. |
| #endif // SANDBOX_LINUX_SECCOMP_BPF_HELPERS_SIGSYS_HANDLERS_H_ |