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

Side by Side Diff: sandbox/linux/system_headers/linux_signal.h

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 5 years 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SIGNAL_H_ 5 #ifndef SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SIGNAL_H_
6 #define SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SIGNAL_H_ 6 #define SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SIGNAL_H_
7 7
8 #include <stdint.h>
9
10 // NOTE: On some toolchains, signal related ABI is incompatible with Linux's 8 // NOTE: On some toolchains, signal related ABI is incompatible with Linux's
11 // (not undefined, but defined different values and in different memory 9 // (not undefined, but defined different values and in different memory
12 // layouts). So, fill the gap here. 10 // layouts). So, fill the gap here.
13 #if defined(__i386__) || defined(__x86_64__) || defined(__arm__) || \ 11 #if defined(__i386__) || defined(__x86_64__) || defined(__arm__) || \
14 defined(__aarch64__) 12 defined(__aarch64__)
15 13
16 #define LINUX_SIGHUP 1 14 #define LINUX_SIGHUP 1
17 #define LINUX_SIGINT 2 15 #define LINUX_SIGINT 2
18 #define LINUX_SIGQUIT 3 16 #define LINUX_SIGQUIT 3
19 #define LINUX_SIGABRT 6 17 #define LINUX_SIGABRT 6
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 #else 135 #else
138 struct LinuxSigAction { 136 struct LinuxSigAction {
139 void (*kernel_handler)(int); 137 void (*kernel_handler)(int);
140 uint32_t sa_flags; 138 uint32_t sa_flags;
141 void (*sa_restorer)(void); 139 void (*sa_restorer)(void);
142 LinuxSigSet sa_mask; 140 LinuxSigSet sa_mask;
143 }; 141 };
144 #endif 142 #endif
145 143
146 #endif // SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SIGNAL_H_ 144 #endif // SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SIGNAL_H_
OLDNEW
« no previous file with comments | « sandbox/linux/system_headers/i386_linux_ucontext.h ('k') | sandbox/linux/system_headers/mips_linux_ucontext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698