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_SYS_PRIVATE_H_ | 7 #ifndef NATIVE_CLIENT_SRC_NONSFI_LINUX_LINUX_SYS_PRIVATE_H_ |
8 #define NATIVE_CLIENT_SRC_NONSFI_LINUX_LINUX_SYS_PRIVATE_H_ 1 | 8 #define NATIVE_CLIENT_SRC_NONSFI_LINUX_LINUX_SYS_PRIVATE_H_ 1 |
9 | 9 |
10 #include "native_client/src/include/nacl_base.h" | 10 #include "native_client/src/include/nacl_base.h" |
11 #include "native_client/src/nonsfi/linux/linux_syscall_structs.h" | 11 #include "native_client/src/nonsfi/linux/linux_syscall_structs.h" |
12 | 12 |
13 EXTERN_C_BEGIN | 13 EXTERN_C_BEGIN |
14 | 14 |
15 int linux_getdents64(int fd, struct linux_abi_dirent64 *dirp, int count); | 15 int linux_getdents64(int fd, struct linux_abi_dirent64 *dirp, int count); |
16 int linux_sigaction(int signum, const struct linux_sigaction *act, | 16 int linux_sigaction(int signum, const struct linux_sigaction *act, |
17 struct linux_sigaction *oldact); | 17 struct linux_sigaction *oldact); |
18 int linux_sigprocmask(int how, const linux_sigset_t *set, linux_sigset_t *oset); | 18 int linux_sigprocmask(int how, const linux_sigset_t *set, linux_sigset_t *oset); |
19 | 19 |
20 int linux_clone_wrapper(uintptr_t fn, uintptr_t arg, | 20 int linux_clone_wrapper(uintptr_t fn, uintptr_t arg, |
21 int flags, void *child_stack, | 21 int flags, void *child_stack, |
22 void *ptid, void *ctid, void *thread_ptr); | 22 void *ptid, void *ctid, void *thread_ptr); |
23 int linux_tgkill(int tgid, int tid, int sig); | |
24 | 23 |
25 EXTERN_C_END | 24 EXTERN_C_END |
26 | 25 |
27 #endif | 26 #endif |
OLD | NEW |