summaryrefslogtreecommitdiffstats
path: root/chrome/app
diff options
context:
space:
mode:
authormarkus@chromium.org <markus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-15 22:14:35 +0000
committermarkus@chromium.org <markus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-15 22:14:35 +0000
commit51043776a6749c69d59feb34199bd2d9fe9cb045 (patch)
tree5c87e74a6511f1ae5ca1fea67ebb660fdc40babd /chrome/app
parent0d342132f1108dca819f7a78654995db5533bf31 (diff)
downloadchromium_src-51043776a6749c69d59feb34199bd2d9fe9cb045.zip
chromium_src-51043776a6749c69d59feb34199bd2d9fe9cb045.tar.gz
chromium_src-51043776a6749c69d59feb34199bd2d9fe9cb045.tar.bz2
Bump the seccomp DEPS. This enables all the necessary features for breakpad
support when the seccomp sandbox is enabled. N.B. in order to test this, you either need to run an officially released binary, or you have to build with this ~/.gyp/include.gypi { 'variables': { 'linux_breakpad': 1, }, } In that case, you probably also have to pass the --enable-crash-reporter command line flag. None of those should be necessary for official releases. TEST=run with --enable-seccomp-sandbox and open about:crash BUG=37728 Review URL: http://codereview.chromium.org/3411006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59565 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app')
-rw-r--r--chrome/app/breakpad_linux.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/app/breakpad_linux.cc b/chrome/app/breakpad_linux.cc
index f9e66b9..ddc67d5 100644
--- a/chrome/app/breakpad_linux.cc
+++ b/chrome/app/breakpad_linux.cc
@@ -2,7 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#define SYS_SEGMENTNAME "syscalls" // For linux_syscall_support.h
+// For linux_syscall_support.h. This makes it safe to call embedded system
+// calls when in seccomp mode.
+#define SYS_SYSCALL_ENTRYPOINT "playground$syscallEntryPoint"
#include "chrome/app/breakpad_linux.h"
@@ -28,7 +30,6 @@
#include "breakpad/src/client/linux/handler/exception_handler.h"
#include "breakpad/src/client/linux/minidump_writer/directory_reader.h"
#include "breakpad/src/common/linux/linux_libc_support.h"
-#include "breakpad/src/common/linux/linux_syscall_support.h"
#include "breakpad/src/common/linux/memory.h"
#include "chrome/common/child_process_logging.h"
#include "chrome/common/chrome_descriptors.h"
@@ -36,6 +37,7 @@
#include "chrome/common/chrome_switches.h"
#include "chrome/common/chrome_version_info_posix.h"
#include "chrome/common/env_vars.h"
+#include "seccompsandbox/linux_syscall_support.h"
// Some versions of gcc are prone to warn about unused return values. In cases
// where we either a) know the call cannot fail, or b) there is nothing we