| OLD | NEW |
| 1 /* Copyright (c) 2005-2010, Google Inc. | 1 /* Copyright (c) 2005-2010, 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 2709 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2720 LSS_INLINE _syscall3(int, setresgid, gid_t, r, | 2720 LSS_INLINE _syscall3(int, setresgid, gid_t, r, |
| 2721 gid_t, e, gid_t, s) | 2721 gid_t, e, gid_t, s) |
| 2722 LSS_INLINE _syscall3(int, setresuid, uid_t, r, | 2722 LSS_INLINE _syscall3(int, setresuid, uid_t, r, |
| 2723 uid_t, e, uid_t, s) | 2723 uid_t, e, uid_t, s) |
| 2724 LSS_INLINE _syscall2(int, setrlimit, int, r, | 2724 LSS_INLINE _syscall2(int, setrlimit, int, r, |
| 2725 const struct kernel_rlimit*, l) | 2725 const struct kernel_rlimit*, l) |
| 2726 LSS_INLINE _syscall0(pid_t, setsid) | 2726 LSS_INLINE _syscall0(pid_t, setsid) |
| 2727 LSS_INLINE _syscall2(int, sigaltstack, const stack_t*, s, | 2727 LSS_INLINE _syscall2(int, sigaltstack, const stack_t*, s, |
| 2728 const stack_t*, o) | 2728 const stack_t*, o) |
| 2729 #if defined(__NR_sigreturn) | 2729 #if defined(__NR_sigreturn) |
| 2730 LSS_INLINE _syscall1(int, sigreturn, unsigned long, u); | 2730 LSS_INLINE _syscall1(int, sigreturn, unsigned long, u) |
| 2731 #endif | 2731 #endif |
| 2732 LSS_INLINE _syscall2(int, stat, const char*, f, | 2732 LSS_INLINE _syscall2(int, stat, const char*, f, |
| 2733 struct kernel_stat*, b) | 2733 struct kernel_stat*, b) |
| 2734 LSS_INLINE _syscall2(int, statfs, const char*, f, | 2734 LSS_INLINE _syscall2(int, statfs, const char*, f, |
| 2735 struct kernel_statfs*, b) | 2735 struct kernel_statfs*, b) |
| 2736 LSS_INLINE _syscall3(int, tgkill, pid_t, p, | 2736 LSS_INLINE _syscall3(int, tgkill, pid_t, p, |
| 2737 pid_t, t, int, s) | 2737 pid_t, t, int, s) |
| 2738 LSS_INLINE _syscall2(int, tkill, pid_t, p, | 2738 LSS_INLINE _syscall2(int, tkill, pid_t, p, |
| 2739 int, s) | 2739 int, s) |
| 2740 LSS_INLINE _syscall1(int, unlink, const char*, f) | 2740 LSS_INLINE _syscall1(int, unlink, const char*, f) |
| 2741 LSS_INLINE _syscall3(ssize_t, write, int, f, | 2741 LSS_INLINE _syscall3(ssize_t, write, int, f, |
| 2742 const void *, b, size_t, c) | 2742 const void *, b, size_t, c) |
| 2743 LSS_INLINE _syscall3(ssize_t, writev, int, f, | 2743 LSS_INLINE _syscall3(ssize_t, writev, int, f, |
| 2744 const struct kernel_iovec*, v, size_t, c) | 2744 const struct kernel_iovec*, v, size_t, c) |
| 2745 #if defined(__NR_getcpu) | 2745 #if defined(__NR_getcpu) |
| 2746 LSS_INLINE _syscall3(long, getcpu, unsigned *, cpu, | 2746 LSS_INLINE _syscall3(long, getcpu, unsigned *, cpu, |
| 2747 unsigned *, node, void *, unused); | 2747 unsigned *, node, void *, unused) |
| 2748 #endif | 2748 #endif |
| 2749 #if defined(__x86_64__) || \ | 2749 #if defined(__x86_64__) || \ |
| 2750 (defined(__mips__) && _MIPS_SIM != _MIPS_SIM_ABI32) | 2750 (defined(__mips__) && _MIPS_SIM != _MIPS_SIM_ABI32) |
| 2751 LSS_INLINE _syscall3(int, recvmsg, int, s, | 2751 LSS_INLINE _syscall3(int, recvmsg, int, s, |
| 2752 struct kernel_msghdr*, m, int, f) | 2752 struct kernel_msghdr*, m, int, f) |
| 2753 LSS_INLINE _syscall3(int, sendmsg, int, s, | 2753 LSS_INLINE _syscall3(int, sendmsg, int, s, |
| 2754 const struct kernel_msghdr*, m, int, f) | 2754 const struct kernel_msghdr*, m, int, f) |
| 2755 LSS_INLINE _syscall6(int, sendto, int, s, | 2755 LSS_INLINE _syscall6(int, sendto, int, s, |
| 2756 const void*, m, size_t, l, | 2756 const void*, m, size_t, l, |
| 2757 int, f, | 2757 int, f, |
| (...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3474 } | 3474 } |
| 3475 #endif | 3475 #endif |
| 3476 #endif | 3476 #endif |
| 3477 | 3477 |
| 3478 #if defined(__cplusplus) && !defined(SYS_CPLUSPLUS) | 3478 #if defined(__cplusplus) && !defined(SYS_CPLUSPLUS) |
| 3479 } | 3479 } |
| 3480 #endif | 3480 #endif |
| 3481 | 3481 |
| 3482 #endif | 3482 #endif |
| 3483 #endif | 3483 #endif |
| OLD | NEW |