| OLD | NEW |
| 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_ONSTACK 0x08000000 |
| 19 #define LINUX_SA_NODEFER 0x40000000 |
| 18 #define LINUX_SA_RESTART 0x10000000 | 20 #define LINUX_SA_RESTART 0x10000000 |
| 19 #define LINUX_SA_ONSTACK 0x08000000 | |
| 20 | 21 |
| 21 /* From linux/arch/{arch}/include/uapi/asm/signal.h */ | 22 /* From linux/arch/{arch}/include/uapi/asm/signal.h */ |
| 22 #if defined(__mips__) | 23 #if defined(__mips__) |
| 23 /* | 24 /* |
| 24 * We at least know the numbers are different on MIPS. This part would | 25 * We at least know the numbers are different on MIPS. This part would |
| 25 * be guarded by #if defined(__i386__) || defined(__arm__), however | 26 * be guarded by #if defined(__i386__) || defined(__arm__), however |
| 26 * this file is included by code which does not have --target set. | 27 * this file is included by code which does not have --target set. |
| 27 */ | 28 */ |
| 28 #error "Unsupported architecture" | 29 #error "Unsupported architecture" |
| 29 #endif | 30 #endif |
| (...skipping 10 matching lines...) Expand all Loading... |
| 40 #define LINUX_SIGSEGV 11 | 41 #define LINUX_SIGSEGV 11 |
| 41 #define LINUX_SIGUSR2 12 | 42 #define LINUX_SIGUSR2 12 |
| 42 #define LINUX_SIGPIPE 13 | 43 #define LINUX_SIGPIPE 13 |
| 43 #define LINUX_SIGALRM 14 | 44 #define LINUX_SIGALRM 14 |
| 44 #define LINUX_SIGTERM 15 | 45 #define LINUX_SIGTERM 15 |
| 45 #define LINUX_SIGSTKFLT 16 | 46 #define LINUX_SIGSTKFLT 16 |
| 46 #define LINUX_SIGCHLD 17 | 47 #define LINUX_SIGCHLD 17 |
| 47 #define LINUX_SIGSYS 31 | 48 #define LINUX_SIGSYS 31 |
| 48 | 49 |
| 49 #endif | 50 #endif |
| OLD | NEW |