Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc

Issue 1539423002: Revert of Switch to standard integer types in sandbox/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <stddef.h>
10 #include <stdint.h>
11 #include <sys/syscall.h> 9 #include <sys/syscall.h>
12 #include <unistd.h> 10 #include <unistd.h>
13 11
14 #include "base/logging.h" 12 #include "base/logging.h"
15 #include "base/posix/eintr_wrapper.h" 13 #include "base/posix/eintr_wrapper.h"
16 #include "build/build_config.h" 14 #include "build/build_config.h"
17 #include "sandbox/linux/bpf_dsl/bpf_dsl.h" 15 #include "sandbox/linux/bpf_dsl/bpf_dsl.h"
18 #include "sandbox/linux/seccomp-bpf/sandbox_bpf.h" 16 #include "sandbox/linux/seccomp-bpf/sandbox_bpf.h"
19 #include "sandbox/linux/seccomp-bpf/syscall.h" 17 #include "sandbox/linux/seccomp-bpf/syscall.h"
20 #include "sandbox/linux/services/syscall_wrappers.h" 18 #include "sandbox/linux/services/syscall_wrappers.h"
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 288
291 const char* GetKillErrorMessageContentForTests() { 289 const char* GetKillErrorMessageContentForTests() {
292 return SECCOMP_MESSAGE_KILL_CONTENT; 290 return SECCOMP_MESSAGE_KILL_CONTENT;
293 } 291 }
294 292
295 const char* GetFutexErrorMessageContentForTests() { 293 const char* GetFutexErrorMessageContentForTests() {
296 return SECCOMP_MESSAGE_FUTEX_CONTENT; 294 return SECCOMP_MESSAGE_FUTEX_CONTENT;
297 } 295 }
298 296
299 } // namespace sandbox. 297 } // namespace sandbox.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698