aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authormseaborn@chromium.org <mseaborn@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2013-09-05 21:34:38 +0000
committermseaborn@chromium.org <mseaborn@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2013-09-05 21:34:38 +0000
commit24c6c0aaefa5e508ce58dc06a68f051260050ebc (patch)
treeeba5e50d736fdaff42a37f0f3f3b6addaeff8d42 /src/client
parentMake StackWalkerAddressList use FRAME_TRUST_PREWALKED trust level. (diff)
downloadbreakpad-24c6c0aaefa5e508ce58dc06a68f051260050ebc.tar.xz
Update to build against the latest revision of linux_syscall_support.h
The prctl() calls must be updated following this LSS change: https://code.google.com/p/linux-syscall-support/source/detail?r=24 BUG=none TEST=build Review URL: https://breakpad.appspot.com/627002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1210 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client')
-rw-r--r--src/client/linux/handler/exception_handler.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/linux/handler/exception_handler.cc b/src/client/linux/handler/exception_handler.cc
index ec1f16a3..2808fc90 100644
--- a/src/client/linux/handler/exception_handler.cc
+++ b/src/client/linux/handler/exception_handler.cc
@@ -391,7 +391,7 @@ bool ExceptionHandler::HandleSignal(int sig, siginfo_t* info, void* uc) {
bool signal_pid_trusted = info->si_code == SI_USER ||
info->si_code == SI_TKILL;
if (signal_trusted || (signal_pid_trusted && info->si_pid == getpid())) {
- sys_prctl(PR_SET_DUMPABLE, 1);
+ sys_prctl(PR_SET_DUMPABLE, 1, 0, 0, 0);
}
CrashContext context;
memcpy(&context.siginfo, info, sizeof(siginfo_t));
@@ -469,7 +469,7 @@ bool ExceptionHandler::GenerateDump(CrashContext *context) {
int r, status;
// Allow the child to ptrace us
- sys_prctl(PR_SET_PTRACER, child);
+ sys_prctl(PR_SET_PTRACER, child, 0, 0, 0);
SendContinueSignalToChild();
do {
r = sys_waitpid(child, &status, __WALL);
@@ -573,7 +573,7 @@ bool ExceptionHandler::WriteMinidump() {
}
// Allow this process to be dumped.
- sys_prctl(PR_SET_DUMPABLE, 1);
+ sys_prctl(PR_SET_DUMPABLE, 1, 0, 0, 0);
CrashContext context;
int getcontext_result = getcontext(&context.context);