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

Side by Side Diff: chrome/app/breakpad_linux.cc

Issue 10792027: Move /seccompsandbox to /sandbox/linux/seccomp-legacy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase on top of tree (post Windows sandbox move) Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « chrome/app/DEPS ('k') | chrome/nacl/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // For linux_syscall_support.h. This makes it safe to call embedded system 5 // For linux_syscall_support.h. This makes it safe to call embedded system
6 // calls when in seccomp mode. 6 // calls when in seccomp mode.
7 #define SYS_SYSCALL_ENTRYPOINT "playground$syscallEntryPoint" 7 #define SYS_SYSCALL_ENTRYPOINT "playground$syscallEntryPoint"
8 8
9 #include "chrome/app/breakpad_linux.h" 9 #include "chrome/app/breakpad_linux.h"
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 #include "content/public/common/content_descriptors.h" 44 #include "content/public/common/content_descriptors.h"
45 45
46 #if defined(OS_ANDROID) 46 #if defined(OS_ANDROID)
47 #include <android/log.h> 47 #include <android/log.h>
48 #include <sys/stat.h> 48 #include <sys/stat.h>
49 49
50 #include "base/android/build_info.h" 50 #include "base/android/build_info.h"
51 #include "base/android/path_utils.h" 51 #include "base/android/path_utils.h"
52 #include "third_party/lss/linux_syscall_support.h" 52 #include "third_party/lss/linux_syscall_support.h"
53 #else 53 #else
54 #include "seccompsandbox/linux_syscall_support.h" 54 #include "sandbox/linux/seccomp-legacy/linux_syscall_support.h"
55 #endif 55 #endif
56 56
57 #if defined(OS_ANDROID) 57 #if defined(OS_ANDROID)
58 #define STAT_STRUCT struct stat 58 #define STAT_STRUCT struct stat
59 #define FSTAT_FUNC fstat 59 #define FSTAT_FUNC fstat
60 #else 60 #else
61 #define STAT_STRUCT struct kernel_stat 61 #define STAT_STRUCT struct kernel_stat
62 #define FSTAT_FUNC sys_fstat 62 #define FSTAT_FUNC sys_fstat
63 #endif 63 #endif
64 64
(...skipping 1094 matching lines...) Expand 10 before | Expand all | Expand 10 after
1159 g_process_start_time = timeval_to_ms(&tv); 1159 g_process_start_time = timeval_to_ms(&tv);
1160 else 1160 else
1161 g_process_start_time = 0; 1161 g_process_start_time = 0;
1162 1162
1163 logging::SetDumpWithoutCrashingFunction(&DumpProcess); 1163 logging::SetDumpWithoutCrashingFunction(&DumpProcess);
1164 } 1164 }
1165 1165
1166 bool IsCrashReporterEnabled() { 1166 bool IsCrashReporterEnabled() {
1167 return g_is_crash_reporter_enabled; 1167 return g_is_crash_reporter_enabled;
1168 } 1168 }
OLDNEW
« no previous file with comments | « chrome/app/DEPS ('k') | chrome/nacl/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698