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

Side by Side Diff: src/nonsfi/linux/linux_syscall_defines.h

Issue 1300883003: Revert of Non-SFI mode: Add Linux asynchronous signal support (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « src/nonsfi/linux/linux_sys_private.c ('k') | src/nonsfi/linux/nacl.scons » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2014 The Native Client Authors. All rights reserved. 2 * Copyright 2014 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 #ifndef NATIVE_CLIENT_SRC_NONSFI_LINUX_LINUX_SYSCALL_DEFINES_H_ 7 #ifndef NATIVE_CLIENT_SRC_NONSFI_LINUX_LINUX_SYSCALL_DEFINES_H_
8 #define NATIVE_CLIENT_SRC_NONSFI_LINUX_LINUX_SYSCALL_DEFINES_H_ 1 8 #define NATIVE_CLIENT_SRC_NONSFI_LINUX_LINUX_SYSCALL_DEFINES_H_ 1
9 9
10 #define FUTEX_WAIT_PRIVATE 128 10 #define FUTEX_WAIT_PRIVATE 128
11 #define FUTEX_WAKE_PRIVATE 129 11 #define FUTEX_WAKE_PRIVATE 129
12 12
13 #define LINUX_TCGETS 0x5401 13 #define LINUX_TCGETS 0x5401
14 14
15 #define LINUX_SIG_UNBLOCK 1 15 #define LINUX_SIG_UNBLOCK 1
16 16
17 #define LINUX_SA_SIGINFO 0x00000004 17 #define LINUX_SA_SIGINFO 0x00000004
18 #define LINUX_SA_RESTART 0x10000000
18 #define LINUX_SA_ONSTACK 0x08000000 19 #define LINUX_SA_ONSTACK 0x08000000
19 #define LINUX_SA_NODEFER 0x40000000
20 #define LINUX_SA_RESTART 0x10000000
21 20
22 /* From linux/arch/{arch}/include/uapi/asm/signal.h */ 21 /* From linux/arch/{arch}/include/uapi/asm/signal.h */
23 #if defined(__mips__) 22 #if defined(__mips__)
24 /* 23 /*
25 * We at least know the numbers are different on MIPS. This part would 24 * We at least know the numbers are different on MIPS. This part would
26 * be guarded by #if defined(__i386__) || defined(__arm__), however 25 * be guarded by #if defined(__i386__) || defined(__arm__), however
27 * this file is included by code which does not have --target set. 26 * this file is included by code which does not have --target set.
28 */ 27 */
29 #error "Unsupported architecture" 28 #error "Unsupported architecture"
30 #endif 29 #endif
(...skipping 10 matching lines...) Expand all
41 #define LINUX_SIGSEGV 11 40 #define LINUX_SIGSEGV 11
42 #define LINUX_SIGUSR2 12 41 #define LINUX_SIGUSR2 12
43 #define LINUX_SIGPIPE 13 42 #define LINUX_SIGPIPE 13
44 #define LINUX_SIGALRM 14 43 #define LINUX_SIGALRM 14
45 #define LINUX_SIGTERM 15 44 #define LINUX_SIGTERM 15
46 #define LINUX_SIGSTKFLT 16 45 #define LINUX_SIGSTKFLT 16
47 #define LINUX_SIGCHLD 17 46 #define LINUX_SIGCHLD 17
48 #define LINUX_SIGSYS 31 47 #define LINUX_SIGSYS 31
49 48
50 #endif 49 #endif
OLDNEW
« no previous file with comments | « src/nonsfi/linux/linux_sys_private.c ('k') | src/nonsfi/linux/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698