diff options
author | mark@chromium.org <mark@chromium.org> | 2015-04-13 23:59:06 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org> | 2015-04-13 23:59:06 +0000 |
commit | 18fc88ddc23ea3ad2719f26e7ca965b4176fc33a (patch) | |
tree | 0568911ae940a4db1237bb6c5f1f1aa1725a4a5a /src/client | |
parent | Microdump processor: be more tolerant for different logcat formats (diff) | |
download | breakpad-18fc88ddc23ea3ad2719f26e7ca965b4176fc33a.tar.xz |
Use __NR_rt_sigaction instead of __NR_sigaction
__NR_sigaction is not defined on arm64/x64/etc (or rather, it's defined
in unistd-32.h instead of unistd.h).
Patch by Chris Hopman <cjhopman@chromium.org>
Review URL: https://breakpad.appspot.com/10724002/
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1443 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/linux/handler/exception_handler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/linux/handler/exception_handler.cc b/src/client/linux/handler/exception_handler.cc index 2ee7e4c3..3ddbe662 100644 --- a/src/client/linux/handler/exception_handler.cc +++ b/src/client/linux/handler/exception_handler.cc @@ -200,7 +200,7 @@ void InstallDefaultHandler(int sig) { sigemptyset(&sa.sa_mask); sa.sa_handler = SIG_DFL; sa.sa_flags = SA_RESTART; - syscall(__NR_sigaction, sig, &sa, NULL); + syscall(__NR_rt_sigaction, sig, &sa, NULL); #else signal(sig, SIG_DFL); #endif |