OLD | NEW |
1 /* Copyright (c) 2005-2011, Google Inc. | 1 /* Copyright (c) 2005-2011, Google Inc. |
2 * All rights reserved. | 2 * All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 2805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2816 int *, s, int, f) | 2816 int *, s, int, f) |
2817 LSS_INLINE _syscall3(int, mprotect, const void *,a, | 2817 LSS_INLINE _syscall3(int, mprotect, const void *,a, |
2818 size_t, l, int, p) | 2818 size_t, l, int, p) |
2819 LSS_INLINE _syscall5(void*, _mremap, void*, o, | 2819 LSS_INLINE _syscall5(void*, _mremap, void*, o, |
2820 size_t, os, size_t, ns, | 2820 size_t, os, size_t, ns, |
2821 unsigned long, f, void *, a) | 2821 unsigned long, f, void *, a) |
2822 LSS_INLINE _syscall3(int, open, const char*, p, | 2822 LSS_INLINE _syscall3(int, open, const char*, p, |
2823 int, f, int, m) | 2823 int, f, int, m) |
2824 LSS_INLINE _syscall3(int, poll, struct kernel_pollfd*, u, | 2824 LSS_INLINE _syscall3(int, poll, struct kernel_pollfd*, u, |
2825 unsigned int, n, int, t) | 2825 unsigned int, n, int, t) |
2826 LSS_INLINE _syscall2(int, prctl, int, o, | 2826 LSS_INLINE _syscall5(int, prctl, int, option, |
2827 long, a) | 2827 unsigned long, arg2, |
| 2828 unsigned long, arg3, |
| 2829 unsigned long, arg4, |
| 2830 unsigned long, arg5) |
2828 LSS_INLINE _syscall4(long, ptrace, int, r, | 2831 LSS_INLINE _syscall4(long, ptrace, int, r, |
2829 pid_t, p, void *, a, void *, d) | 2832 pid_t, p, void *, a, void *, d) |
2830 #if defined(__NR_quotactl) | 2833 #if defined(__NR_quotactl) |
2831 // Defined on x86_64 / i386 only | 2834 // Defined on x86_64 / i386 only |
2832 LSS_INLINE _syscall4(int, quotactl, int, cmd, const char *, special, | 2835 LSS_INLINE _syscall4(int, quotactl, int, cmd, const char *, special, |
2833 int, id, caddr_t, addr) | 2836 int, id, caddr_t, addr) |
2834 #endif | 2837 #endif |
2835 LSS_INLINE _syscall3(ssize_t, read, int, f, | 2838 LSS_INLINE _syscall3(ssize_t, read, int, f, |
2836 void *, b, size_t, c) | 2839 void *, b, size_t, c) |
2837 LSS_INLINE _syscall3(int, readlink, const char*, p, | 2840 LSS_INLINE _syscall3(int, readlink, const char*, p, |
(...skipping 825 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3663 # pragma pop_macro("fstat64") | 3666 # pragma pop_macro("fstat64") |
3664 # pragma pop_macro("lstat64") | 3667 # pragma pop_macro("lstat64") |
3665 #endif | 3668 #endif |
3666 | 3669 |
3667 #if defined(__cplusplus) && !defined(SYS_CPLUSPLUS) | 3670 #if defined(__cplusplus) && !defined(SYS_CPLUSPLUS) |
3668 } | 3671 } |
3669 #endif | 3672 #endif |
3670 | 3673 |
3671 #endif | 3674 #endif |
3672 #endif | 3675 #endif |
OLD | NEW |