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 // Note: any code in this file MUST be async-signal safe. | 5 // Note: any code in this file MUST be async-signal safe. |
6 | 6 |
7 #include "sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.h" | 7 #include "sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.h" |
8 | 8 |
9 #include <unistd.h> | 9 #include <unistd.h> |
10 | 10 |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 } | 173 } |
174 | 174 |
175 const char* GetPrctlErrorMessageContentForTests() { | 175 const char* GetPrctlErrorMessageContentForTests() { |
176 return SECCOMP_MESSAGE_PRCTL_CONTENT; | 176 return SECCOMP_MESSAGE_PRCTL_CONTENT; |
177 } | 177 } |
178 | 178 |
179 const char* GetIoctlErrorMessageContentForTests() { | 179 const char* GetIoctlErrorMessageContentForTests() { |
180 return SECCOMP_MESSAGE_IOCTL_CONTENT; | 180 return SECCOMP_MESSAGE_IOCTL_CONTENT; |
181 } | 181 } |
182 | 182 |
| 183 const char* GetKillErrorMessageContentForTests() { |
| 184 return SECCOMP_MESSAGE_KILL_CONTENT; |
| 185 } |
| 186 |
183 } // namespace sandbox. | 187 } // namespace sandbox. |
OLD | NEW |