this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Generated syscall wrappers, made changes needed for Darling/ELF

+7160 -5
+6
kernel/libsyscall/CMakeLists.txt
··· 2 2 3 3 cmake_minimum_required(VERSION 2.4.0) 4 4 5 + enable_language(C ASM) 6 + 5 7 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -nostdinc") 6 8 include_directories("${CMAKE_CURRENT_SOURCE_DIR}/wrappers") 7 9 include_directories("${CMAKE_CURRENT_SOURCE_DIR}/mach") ··· 14 16 add_definitions(-DPRIVATE) 15 17 add_definitions('-D__XNU_PRIVATE_EXTERN=') 16 18 #add_definitions(-DKERNEL) 19 + 20 + set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -nostdlib -Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/darwin.map") 17 21 18 22 set(MIG_USER_HEADER_SUFFIX "_internal.h") 19 23 mig(mach/exc.defs) ··· 137 141 mach/string.c 138 142 mach/thread_act.c 139 143 144 + Platforms/syscall.s 145 + Platforms/MacOSX/x86_64/syscall.s 140 146 ) 141 147 142 148 mig(mach/host_priv.defs)
+198
kernel/libsyscall/Platforms/MacOSX/i386/syscall.s
··· 1 + .globl accept$NOCANCEL$UNIX2003 2 + accept$NOCANCEL$UNIX2003 = __accept_nocancel 3 + .globl accept$UNIX2003 4 + accept$UNIX2003 = __accept 5 + .globl aio_suspend 6 + aio_suspend = __aio_suspend_nocancel 7 + .globl aio_suspend$NOCANCEL$UNIX2003 8 + aio_suspend$NOCANCEL$UNIX2003 = __aio_suspend_nocancel 9 + .globl aio_suspend$UNIX2003 10 + aio_suspend$UNIX2003 = __aio_suspend 11 + .globl bind$UNIX2003 12 + bind$UNIX2003 = __bind 13 + .globl close 14 + close = __close_nocancel 15 + .globl close$NOCANCEL$UNIX2003 16 + close$NOCANCEL$UNIX2003 = __close_nocancel 17 + .globl close$UNIX2003 18 + close$UNIX2003 = __close 19 + .globl chmod 20 + chmod = __chmod 21 + .globl connect$NOCANCEL$UNIX2003 22 + connect$NOCANCEL$UNIX2003 = __connect_nocancel 23 + .globl connect$UNIX2003 24 + connect$UNIX2003 = __connect 25 + .globl fcntl 26 + fcntl = __fcntl_nocancel 27 + .globl fcntl$NOCANCEL$UNIX2003 28 + fcntl$NOCANCEL$UNIX2003 = __fcntl_nocancel 29 + .globl fcntl$UNIX2003 30 + fcntl$UNIX2003 = __fcntl 31 + .globl fstat$INODE64 32 + fstat$INODE64 = __fstat64 33 + .globl fstatat$INODE64 34 + fstatat$INODE64 = __fstatat64 35 + .globl fstatfs$INODE64 36 + fstatfs$INODE64 = __fstatfs64 37 + .globl fsync 38 + fsync = __fsync_nocancel 39 + .globl fsync$NOCANCEL$UNIX2003 40 + fsync$NOCANCEL$UNIX2003 = __fsync_nocancel 41 + .globl fsync$UNIX2003 42 + fsync$UNIX2003 = __fsync 43 + .globl getattrlist$UNIX2003 44 + getattrlist$UNIX2003 = __getattrlist 45 + .globl getfsstat$INODE64 46 + getfsstat$INODE64 = __getfsstat64 47 + .globl getpeername$UNIX2003 48 + getpeername$UNIX2003 = __getpeername 49 + .globl getsockname$UNIX2003 50 + getsockname$UNIX2003 = __getsockname 51 + .globl lchown$UNIX2003 52 + lchown$UNIX2003 = __lchown 53 + .globl listen$UNIX2003 54 + listen$UNIX2003 = __listen 55 + .globl lstat$INODE64 56 + lstat$INODE64 = __lstat64 57 + .globl mmap 58 + mmap = __mmap 59 + .globl mprotect$UNIX2003 60 + mprotect$UNIX2003 = __mprotect 61 + .globl msgctl$UNIX2003 62 + msgctl$UNIX2003 = __msgctl 63 + .globl msgrcv 64 + msgrcv = __msgrcv_nocancel 65 + .globl msgrcv$NOCANCEL$UNIX2003 66 + msgrcv$NOCANCEL$UNIX2003 = __msgrcv_nocancel 67 + .globl msgrcv$UNIX2003 68 + msgrcv$UNIX2003 = __msgrcv 69 + .globl msgsnd 70 + msgsnd = __msgsnd_nocancel 71 + .globl msgsnd$NOCANCEL$UNIX2003 72 + msgsnd$NOCANCEL$UNIX2003 = __msgsnd_nocancel 73 + .globl msgsnd$UNIX2003 74 + msgsnd$UNIX2003 = __msgsnd 75 + .globl msgsys 76 + msgsys = __msgsys 77 + .globl msync$NOCANCEL$UNIX2003 78 + msync$NOCANCEL$UNIX2003 = __msync_nocancel 79 + .globl msync$UNIX2003 80 + msync$UNIX2003 = __msync 81 + .globl open$NOCANCEL$UNIX2003 82 + open$NOCANCEL$UNIX2003 = __open_nocancel 83 + .globl open$UNIX2003 84 + open$UNIX2003 = __open 85 + .globl openat$NOCANCEL 86 + openat$NOCANCEL = __openat_nocancel 87 + .globl openat 88 + openat = __openat 89 + .globl poll 90 + poll = __poll_nocancel 91 + .globl poll$NOCANCEL$UNIX2003 92 + poll$NOCANCEL$UNIX2003 = __poll_nocancel 93 + .globl poll$UNIX2003 94 + poll$UNIX2003 = __poll 95 + .globl pread 96 + pread = __pread_nocancel 97 + .globl pread$NOCANCEL$UNIX2003 98 + pread$NOCANCEL$UNIX2003 = __pread_nocancel 99 + .globl pread$UNIX2003 100 + pread$UNIX2003 = __pread 101 + .globl pwrite 102 + pwrite = __pwrite_nocancel 103 + .globl pwrite$NOCANCEL$UNIX2003 104 + pwrite$NOCANCEL$UNIX2003 = __pwrite_nocancel 105 + .globl pwrite$UNIX2003 106 + pwrite$UNIX2003 = __pwrite 107 + .globl read 108 + read = __read_nocancel 109 + .globl read$NOCANCEL$UNIX2003 110 + read$NOCANCEL$UNIX2003 = __read_nocancel 111 + .globl read$UNIX2003 112 + read$UNIX2003 = __read 113 + .globl readv 114 + readv = __readv_nocancel 115 + .globl readv$NOCANCEL$UNIX2003 116 + readv$NOCANCEL$UNIX2003 = __readv_nocancel 117 + .globl readv$UNIX2003 118 + readv$UNIX2003 = __readv 119 + .globl recvfrom$NOCANCEL$UNIX2003 120 + recvfrom$NOCANCEL$UNIX2003 = __recvfrom_nocancel 121 + .globl recvfrom$UNIX2003 122 + recvfrom$UNIX2003 = __recvfrom 123 + .globl recvmsg$NOCANCEL$UNIX2003 124 + recvmsg$NOCANCEL$UNIX2003 = __recvmsg_nocancel 125 + .globl recvmsg$UNIX2003 126 + recvmsg$UNIX2003 = __recvmsg 127 + .globl select$DARWIN_EXTSN 128 + select$DARWIN_EXTSN = __select 129 + .globl select$DARWIN_EXTSN$NOCANCEL 130 + select$DARWIN_EXTSN$NOCANCEL = __select_nocancel 131 + .globl sem_open 132 + sem_open = __sem_open 133 + .globl sem_wait 134 + sem_wait = __sem_wait_nocancel 135 + .globl sem_wait$NOCANCEL$UNIX2003 136 + sem_wait$NOCANCEL$UNIX2003 = __sem_wait_nocancel 137 + .globl sem_wait$UNIX2003 138 + sem_wait$UNIX2003 = __sem_wait 139 + .globl semctl$UNIX2003 140 + semctl$UNIX2003 = __semctl 141 + .globl semsys 142 + semsys = __semsys 143 + .globl sendmsg$NOCANCEL$UNIX2003 144 + sendmsg$NOCANCEL$UNIX2003 = __sendmsg_nocancel 145 + .globl sendmsg$UNIX2003 146 + sendmsg$UNIX2003 = __sendmsg 147 + .globl sendto$NOCANCEL$UNIX2003 148 + sendto$NOCANCEL$UNIX2003 = __sendto_nocancel 149 + .globl sendto$UNIX2003 150 + sendto$UNIX2003 = __sendto 151 + .globl setattrlist$UNIX2003 152 + setattrlist$UNIX2003 = __setattrlist 153 + .globl setpgrp 154 + setpgrp = __setpgid 155 + .globl setregid$UNIX2003 156 + setregid$UNIX2003 = __setregid 157 + .globl setreuid$UNIX2003 158 + setreuid$UNIX2003 = __setreuid 159 + .globl shmctl$UNIX2003 160 + shmctl$UNIX2003 = __shmctl 161 + .globl shmsys 162 + shmsys = __shmsys 163 + .globl shm_open 164 + shm_open = __shm_open 165 + .globl socketpair$UNIX2003 166 + socketpair$UNIX2003 = __socketpair 167 + .globl stat$INODE64 168 + stat$INODE64 = __stat64 169 + .globl statfs$INODE64 170 + statfs$INODE64 = __statfs64 171 + .globl waitid 172 + waitid = __waitid_nocancel 173 + .globl waitid$NOCANCEL$UNIX2003 174 + waitid$NOCANCEL$UNIX2003 = __waitid_nocancel 175 + .globl waitid$UNIX2003 176 + waitid$UNIX2003 = __waitid 177 + .globl write 178 + write = __write_nocancel 179 + .globl write$NOCANCEL$UNIX2003 180 + write$NOCANCEL$UNIX2003 = __write_nocancel 181 + .globl write$UNIX2003 182 + write$UNIX2003 = __write 183 + .globl writev 184 + writev = __writev_nocancel 185 + .globl writev$NOCANCEL$UNIX2003 186 + writev$NOCANCEL$UNIX2003 = __writev_nocancel 187 + .globl writev$UNIX2003 188 + writev$UNIX2003 = __writev 189 + .globl ioctl 190 + ioctl = __ioctl 191 + .globl sigaltstack 192 + sigaltstack = __sigaltstack 193 + .globl fchmod 194 + fchmod = __fchmod 195 + .globl setrlimit 196 + setrlimit = __setrlimit 197 + .globl getrlimit 198 + getrlimit = __getrlimit
+120
kernel/libsyscall/Platforms/MacOSX/x86_64/syscall.s
··· 1 + .globl accept$NOCANCEL 2 + accept$NOCANCEL = __accept_nocancel 3 + .globl aio_suspend$NOCANCEL 4 + aio_suspend$NOCANCEL = __aio_suspend_nocancel 5 + .globl close$NOCANCEL 6 + close$NOCANCEL = __close_nocancel 7 + .globl connect$NOCANCEL 8 + connect$NOCANCEL = __connect_nocancel 9 + .globl fstat$INODE64 10 + fstat$INODE64 = __fstat64 11 + .globl fstatat$INODE64 12 + fstatat$INODE64 = __fstatat64 13 + .globl fstatfs$INODE64 14 + fstatfs$INODE64 = __fstatfs64 15 + .globl fsync$NOCANCEL 16 + fsync$NOCANCEL = __fsync_nocancel 17 + .globl getfsstat$INODE64 18 + getfsstat$INODE64 = __getfsstat64 19 + .globl lstat$INODE64 20 + lstat$INODE64 = __lstat64 21 + .globl msgrcv$NOCANCEL 22 + msgrcv$NOCANCEL = __msgrcv_nocancel 23 + .globl msgsnd$NOCANCEL 24 + msgsnd$NOCANCEL = __msgsnd_nocancel 25 + .globl msgsys 26 + msgsys = __msgsys 27 + .globl msync$NOCANCEL 28 + msync$NOCANCEL = __msync_nocancel 29 + .globl open$NOCANCEL 30 + open$NOCANCEL = __open_nocancel 31 + .globl openat$NOCANCEL 32 + openat$NOCANCEL = __openat_nocancel 33 + .globl poll$NOCANCEL 34 + poll$NOCANCEL = __poll_nocancel 35 + .globl pread$NOCANCEL 36 + pread$NOCANCEL = __pread_nocancel 37 + .globl pwrite$NOCANCEL 38 + pwrite$NOCANCEL = __pwrite_nocancel 39 + .globl read$NOCANCEL 40 + read$NOCANCEL = __read_nocancel 41 + .globl readv$NOCANCEL 42 + readv$NOCANCEL = __readv_nocancel 43 + .globl recvfrom$NOCANCEL 44 + recvfrom$NOCANCEL = __recvfrom_nocancel 45 + .globl recvmsg$NOCANCEL 46 + recvmsg$NOCANCEL = __recvmsg_nocancel 47 + .globl select$DARWIN_EXTSN 48 + select$DARWIN_EXTSN = __select 49 + .globl select$DARWIN_EXTSN$NOCANCEL 50 + select$DARWIN_EXTSN$NOCANCEL = __select_nocancel 51 + .globl sem_wait$NOCANCEL 52 + sem_wait$NOCANCEL = __sem_wait_nocancel 53 + .globl semsys 54 + semsys = __semsys 55 + .globl sendmsg$NOCANCEL 56 + sendmsg$NOCANCEL = __sendmsg_nocancel 57 + .globl sendto$NOCANCEL 58 + sendto$NOCANCEL = __sendto_nocancel 59 + .globl stat$INODE64 60 + stat$INODE64 = __stat64 61 + .globl statfs$INODE64 62 + statfs$INODE64 = __statfs64 63 + .globl waitid$NOCANCEL 64 + waitid$NOCANCEL = __waitid_nocancel 65 + .globl write$NOCANCEL 66 + write$NOCANCEL = __write_nocancel 67 + .globl writev$NOCANCEL 68 + writev$NOCANCEL = __writev_nocancel 69 + .globl accept 70 + accept = __accept 71 + .globl bind 72 + bind = __bind 73 + .globl connect 74 + connect = __connect 75 + .globl getattrlist 76 + getattrlist = __getattrlist 77 + .globl getpeername 78 + getpeername = __getpeername 79 + .globl getsockname 80 + getsockname = __getsockname 81 + .globl lchown 82 + lchown = __lchown 83 + .globl listen 84 + listen = __listen 85 + .globl mprotect 86 + mprotect = __mprotect 87 + .globl msgctl 88 + msgctl = __msgctl 89 + .globl msync 90 + msync = __msync 91 + .globl open 92 + open = __open 93 + .globl openat 94 + openat = __openat 95 + .globl recvfrom 96 + recvfrom = __recvfrom 97 + .globl recvmsg 98 + recvmsg = __recvmsg 99 + .globl semctl 100 + semctl = __semctl 101 + .globl sem_open 102 + sem_open = __sem_open 103 + .globl sendmsg 104 + sendmsg = __sendmsg 105 + .globl sendto 106 + sendto = __sendto 107 + .globl setattrlist 108 + setattrlist = __setattrlist 109 + .globl setregid 110 + setregid = __setregid 111 + .globl setreuid 112 + setreuid = __setreuid 113 + .globl shmctl 114 + shmctl = __shmctl 115 + .globl shmsys 116 + shmsys = __shmsys 117 + .globl shm_open 118 + shm_open = __shm_open 119 + .globl socketpair 120 + socketpair = __socketpair
+5
kernel/libsyscall/Platforms/maptoasm.awk
··· 1 + /^(\S+)\s+(\S+)$/ { 2 + print ".globl",$1 3 + print $1,"=",$2 4 + } 5 +
+28
kernel/libsyscall/Platforms/syscall.s
··· 1 + .globl __sandbox_me 2 + __sandbox_me = __mac_execve 3 + .globl __sandbox_mm 4 + __sandbox_mm = __mac_mount 5 + .globl __sandbox_ms 6 + __sandbox_ms = __mac_syscall 7 + .globl __sandbox_msp 8 + __sandbox_msp = __mac_set_proc 9 + .globl _exit 10 + _exit = __exit 11 + .globl accessx_np 12 + accessx_np = __access_extended 13 + .globl getsgroups_np 14 + getsgroups_np = __getsgroups 15 + .globl getwgroups_np 16 + getwgroups_np = __getwgroups 17 + .globl posix_madvise 18 + posix_madvise = __madvise 19 + .globl pthread_getugid_np 20 + pthread_getugid_np = __gettid 21 + .globl pthread_setugid_np 22 + pthread_setugid_np = __settid 23 + .globl setsgroups_np 24 + setsgroups_np = __setsgroups 25 + .globl setwgroups_np 26 + setwgroups_np = __setwgroups 27 + .globl wait4 28 + wait4 = __wait4_nocancel
+27
kernel/libsyscall/custom/SYS.h
··· 1 + // Modified by Lubos Dolezel for Darling 1 2 /* 2 3 * Copyright (c) 1999-2011 Apple Inc. All rights reserved. 3 4 * ··· 136 137 #include <architecture/i386/asm_help.h> 137 138 #include <mach/i386/syscall_sw.h> 138 139 140 + #ifndef DARLING 141 + 142 + #define UNIX_SYSCALL(name, nargs) \ 143 + .globl cerror ;\ 144 + LEAF(name, 0) ;\ 145 + movl $ SYS_##name, %eax ;\ 146 + call __darling_bsd_syscall@PLT ;\ 147 + jnb 2f ;\ 148 + movq %rax, %rdi ;\ 149 + BRANCH_EXTERN(cerror) ;\ 150 + 2: 151 + 152 + #define UNIX_SYSCALL_NONAME(name, nargs, cerror) \ 153 + .globl cerror ;\ 154 + movl $ SYS_##name, %eax ;\ 155 + call __darling_bsd_syscall@PLT ;\ 156 + jnb 2f ;\ 157 + movq %rax, %rdi ;\ 158 + BRANCH_EXTERN(cerror) ;\ 159 + 2: 160 + 161 + 162 + #else 163 + 139 164 #define UNIX_SYSCALL_SYSCALL \ 140 165 movq %rcx, %r10 ;\ 141 166 syscall ··· 158 183 movq %rax, %rdi ;\ 159 184 BRANCH_EXTERN(_##cerror) ;\ 160 185 2: 186 + 187 + #endif // DARLING 161 188 162 189 #define PSEUDO(pseudo, name, nargs, cerror) \ 163 190 LEAF(pseudo, 0) ;\
+5
kernel/libsyscall/darwin.map
··· 1 + DARWIN { 2 + global: 3 + *; 4 + }; 5 +
+204
kernel/libsyscall/sys/SYS.h
··· 1 + // Modified by Lubos Dolezel for Darling 2 + /* 3 + * Copyright (c) 1999-2011 Apple Inc. All rights reserved. 4 + * 5 + * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 6 + * 7 + * This file contains Original Code and/or Modifications of Original Code 8 + * as defined in and that are subject to the Apple Public Source License 9 + * Version 2.0 (the 'License'). You may not use this file except in 10 + * compliance with the License. The rights granted to you under the License 11 + * may not be used to create, or enable the creation or redistribution of, 12 + * unlawful or unlicensed copies of an Apple operating system, or to 13 + * circumvent, violate, or enable the circumvention or violation of, any 14 + * terms of an Apple operating system software license agreement. 15 + * 16 + * Please obtain a copy of the License at 17 + * http://www.opensource.apple.com/apsl/ and read it before using this file. 18 + * 19 + * The Original Code and all software distributed under the License are 20 + * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 21 + * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 22 + * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 23 + * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 24 + * Please see the License for the specific language governing rights and 25 + * limitations under the License. 26 + * 27 + * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 28 + */ 29 + /* Copyright (c) 1992 NeXT Computer, Inc. All rights reserved. 30 + * 31 + * File: SYS.h 32 + * 33 + * Definition of the user side of the UNIX system call interface 34 + * for M98K. 35 + * 36 + * Errors are flagged by the location of the trap return (ie., which 37 + * instruction is executed upon rfi): 38 + * 39 + * SC PC + 4: Error (typically branch to cerror()) 40 + * SC PC + 8: Success 41 + * 42 + * HISTORY 43 + * 18-Nov-92 Ben Fathi (benf@next.com) 44 + * Ported to m98k. 45 + * 46 + * 9-Jan-92 Peter King (king@next.com) 47 + * Created. 48 + */ 49 + 50 + #include <sys/syscall.h> 51 + 52 + /* Binary compatibility stubs for syscalls that no longer exist */ 53 + 54 + #ifndef SYS_setquota 55 + #define SYS_setquota 148 56 + #endif 57 + #ifndef SYS_quota 58 + #define SYS_quota 149 59 + #endif 60 + 61 + #if defined(__i386__) 62 + 63 + #include <architecture/i386/asm_help.h> 64 + #include <mach/i386/syscall_sw.h> 65 + 66 + /* 67 + * We have two entry points. int's is used for syscalls which need to preserve 68 + * %ecx across the call, or return a 64-bit value in %eax:%edx. sysenter is used 69 + * for the majority of syscalls which just return a value in %eax. 70 + */ 71 + 72 + #define UNIX_SYSCALL_SYSENTER call __sysenter_trap 73 + #define UNIX_SYSCALL(name, nargs) \ 74 + .globl tramp_cerror ;\ 75 + LEAF(_##name, 0) ;\ 76 + movl $ SYS_##name, %eax ;\ 77 + UNIX_SYSCALL_SYSENTER ;\ 78 + jnb 2f ;\ 79 + BRANCH_EXTERN(tramp_cerror) ;\ 80 + 2: 81 + 82 + #define UNIX_SYSCALL_INT(name, nargs) \ 83 + .globl tramp_cerror ;\ 84 + LEAF(_##name, 0) ;\ 85 + movl $ SYS_##name, %eax ;\ 86 + UNIX_SYSCALL_TRAP ;\ 87 + jnb 2f ;\ 88 + BRANCH_EXTERN(tramp_cerror) ;\ 89 + 2: 90 + 91 + #if defined(__SYSCALL_32BIT_ARG_BYTES) && ((__SYSCALL_32BIT_ARG_BYTES >= 4) && (__SYSCALL_32BIT_ARG_BYTES <= 20)) 92 + #define UNIX_SYSCALL_NONAME(name, nargs, cerror) \ 93 + movl $(SYS_##name | (__SYSCALL_32BIT_ARG_BYTES << I386_SYSCALL_ARG_BYTES_SHIFT)), %eax ;\ 94 + UNIX_SYSCALL_SYSENTER ;\ 95 + jnb 2f ;\ 96 + BRANCH_EXTERN(tramp_##cerror) ;\ 97 + 2: 98 + #else /* __SYSCALL_32BIT_ARG_BYTES < 4 || > 20 */ 99 + #define UNIX_SYSCALL_NONAME(name, nargs, cerror) \ 100 + movl $ SYS_##name, %eax ;\ 101 + UNIX_SYSCALL_SYSENTER ;\ 102 + jnb 2f ;\ 103 + BRANCH_EXTERN(tramp_##cerror) ;\ 104 + 2: 105 + #endif 106 + 107 + #define UNIX_SYSCALL_INT_NONAME(name, nargs) \ 108 + .globl tramp_cerror_nocancel ;\ 109 + movl $ SYS_##name, %eax ;\ 110 + UNIX_SYSCALL_TRAP ;\ 111 + jnb 2f ;\ 112 + BRANCH_EXTERN(tramp_cerror_nocancel) ;\ 113 + 2: 114 + 115 + #define PSEUDO(pseudo, name, nargs, cerror) \ 116 + LEAF(pseudo, 0) ;\ 117 + UNIX_SYSCALL_NONAME(name, nargs, cerror) 118 + 119 + #define PSEUDO_INT(pseudo, name, nargs) \ 120 + LEAF(pseudo, 0) ;\ 121 + UNIX_SYSCALL_INT_NONAME(name, nargs) 122 + 123 + #define __SYSCALL2(pseudo, name, nargs, cerror) \ 124 + PSEUDO(pseudo, name, nargs, cerror) ;\ 125 + ret 126 + 127 + #define __SYSCALL(pseudo, name, nargs) \ 128 + PSEUDO(pseudo, name, nargs, cerror) ;\ 129 + ret 130 + 131 + #define __SYSCALL_INT(pseudo, name, nargs) \ 132 + PSEUDO_INT(pseudo, name, nargs) ;\ 133 + ret 134 + 135 + #elif defined(__x86_64__) 136 + 137 + #include <architecture/i386/asm_help.h> 138 + #include <mach/i386/syscall_sw.h> 139 + 140 + #ifndef DARLING 141 + 142 + #define UNIX_SYSCALL(name, nargs) \ 143 + .globl cerror ;\ 144 + LEAF(name, 0) ;\ 145 + movl $ SYS_##name, %eax ;\ 146 + call __darling_bsd_syscall@PLT ;\ 147 + jnb 2f ;\ 148 + movq %rax, %rdi ;\ 149 + BRANCH_EXTERN(cerror) ;\ 150 + 2: 151 + 152 + #define UNIX_SYSCALL_NONAME(name, nargs, cerror) \ 153 + .globl cerror ;\ 154 + movl $ SYS_##name, %eax ;\ 155 + call __darling_bsd_syscall@PLT ;\ 156 + jnb 2f ;\ 157 + movq %rax, %rdi ;\ 158 + BRANCH_EXTERN(cerror) ;\ 159 + 2: 160 + 161 + 162 + #else 163 + 164 + #define UNIX_SYSCALL_SYSCALL \ 165 + movq %rcx, %r10 ;\ 166 + syscall 167 + 168 + #define UNIX_SYSCALL(name, nargs) \ 169 + .globl cerror ;\ 170 + LEAF(_##name, 0) ;\ 171 + movl $ SYSCALL_CONSTRUCT_UNIX(SYS_##name), %eax ;\ 172 + UNIX_SYSCALL_SYSCALL ;\ 173 + jnb 2f ;\ 174 + movq %rax, %rdi ;\ 175 + BRANCH_EXTERN(_cerror) ;\ 176 + 2: 177 + 178 + #define UNIX_SYSCALL_NONAME(name, nargs, cerror) \ 179 + .globl cerror ;\ 180 + movl $ SYSCALL_CONSTRUCT_UNIX(SYS_##name), %eax ;\ 181 + UNIX_SYSCALL_SYSCALL ;\ 182 + jnb 2f ;\ 183 + movq %rax, %rdi ;\ 184 + BRANCH_EXTERN(_##cerror) ;\ 185 + 2: 186 + 187 + #endif // DARLING 188 + 189 + #define PSEUDO(pseudo, name, nargs, cerror) \ 190 + LEAF(pseudo, 0) ;\ 191 + UNIX_SYSCALL_NONAME(name, nargs, cerror) 192 + 193 + #define __SYSCALL2(pseudo, name, nargs, cerror) \ 194 + PSEUDO(pseudo, name, nargs, cerror) ;\ 195 + ret 196 + 197 + #define __SYSCALL(pseudo, name, nargs) \ 198 + PSEUDO(pseudo, name, nargs, cerror) ;\ 199 + ret 200 + 201 + #else 202 + #error Unsupported architecture 203 + #endif 204 +
+11
kernel/libsyscall/sys/____old_semwait_signal_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___old_semwait_signal_nocancel 5 + #error "SYS___old_semwait_signal_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(____old_semwait_signal_nocancel, __old_semwait_signal_nocancel, 5, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/____sigwait_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___sigwait_nocancel 5 + #error "SYS___sigwait_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(____sigwait_nocancel, __sigwait_nocancel, 2, cerror_nocancel) 10 + #endif 11 +
+16
kernel/libsyscall/sys/__accept.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_accept 5 + #error "SYS_accept not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__accept, accept, 3, cerror) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl accept 14 + .set accept, __accept 15 + #endif 16 +
+16
kernel/libsyscall/sys/__accept_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_accept_nocancel 5 + #error "SYS_accept_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__accept_nocancel, accept_nocancel, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl accept$NOCANCEL 14 + .set accept$NOCANCEL, __accept_nocancel 15 + #endif 16 +
+16
kernel/libsyscall/sys/__access_extended.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_access_extended 5 + #error "SYS_access_extended not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__access_extended, access_extended, 4, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl accessx_np 14 + .set accessx_np, __access_extended 15 + #endif 16 +
+16
kernel/libsyscall/sys/__aio_suspend_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_aio_suspend_nocancel 5 + #error "SYS_aio_suspend_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__aio_suspend_nocancel, aio_suspend_nocancel, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl aio_suspend$NOCANCEL 14 + .set aio_suspend$NOCANCEL, __aio_suspend_nocancel 15 + #endif 16 +
+16
kernel/libsyscall/sys/__bind.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_bind 5 + #error "SYS_bind not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__bind, bind, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl bind 14 + .set bind, __bind 15 + #endif 16 +
+11
kernel/libsyscall/sys/__bsdthread_create.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_bsdthread_create 5 + #error "SYS_bsdthread_create not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__bsdthread_create, bsdthread_create, 5, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__bsdthread_ctl.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_bsdthread_ctl 5 + #error "SYS_bsdthread_ctl not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__bsdthread_ctl, bsdthread_ctl, 4, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__bsdthread_register.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 28 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_bsdthread_register 5 + #error "SYS_bsdthread_register not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__bsdthread_register, bsdthread_register, 7, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__bsdthread_terminate.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_bsdthread_terminate 5 + #error "SYS_bsdthread_terminate not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__bsdthread_terminate, bsdthread_terminate, 4, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__chmod.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_chmod 5 + #error "SYS_chmod not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__chmod, chmod, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__chmod_extended.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_chmod_extended 5 + #error "SYS_chmod_extended not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__chmod_extended, chmod_extended, 5, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__chud.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 48 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_chud 5 + #error "SYS_chud not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__chud, chud, 6, cerror_nocancel) 10 + #endif 11 +
+16
kernel/libsyscall/sys/__close_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_close_nocancel 5 + #error "SYS_close_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__close_nocancel, close_nocancel, 1, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl close$NOCANCEL 14 + .set close$NOCANCEL, __close_nocancel 15 + #endif 16 +
+11
kernel/libsyscall/sys/__coalition.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_coalition 5 + #error "SYS_coalition not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__coalition, coalition, 3, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__coalition_info.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_coalition_info 5 + #error "SYS_coalition_info not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__coalition_info, coalition_info, 4, cerror_nocancel) 10 + #endif 11 +
+16
kernel/libsyscall/sys/__connect.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_connect 5 + #error "SYS_connect not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__connect, connect, 3, cerror) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl connect 14 + .set connect, __connect 15 + #endif 16 +
+16
kernel/libsyscall/sys/__connect_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_connect_nocancel 5 + #error "SYS_connect_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__connect_nocancel, connect_nocancel, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl connect$NOCANCEL 14 + .set connect$NOCANCEL, __connect_nocancel 15 + #endif 16 +
+11
kernel/libsyscall/sys/__copyfile.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_copyfile 5 + #error "SYS_copyfile not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__copyfile, copyfile, 4, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__csrctl.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_csrctl 5 + #error "SYS_csrctl not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__csrctl, csrctl, 3, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__delete.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_delete 5 + #error "SYS_delete not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__delete, delete, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__disable_threadsignal.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___disable_threadsignal 5 + #error "SYS___disable_threadsignal not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__disable_threadsignal, __disable_threadsignal, 1, cerror_nocancel) 10 + #endif 11 +
+16
kernel/libsyscall/sys/__exit.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_exit 5 + #error "SYS_exit not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__exit, exit, 1, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl _exit 14 + .set _exit, __exit 15 + #endif 16 +
+11
kernel/libsyscall/sys/__fchmod.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fchmod 5 + #error "SYS_fchmod not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__fchmod, fchmod, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__fchmod_extended.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fchmod_extended 5 + #error "SYS_fchmod_extended not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__fchmod_extended, fchmod_extended, 5, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__fcntl.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fcntl 5 + #error "SYS_fcntl not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__fcntl, fcntl, 3, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__fcntl_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fcntl_nocancel 5 + #error "SYS_fcntl_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__fcntl_nocancel, fcntl_nocancel, 3, cerror_nocancel) 10 + #endif 11 +
+105
kernel/libsyscall/sys/__fork.S
··· 1 + /* 2 + * Copyright (c) 1999-2010 Apple Inc. All rights reserved. 3 + * 4 + * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5 + * 6 + * This file contains Original Code and/or Modifications of Original Code 7 + * as defined in and that are subject to the Apple Public Source License 8 + * Version 2.0 (the 'License'). You may not use this file except in 9 + * compliance with the License. The rights granted to you under the License 10 + * may not be used to create, or enable the creation or redistribution of, 11 + * unlawful or unlicensed copies of an Apple operating system, or to 12 + * circumvent, violate, or enable the circumvention or violation of, any 13 + * terms of an Apple operating system software license agreement. 14 + * 15 + * Please obtain a copy of the License at 16 + * http://www.opensource.apple.com/apsl/ and read it before using this file. 17 + * 18 + * The Original Code and all software distributed under the License are 19 + * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 20 + * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 21 + * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 22 + * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 23 + * Please see the License for the specific language governing rights and 24 + * limitations under the License. 25 + * 26 + * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 27 + */ 28 + /* Copyright (c) 1992 NeXT Computer, Inc. All rights reserved. 29 + * 30 + * File: libc/ppc/sys/fork.s 31 + * 32 + * HISTORY 33 + * 18-Nov-92 Ben Fathi (benf@next.com) 34 + * Created from M88K sources 35 + * 36 + * 11-Jan-92 Peter King (king@next.com) 37 + * Created from M68K sources 38 + */ 39 + 40 + /* 41 + * All of the asm stubs in this file have been adjusted so the pre/post 42 + * fork handlers and dyld fixup are done in C inside Libc. As such, Libc 43 + * expects the __fork asm to fix up the return code to be -1, 0 or pid 44 + * and errno if needed. 45 + */ 46 + 47 + #include "SYS.h" 48 + 49 + #if defined(__i386__) 50 + 51 + LEAF(___fork, 0) 52 + subl $28, %esp // Align the stack, with 16 bytes of extra padding that we'll need 53 + 54 + movl $ SYS_fork,%eax; // code for fork -> eax 55 + UNIX_SYSCALL_TRAP // do the system call 56 + jnc L1 // jump if CF==0 57 + 58 + CALL_EXTERN(tramp_cerror) 59 + movl $-1,%eax 60 + addl $28, %esp // restore the stack 61 + ret 62 + 63 + L1: 64 + orl %edx,%edx // CF=OF=0, ZF set if zero result 65 + jz L2 // parent, since r1 == 0 in parent, 1 in child 66 + 67 + //child here... 68 + xorl %eax,%eax // zero eax 69 + REG_TO_EXTERN(%eax, __current_pid); 70 + L2: 71 + addl $28, %esp // restore the stack 72 + // parent ends up here skipping child portion 73 + ret 74 + 75 + #elif defined(__x86_64__) 76 + 77 + LEAF(___fork, 0) 78 + subq $24, %rsp // Align the stack, plus room for local storage 79 + 80 + movl $ SYSCALL_CONSTRUCT_UNIX(SYS_fork),%eax; // code for fork -> rax 81 + UNIX_SYSCALL_TRAP // do the system call 82 + jnc L1 // jump if CF==0 83 + 84 + movq %rax, %rdi 85 + CALL_EXTERN(_cerror) 86 + movq $-1, %rax 87 + addq $24, %rsp // restore the stack 88 + ret 89 + 90 + L1: 91 + orl %edx,%edx // CF=OF=0, ZF set if zero result 92 + jz L2 // parent, since r1 == 0 in parent, 1 in child 93 + 94 + //child here... 95 + xorq %rax, %rax 96 + PICIFY(__current_pid) 97 + movl %eax,(%r11) 98 + L2: 99 + // parent ends up here skipping child portion 100 + addq $24, %rsp // restore the stack 101 + ret 102 + 103 + #else 104 + #error Unsupported architecture 105 + #endif
+11
kernel/libsyscall/sys/__fsgetpath.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fsgetpath 5 + #error "SYS_fsgetpath not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__fsgetpath, fsgetpath, 4, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__fstat64_extended.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fstat64_extended 5 + #error "SYS_fstat64_extended not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__fstat64_extended, fstat64_extended, 4, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__fstat_extended.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fstat_extended 5 + #error "SYS_fstat_extended not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__fstat_extended, fstat_extended, 4, cerror_nocancel) 10 + #endif 11 +
+16
kernel/libsyscall/sys/__fsync_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fsync_nocancel 5 + #error "SYS_fsync_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__fsync_nocancel, fsync_nocancel, 1, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl fsync$NOCANCEL 14 + .set fsync$NOCANCEL, __fsync_nocancel 15 + #endif 16 +
+16
kernel/libsyscall/sys/__getattrlist.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getattrlist 5 + #error "SYS_getattrlist not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__getattrlist, getattrlist, 5, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl getattrlist 14 + .set getattrlist, __getattrlist 15 + #endif 16 +
+11
kernel/libsyscall/sys/__getdirentries64.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getdirentries64 5 + #error "SYS_getdirentries64 not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__getdirentries64, getdirentries64, 4, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__gethostuuid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_gethostuuid 5 + #error "SYS_gethostuuid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__gethostuuid, gethostuuid, 3, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__getlcid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getlcid 5 + #error "SYS_getlcid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__getlcid, getlcid, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__getlogin.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getlogin 5 + #error "SYS_getlogin not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__getlogin, getlogin, 2, cerror) 10 + #endif 11 +
+16
kernel/libsyscall/sys/__getpeername.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getpeername 5 + #error "SYS_getpeername not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__getpeername, getpeername, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl getpeername 14 + .set getpeername, __getpeername 15 + #endif 16 +
+107
kernel/libsyscall/sys/__getpid.S
··· 1 + /* 2 + * Copyright (c) 1999-2007 Apple Inc. All rights reserved. 3 + * 4 + * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5 + * 6 + * This file contains Original Code and/or Modifications of Original Code 7 + * as defined in and that are subject to the Apple Public Source License 8 + * Version 2.0 (the 'License'). You may not use this file except in 9 + * compliance with the License. The rights granted to you under the License 10 + * may not be used to create, or enable the creation or redistribution of, 11 + * unlawful or unlicensed copies of an Apple operating system, or to 12 + * circumvent, violate, or enable the circumvention or violation of, any 13 + * terms of an Apple operating system software license agreement. 14 + * 15 + * Please obtain a copy of the License at 16 + * http://www.opensource.apple.com/apsl/ and read it before using this file. 17 + * 18 + * The Original Code and all software distributed under the License are 19 + * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 20 + * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 21 + * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 22 + * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 23 + * Please see the License for the specific language governing rights and 24 + * limitations under the License. 25 + * 26 + * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 27 + */ 28 + 29 + #include "SYS.h" 30 + 31 + #if defined(__i386__) 32 + 33 + .data 34 + .private_extern __current_pid 35 + L__current_pid_addr: 36 + __current_pid: 37 + .long 0 38 + 39 + #if defined(__DYNAMIC__) 40 + #define GET_CURRENT_PID \ 41 + call 0f ; \ 42 + 0: ; \ 43 + popl %ecx ; \ 44 + leal L__current_pid_addr-0b(%ecx), %ecx 45 + 46 + #define __current_pid (%ecx) 47 + 48 + #else 49 + #define GET_CURRENT_PID 50 + #endif 51 + 52 + /* 53 + * If __current_pid is > 0, return it, else make syscall. 54 + * If __current_pid is 0, cache result of syscall. 55 + */ 56 + TEXT 57 + LEAF(___getpid, 0) 58 + GET_CURRENT_PID 59 + movl __current_pid, %eax 60 + testl %eax, %eax 61 + jle 1f 62 + ret 63 + 1: 64 + UNIX_SYSCALL_NONAME(getpid, 0, cerror_nocancel) 65 + movl %eax, %edx 66 + xorl %eax, %eax 67 + GET_CURRENT_PID 68 + lock 69 + cmpxchgl %edx, __current_pid 70 + movl %edx, %eax 71 + ret 72 + 73 + #elif defined(__x86_64__) 74 + 75 + .data 76 + .private_extern __current_pid 77 + __current_pid: 78 + .long 0 79 + 80 + /* 81 + * If __current_pid is > 0, return it, else make syscall. 82 + * If __current_pid is 0, cache result of syscall. 83 + */ 84 + TEXT 85 + LEAF(___getpid, 0) 86 + movl __current_pid(%rip), %eax 87 + testl %eax, %eax 88 + jle 1f 89 + ret 90 + 1: 91 + UNIX_SYSCALL_NONAME(getpid, 0, cerror_nocancel) 92 + movl %eax, %edx 93 + xorl %eax, %eax 94 + leaq __current_pid(%rip), %rcx 95 + lock 96 + cmpxchgl %edx, (%rcx) 97 + movl %edx, %eax 98 + ret 99 + 100 + #else 101 + #error Unsupported architecture 102 + #endif 103 + #if defined(__x86_64__) 104 + .globl getpid 105 + .set getpid, __getpid 106 + #endif 107 +
+11
kernel/libsyscall/sys/__getrlimit.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getrlimit 5 + #error "SYS_getrlimit not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__getrlimit, getrlimit, 2, cerror_nocancel) 10 + #endif 11 +
+16
kernel/libsyscall/sys/__getsgroups.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getsgroups 5 + #error "SYS_getsgroups not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__getsgroups, getsgroups, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl getsgroups_np 14 + .set getsgroups_np, __getsgroups 15 + #endif 16 +
+16
kernel/libsyscall/sys/__getsockname.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getsockname 5 + #error "SYS_getsockname not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__getsockname, getsockname, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl getsockname 14 + .set getsockname, __getsockname 15 + #endif 16 +
+16
kernel/libsyscall/sys/__gettid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_gettid 5 + #error "SYS_gettid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__gettid, gettid, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl pthread_getugid_np 14 + .set pthread_getugid_np, __gettid 15 + #endif 16 +
+59
kernel/libsyscall/sys/__gettimeofday.S
··· 1 + /* 2 + * Copyright (c) 1999-2007 Apple Inc. All rights reserved. 3 + * 4 + * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5 + * 6 + * This file contains Original Code and/or Modifications of Original Code 7 + * as defined in and that are subject to the Apple Public Source License 8 + * Version 2.0 (the 'License'). You may not use this file except in 9 + * compliance with the License. The rights granted to you under the License 10 + * may not be used to create, or enable the creation or redistribution of, 11 + * unlawful or unlicensed copies of an Apple operating system, or to 12 + * circumvent, violate, or enable the circumvention or violation of, any 13 + * terms of an Apple operating system software license agreement. 14 + * 15 + * Please obtain a copy of the License at 16 + * http://www.opensource.apple.com/apsl/ and read it before using this file. 17 + * 18 + * The Original Code and all software distributed under the License are 19 + * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 20 + * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 21 + * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 22 + * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 23 + * Please see the License for the specific language governing rights and 24 + * limitations under the License. 25 + * 26 + * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 27 + */ 28 + /* Copyright 1998 Apple Computer, Inc. */ 29 + 30 + #include "SYS.h" 31 + 32 + #if defined(__i386__) 33 + 34 + /* 35 + * This syscall is special cased: the timeval is returned in eax/edx. 36 + */ 37 + LABEL(___gettimeofday) 38 + UNIX_SYSCALL_INT_NONAME(gettimeofday,0) 39 + mov 4(%esp),%ecx 40 + mov %eax,(%ecx) 41 + mov %edx,4(%ecx) 42 + xor %eax,%eax 43 + ret 44 + 45 + #elif defined(__x86_64__) 46 + 47 + /* 48 + * This syscall is special cased: the timeval is returned in rax:rdx. 49 + */ 50 + LABEL(___gettimeofday) 51 + UNIX_SYSCALL_NONAME(gettimeofday,0,cerror_nocancel) 52 + movq %rax, (%rdi) 53 + movl %edx, 8(%rdi) 54 + xorl %eax, %eax 55 + ret 56 + 57 + #else 58 + #error Unsupported architecture 59 + #endif
+16
kernel/libsyscall/sys/__getwgroups.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getwgroups 5 + #error "SYS_getwgroups not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__getwgroups, getwgroups, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl getwgroups_np 14 + .set getwgroups_np, __getwgroups 15 + #endif 16 +
+11
kernel/libsyscall/sys/__guarded_open_dprotected_np.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 28 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_guarded_open_dprotected_np 5 + #error "SYS_guarded_open_dprotected_np not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__guarded_open_dprotected_np, guarded_open_dprotected_np, 7, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__guarded_open_np.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_guarded_open_np 5 + #error "SYS_guarded_open_np not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__guarded_open_np, guarded_open_np, 5, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__identitysvc.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_identitysvc 5 + #error "SYS_identitysvc not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__identitysvc, identitysvc, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__initgroups.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_initgroups 5 + #error "SYS_initgroups not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__initgroups, initgroups, 3, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__ioctl.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_ioctl 5 + #error "SYS_ioctl not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__ioctl, ioctl, 3, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__iopolicysys.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_iopolicysys 5 + #error "SYS_iopolicysys not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__iopolicysys, iopolicysys, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__kdebug_trace.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_kdebug_trace 5 + #error "SYS_kdebug_trace not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__kdebug_trace, kdebug_trace, 6, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__kill.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_kill 5 + #error "SYS_kill not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__kill, kill, 3, cerror_nocancel) 10 + #endif 11 +
+16
kernel/libsyscall/sys/__lchown.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_lchown 5 + #error "SYS_lchown not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__lchown, lchown, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl lchown 14 + .set lchown, __lchown 15 + #endif 16 +
+16
kernel/libsyscall/sys/__listen.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_listen 5 + #error "SYS_listen not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__listen, listen, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl listen 14 + .set listen, __listen 15 + #endif 16 +
+46
kernel/libsyscall/sys/__lseek.S
··· 1 + /* 2 + * Copyright (c) 1999-2007 Apple Inc. All rights reserved. 3 + * 4 + * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5 + * 6 + * This file contains Original Code and/or Modifications of Original Code 7 + * as defined in and that are subject to the Apple Public Source License 8 + * Version 2.0 (the 'License'). You may not use this file except in 9 + * compliance with the License. The rights granted to you under the License 10 + * may not be used to create, or enable the creation or redistribution of, 11 + * unlawful or unlicensed copies of an Apple operating system, or to 12 + * circumvent, violate, or enable the circumvention or violation of, any 13 + * terms of an Apple operating system software license agreement. 14 + * 15 + * Please obtain a copy of the License at 16 + * http://www.opensource.apple.com/apsl/ and read it before using this file. 17 + * 18 + * The Original Code and all software distributed under the License are 19 + * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 20 + * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 21 + * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 22 + * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 23 + * Please see the License for the specific language governing rights and 24 + * limitations under the License. 25 + * 26 + * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 27 + */ 28 + 29 + #include "SYS.h" 30 + 31 + #if defined(__x86_64__) 32 + 33 + __SYSCALL(___lseek, lseek, 3) 34 + 35 + #elif defined(__i386__) 36 + 37 + __SYSCALL_INT(___lseek, lseek, 3) 38 + 39 + #else 40 + #error Unsupported architecture 41 + #endif 42 + #if defined(__x86_64__) 43 + .globl lseek 44 + .set lseek, __lseek 45 + #endif 46 +
+11
kernel/libsyscall/sys/__lstat64_extended.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_lstat64_extended 5 + #error "SYS_lstat64_extended not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__lstat64_extended, lstat64_extended, 4, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__lstat_extended.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_lstat_extended 5 + #error "SYS_lstat_extended not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__lstat_extended, lstat_extended, 4, cerror_nocancel) 10 + #endif 11 +
+16
kernel/libsyscall/sys/__mac_execve.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_execve 5 + #error "SYS___mac_execve not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__mac_execve, __mac_execve, 4, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl __sandbox_me 14 + .set __sandbox_me, __mac_execve 15 + #endif 16 +
+11
kernel/libsyscall/sys/__mac_get_fd.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_get_fd 5 + #error "SYS___mac_get_fd not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__mac_get_fd, __mac_get_fd, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__mac_get_file.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_get_file 5 + #error "SYS___mac_get_file not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__mac_get_file, __mac_get_file, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__mac_get_lcid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_get_lcid 5 + #error "SYS___mac_get_lcid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__mac_get_lcid, __mac_get_lcid, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__mac_get_lctx.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_get_lctx 5 + #error "SYS___mac_get_lctx not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__mac_get_lctx, __mac_get_lctx, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__mac_get_link.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_get_link 5 + #error "SYS___mac_get_link not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__mac_get_link, __mac_get_link, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__mac_get_mount.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_get_mount 5 + #error "SYS___mac_get_mount not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__mac_get_mount, __mac_get_mount, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__mac_get_pid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_get_pid 5 + #error "SYS___mac_get_pid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__mac_get_pid, __mac_get_pid, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__mac_get_proc.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_get_proc 5 + #error "SYS___mac_get_proc not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__mac_get_proc, __mac_get_proc, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__mac_getfsstat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_getfsstat 5 + #error "SYS___mac_getfsstat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__mac_getfsstat, __mac_getfsstat, 5, cerror_nocancel) 10 + #endif 11 +
+16
kernel/libsyscall/sys/__mac_mount.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_mount 5 + #error "SYS___mac_mount not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__mac_mount, __mac_mount, 5, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl __sandbox_mm 14 + .set __sandbox_mm, __mac_mount 15 + #endif 16 +
+11
kernel/libsyscall/sys/__mac_set_fd.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_set_fd 5 + #error "SYS___mac_set_fd not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__mac_set_fd, __mac_set_fd, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__mac_set_file.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_set_file 5 + #error "SYS___mac_set_file not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__mac_set_file, __mac_set_file, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__mac_set_lctx.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_set_lctx 5 + #error "SYS___mac_set_lctx not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__mac_set_lctx, __mac_set_lctx, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__mac_set_link.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_set_link 5 + #error "SYS___mac_set_link not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__mac_set_link, __mac_set_link, 2, cerror_nocancel) 10 + #endif 11 +
+16
kernel/libsyscall/sys/__mac_set_proc.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_set_proc 5 + #error "SYS___mac_set_proc not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__mac_set_proc, __mac_set_proc, 1, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl __sandbox_msp 14 + .set __sandbox_msp, __mac_set_proc 15 + #endif 16 +
+16
kernel/libsyscall/sys/__mac_syscall.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___mac_syscall 5 + #error "SYS___mac_syscall not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__mac_syscall, __mac_syscall, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl __sandbox_ms 14 + .set __sandbox_ms, __mac_syscall 15 + #endif 16 +
+11
kernel/libsyscall/sys/__mkdir_extended.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_mkdir_extended 5 + #error "SYS_mkdir_extended not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__mkdir_extended, mkdir_extended, 5, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__mkfifo_extended.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_mkfifo_extended 5 + #error "SYS_mkfifo_extended not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__mkfifo_extended, mkfifo_extended, 5, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__mmap.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 28 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_mmap 5 + #error "SYS_mmap not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__mmap, mmap, 6, cerror_nocancel) 10 + #endif 11 +
+16
kernel/libsyscall/sys/__mprotect.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_mprotect 5 + #error "SYS_mprotect not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__mprotect, mprotect, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl mprotect 14 + .set mprotect, __mprotect 15 + #endif 16 +
+16
kernel/libsyscall/sys/__msgctl.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_msgctl 5 + #error "SYS_msgctl not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__msgctl, msgctl, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl msgctl 14 + .set msgctl, __msgctl 15 + #endif 16 +
+16
kernel/libsyscall/sys/__msgrcv_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_msgrcv_nocancel 5 + #error "SYS_msgrcv_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__msgrcv_nocancel, msgrcv_nocancel, 5, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl msgrcv$NOCANCEL 14 + .set msgrcv$NOCANCEL, __msgrcv_nocancel 15 + #endif 16 +
+16
kernel/libsyscall/sys/__msgsnd_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_msgsnd_nocancel 5 + #error "SYS_msgsnd_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__msgsnd_nocancel, msgsnd_nocancel, 4, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl msgsnd$NOCANCEL 14 + .set msgsnd$NOCANCEL, __msgsnd_nocancel 15 + #endif 16 +
+16
kernel/libsyscall/sys/__msgsys.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_msgsys 5 + #error "SYS_msgsys not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__msgsys, msgsys, 5, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl msgsys 14 + .set msgsys, __msgsys 15 + #endif 16 +
+16
kernel/libsyscall/sys/__msync.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_msync 5 + #error "SYS_msync not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__msync, msync, 3, cerror) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl msync 14 + .set msync, __msync 15 + #endif 16 +
+16
kernel/libsyscall/sys/__msync_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_msync_nocancel 5 + #error "SYS_msync_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__msync_nocancel, msync_nocancel, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl msync$NOCANCEL 14 + .set msync$NOCANCEL, __msync_nocancel 15 + #endif 16 +
+11
kernel/libsyscall/sys/__munmap.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_munmap 5 + #error "SYS_munmap not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__munmap, munmap, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__old_semwait_signal.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___old_semwait_signal 5 + #error "SYS___old_semwait_signal not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__old_semwait_signal, __old_semwait_signal, 5, cerror_nocancel) 10 + #endif 11 +
+16
kernel/libsyscall/sys/__open.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_open 5 + #error "SYS_open not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__open, open, 3, cerror) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl open 14 + .set open, __open 15 + #endif 16 +
+11
kernel/libsyscall/sys/__open_dprotected_np.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_open_dprotected_np 5 + #error "SYS_open_dprotected_np not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__open_dprotected_np, open_dprotected_np, 5, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__open_extended.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_open_extended 5 + #error "SYS_open_extended not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__open_extended, open_extended, 6, cerror_nocancel) 10 + #endif 11 +
+16
kernel/libsyscall/sys/__open_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_open_nocancel 5 + #error "SYS_open_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__open_nocancel, open_nocancel, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl open$NOCANCEL 14 + .set open$NOCANCEL, __open_nocancel 15 + #endif 16 +
+16
kernel/libsyscall/sys/__openat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_openat 5 + #error "SYS_openat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__openat, openat, 4, cerror) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl openat 14 + .set openat, __openat 15 + #endif 16 +
+16
kernel/libsyscall/sys/__openat_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_openat_nocancel 5 + #error "SYS_openat_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__openat_nocancel, openat_nocancel, 4, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl openat$NOCANCEL 14 + .set openat$NOCANCEL, __openat_nocancel 15 + #endif 16 +
+56
kernel/libsyscall/sys/__pipe.S
··· 1 + /* 2 + * Copyright (c) 1999-2007 Apple Inc. All rights reserved. 3 + * 4 + * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5 + * 6 + * This file contains Original Code and/or Modifications of Original Code 7 + * as defined in and that are subject to the Apple Public Source License 8 + * Version 2.0 (the 'License'). You may not use this file except in 9 + * compliance with the License. The rights granted to you under the License 10 + * may not be used to create, or enable the creation or redistribution of, 11 + * unlawful or unlicensed copies of an Apple operating system, or to 12 + * circumvent, violate, or enable the circumvention or violation of, any 13 + * terms of an Apple operating system software license agreement. 14 + * 15 + * Please obtain a copy of the License at 16 + * http://www.opensource.apple.com/apsl/ and read it before using this file. 17 + * 18 + * The Original Code and all software distributed under the License are 19 + * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 20 + * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 21 + * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 22 + * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 23 + * Please see the License for the specific language governing rights and 24 + * limitations under the License. 25 + * 26 + * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 27 + */ 28 + /* Copyright (c) 1992 NeXT Computer, Inc. All rights reserved. */ 29 + 30 + #include "SYS.h" 31 + 32 + #if defined(__i386__) 33 + 34 + PSEUDO_INT(___pipe, pipe, 0) 35 + movl 4(%esp),%ecx 36 + movl %eax,(%ecx) 37 + movl %edx,4(%ecx) 38 + xorl %eax,%eax 39 + ret 40 + 41 + #elif defined(__x86_64__) 42 + 43 + PSEUDO(___pipe, pipe, 0, cerror_nocancel) 44 + movl %eax, (%rdi) 45 + movl %edx, 4(%rdi) 46 + xorl %eax, %eax 47 + ret 48 + 49 + #else 50 + #error Unsupported architecture 51 + #endif 52 + #if defined(__x86_64__) 53 + .globl pipe 54 + .set pipe, __pipe 55 + #endif 56 +
+16
kernel/libsyscall/sys/__poll_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_poll_nocancel 5 + #error "SYS_poll_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__poll_nocancel, poll_nocancel, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl poll$NOCANCEL 14 + .set poll$NOCANCEL, __poll_nocancel 15 + #endif 16 +
+11
kernel/libsyscall/sys/__posix_spawn.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_posix_spawn 5 + #error "SYS_posix_spawn not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__posix_spawn, posix_spawn, 5, cerror) 10 + #endif 11 +
+16
kernel/libsyscall/sys/__pread_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_pread_nocancel 5 + #error "SYS_pread_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__pread_nocancel, pread_nocancel, 4, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl pread$NOCANCEL 14 + .set pread$NOCANCEL, __pread_nocancel 15 + #endif 16 +
+11
kernel/libsyscall/sys/__proc_info.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 28 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_proc_info 5 + #error "SYS_proc_info not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__proc_info, proc_info, 6, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__process_policy.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 32 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_process_policy 5 + #error "SYS_process_policy not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__process_policy, process_policy, 7, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__psynch_cvbroad.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 44 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_psynch_cvbroad 5 + #error "SYS_psynch_cvbroad not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__psynch_cvbroad, psynch_cvbroad, 7, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__psynch_cvclrprepost.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 28 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_psynch_cvclrprepost 5 + #error "SYS_psynch_cvclrprepost not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__psynch_cvclrprepost, psynch_cvclrprepost, 7, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__psynch_cvsignal.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 44 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_psynch_cvsignal 5 + #error "SYS_psynch_cvsignal not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__psynch_cvsignal, psynch_cvsignal, 8, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__psynch_cvwait.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 44 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_psynch_cvwait 5 + #error "SYS_psynch_cvwait not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__psynch_cvwait, psynch_cvwait, 8, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__psynch_mutexdrop.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_psynch_mutexdrop 5 + #error "SYS_psynch_mutexdrop not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__psynch_mutexdrop, psynch_mutexdrop, 5, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__psynch_mutexwait.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_psynch_mutexwait 5 + #error "SYS_psynch_mutexwait not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__psynch_mutexwait, psynch_mutexwait, 5, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__psynch_rw_downgrade.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_psynch_rw_downgrade 5 + #error "SYS_psynch_rw_downgrade not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__psynch_rw_downgrade, psynch_rw_downgrade, 5, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__psynch_rw_longrdlock.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_psynch_rw_longrdlock 5 + #error "SYS_psynch_rw_longrdlock not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__psynch_rw_longrdlock, psynch_rw_longrdlock, 5, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__psynch_rw_rdlock.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_psynch_rw_rdlock 5 + #error "SYS_psynch_rw_rdlock not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__psynch_rw_rdlock, psynch_rw_rdlock, 5, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__psynch_rw_unlock.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_psynch_rw_unlock 5 + #error "SYS_psynch_rw_unlock not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__psynch_rw_unlock, psynch_rw_unlock, 5, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__psynch_rw_unlock2.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_psynch_rw_unlock2 5 + #error "SYS_psynch_rw_unlock2 not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__psynch_rw_unlock2, psynch_rw_unlock2, 5, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__psynch_rw_upgrade.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_psynch_rw_upgrade 5 + #error "SYS_psynch_rw_upgrade not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__psynch_rw_upgrade, psynch_rw_upgrade, 5, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__psynch_rw_wrlock.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_psynch_rw_wrlock 5 + #error "SYS_psynch_rw_wrlock not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__psynch_rw_wrlock, psynch_rw_wrlock, 5, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__psynch_rw_yieldwrlock.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_psynch_rw_yieldwrlock 5 + #error "SYS_psynch_rw_yieldwrlock not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__psynch_rw_yieldwrlock, psynch_rw_yieldwrlock, 5, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__pthread_canceled.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___pthread_canceled 5 + #error "SYS___pthread_canceled not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__pthread_canceled, __pthread_canceled, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__pthread_chdir.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___pthread_chdir 5 + #error "SYS___pthread_chdir not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__pthread_chdir, __pthread_chdir, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__pthread_fchdir.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___pthread_fchdir 5 + #error "SYS___pthread_fchdir not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__pthread_fchdir, __pthread_fchdir, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__pthread_kill.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___pthread_kill 5 + #error "SYS___pthread_kill not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__pthread_kill, __pthread_kill, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__pthread_markcancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___pthread_markcancel 5 + #error "SYS___pthread_markcancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__pthread_markcancel, __pthread_markcancel, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__pthread_sigmask.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___pthread_sigmask 5 + #error "SYS___pthread_sigmask not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__pthread_sigmask, __pthread_sigmask, 3, cerror_nocancel) 10 + #endif 11 +
+60
kernel/libsyscall/sys/__ptrace.S
··· 1 + /* 2 + * Copyright (c) 1999-2007 Apple Inc. All rights reserved. 3 + * 4 + * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5 + * 6 + * This file contains Original Code and/or Modifications of Original Code 7 + * as defined in and that are subject to the Apple Public Source License 8 + * Version 2.0 (the 'License'). You may not use this file except in 9 + * compliance with the License. The rights granted to you under the License 10 + * may not be used to create, or enable the creation or redistribution of, 11 + * unlawful or unlicensed copies of an Apple operating system, or to 12 + * circumvent, violate, or enable the circumvention or violation of, any 13 + * terms of an Apple operating system software license agreement. 14 + * 15 + * Please obtain a copy of the License at 16 + * http://www.opensource.apple.com/apsl/ and read it before using this file. 17 + * 18 + * The Original Code and all software distributed under the License are 19 + * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 20 + * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 21 + * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 22 + * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 23 + * Please see the License for the specific language governing rights and 24 + * limitations under the License. 25 + * 26 + * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 27 + */ 28 + /* Copyright (c) 1992 NeXT Computer, Inc. All rights reserved. */ 29 + 30 + #include "SYS.h" 31 + 32 + #if defined(__i386__) 33 + 34 + .globl _errno 35 + 36 + LEAF(___ptrace, 0) 37 + xorl %eax,%eax 38 + REG_TO_EXTERN(%eax,_errno) 39 + UNIX_SYSCALL_NONAME(ptrace, 4, cerror) 40 + ret 41 + 42 + #elif defined(__x86_64__) 43 + 44 + .globl _errno 45 + 46 + LEAF(___ptrace, 0) 47 + xorq %rax,%rax 48 + PICIFY(_errno) 49 + movl %eax,(%r11) 50 + UNIX_SYSCALL_NONAME(ptrace, 4, cerror) 51 + ret 52 + 53 + #else 54 + #error Unsupported architecture 55 + #endif 56 + #if defined(__x86_64__) 57 + .globl ptrace 58 + .set ptrace, __ptrace 59 + #endif 60 +
+16
kernel/libsyscall/sys/__pwrite_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_pwrite_nocancel 5 + #error "SYS_pwrite_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__pwrite_nocancel, pwrite_nocancel, 4, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl pwrite$NOCANCEL 14 + .set pwrite$NOCANCEL, __pwrite_nocancel 15 + #endif 16 +
+16
kernel/libsyscall/sys/__read_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_read_nocancel 5 + #error "SYS_read_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__read_nocancel, read_nocancel, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl read$NOCANCEL 14 + .set read$NOCANCEL, __read_nocancel 15 + #endif 16 +
+16
kernel/libsyscall/sys/__readv_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_readv_nocancel 5 + #error "SYS_readv_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__readv_nocancel, readv_nocancel, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl readv$NOCANCEL 14 + .set readv$NOCANCEL, __readv_nocancel 15 + #endif 16 +
+16
kernel/libsyscall/sys/__recvfrom.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_recvfrom 5 + #error "SYS_recvfrom not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__recvfrom, recvfrom, 6, cerror) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl recvfrom 14 + .set recvfrom, __recvfrom 15 + #endif 16 +
+16
kernel/libsyscall/sys/__recvfrom_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_recvfrom_nocancel 5 + #error "SYS_recvfrom_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__recvfrom_nocancel, recvfrom_nocancel, 6, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl recvfrom$NOCANCEL 14 + .set recvfrom$NOCANCEL, __recvfrom_nocancel 15 + #endif 16 +
+16
kernel/libsyscall/sys/__recvmsg.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_recvmsg 5 + #error "SYS_recvmsg not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__recvmsg, recvmsg, 3, cerror) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl recvmsg 14 + .set recvmsg, __recvmsg 15 + #endif 16 +
+16
kernel/libsyscall/sys/__recvmsg_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_recvmsg_nocancel 5 + #error "SYS_recvmsg_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__recvmsg_nocancel, recvmsg_nocancel, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl recvmsg$NOCANCEL 14 + .set recvmsg$NOCANCEL, __recvmsg_nocancel 15 + #endif 16 +
+11
kernel/libsyscall/sys/__rename.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_rename 5 + #error "SYS_rename not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__rename, rename, 2, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__rename_ext.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_rename_ext 5 + #error "SYS_rename_ext not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__rename_ext, rename_ext, 3, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__renameat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_renameat 5 + #error "SYS_renameat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__renameat, renameat, 4, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__rmdir.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_rmdir 5 + #error "SYS_rmdir not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__rmdir, rmdir, 1, cerror_nocancel) 10 + #endif 11 +
+16
kernel/libsyscall/sys/__select.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_select 5 + #error "SYS_select not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__select, select, 5, cerror) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl select$DARWIN_EXTSN 14 + .set select$DARWIN_EXTSN, __select 15 + #endif 16 +
+16
kernel/libsyscall/sys/__select_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_select_nocancel 5 + #error "SYS_select_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__select_nocancel, select_nocancel, 5, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl select$DARWIN_EXTSN$NOCANCEL 14 + .set select$DARWIN_EXTSN$NOCANCEL, __select_nocancel 15 + #endif 16 +
+16
kernel/libsyscall/sys/__sem_open.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sem_open 5 + #error "SYS_sem_open not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__sem_open, sem_open, 4, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl sem_open 14 + .set sem_open, __sem_open 15 + #endif 16 +
+16
kernel/libsyscall/sys/__sem_wait_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sem_wait_nocancel 5 + #error "SYS_sem_wait_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__sem_wait_nocancel, sem_wait_nocancel, 1, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl sem_wait$NOCANCEL 14 + .set sem_wait$NOCANCEL, __sem_wait_nocancel 15 + #endif 16 +
+16
kernel/libsyscall/sys/__semctl.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_semctl 5 + #error "SYS_semctl not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__semctl, semctl, 4, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl semctl 14 + .set semctl, __semctl 15 + #endif 16 +
+16
kernel/libsyscall/sys/__semsys.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_semsys 5 + #error "SYS_semsys not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__semsys, semsys, 5, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl semsys 14 + .set semsys, __semsys 15 + #endif 16 +
+11
kernel/libsyscall/sys/__semwait_signal.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 28 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___semwait_signal 5 + #error "SYS___semwait_signal not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__semwait_signal, __semwait_signal, 6, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__semwait_signal_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 28 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___semwait_signal_nocancel 5 + #error "SYS___semwait_signal_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__semwait_signal_nocancel, __semwait_signal_nocancel, 6, cerror_nocancel) 10 + #endif 11 +
+16
kernel/libsyscall/sys/__sendmsg.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sendmsg 5 + #error "SYS_sendmsg not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__sendmsg, sendmsg, 3, cerror) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl sendmsg 14 + .set sendmsg, __sendmsg 15 + #endif 16 +
+16
kernel/libsyscall/sys/__sendmsg_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sendmsg_nocancel 5 + #error "SYS_sendmsg_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__sendmsg_nocancel, sendmsg_nocancel, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl sendmsg$NOCANCEL 14 + .set sendmsg$NOCANCEL, __sendmsg_nocancel 15 + #endif 16 +
+16
kernel/libsyscall/sys/__sendto.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sendto 5 + #error "SYS_sendto not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__sendto, sendto, 6, cerror) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl sendto 14 + .set sendto, __sendto 15 + #endif 16 +
+16
kernel/libsyscall/sys/__sendto_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sendto_nocancel 5 + #error "SYS_sendto_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__sendto_nocancel, sendto_nocancel, 6, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl sendto$NOCANCEL 14 + .set sendto$NOCANCEL, __sendto_nocancel 15 + #endif 16 +
+16
kernel/libsyscall/sys/__setattrlist.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setattrlist 5 + #error "SYS_setattrlist not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__setattrlist, setattrlist, 5, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl setattrlist 14 + .set setattrlist, __setattrlist 15 + #endif 16 +
+11
kernel/libsyscall/sys/__setlcid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setlcid 5 + #error "SYS_setlcid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__setlcid, setlcid, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__setlogin.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setlogin 5 + #error "SYS_setlogin not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__setlogin, setlogin, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__setpriority.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setpriority 5 + #error "SYS_setpriority not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__setpriority, setpriority, 3, cerror_nocancel) 10 + #endif 11 +
+16
kernel/libsyscall/sys/__setregid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setregid 5 + #error "SYS_setregid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__setregid, setregid, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl setregid 14 + .set setregid, __setregid 15 + #endif 16 +
+16
kernel/libsyscall/sys/__setreuid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setreuid 5 + #error "SYS_setreuid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__setreuid, setreuid, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl setreuid 14 + .set setreuid, __setreuid 15 + #endif 16 +
+11
kernel/libsyscall/sys/__setrlimit.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setrlimit 5 + #error "SYS_setrlimit not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__setrlimit, setrlimit, 2, cerror_nocancel) 10 + #endif 11 +
+16
kernel/libsyscall/sys/__setsgroups.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setsgroups 5 + #error "SYS_setsgroups not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__setsgroups, setsgroups, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl setsgroups_np 14 + .set setsgroups_np, __setsgroups 15 + #endif 16 +
+16
kernel/libsyscall/sys/__settid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_settid 5 + #error "SYS_settid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__settid, settid, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl pthread_setugid_np 14 + .set pthread_setugid_np, __settid 15 + #endif 16 +
+11
kernel/libsyscall/sys/__settid_with_pid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_settid_with_pid 5 + #error "SYS_settid_with_pid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__settid_with_pid, settid_with_pid, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__settimeofday.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_settimeofday 5 + #error "SYS_settimeofday not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__settimeofday, settimeofday, 2, cerror_nocancel) 10 + #endif 11 +
+16
kernel/libsyscall/sys/__setwgroups.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setwgroups 5 + #error "SYS_setwgroups not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__setwgroups, setwgroups, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl setwgroups_np 14 + .set setwgroups_np, __setwgroups 15 + #endif 16 +
+11
kernel/libsyscall/sys/__sfi_ctl.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sfi_ctl 5 + #error "SYS_sfi_ctl not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__sfi_ctl, sfi_ctl, 4, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__sfi_pidctl.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sfi_pidctl 5 + #error "SYS_sfi_pidctl not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__sfi_pidctl, sfi_pidctl, 4, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__shared_region_check_np.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_shared_region_check_np 5 + #error "SYS_shared_region_check_np not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__shared_region_check_np, shared_region_check_np, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__shared_region_map_and_slide_np.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_shared_region_map_and_slide_np 5 + #error "SYS_shared_region_map_and_slide_np not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__shared_region_map_and_slide_np, shared_region_map_and_slide_np, 6, cerror_nocancel) 10 + #endif 11 +
+16
kernel/libsyscall/sys/__shm_open.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_shm_open 5 + #error "SYS_shm_open not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__shm_open, shm_open, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl shm_open 14 + .set shm_open, __shm_open 15 + #endif 16 +
+16
kernel/libsyscall/sys/__shmctl.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_shmctl 5 + #error "SYS_shmctl not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__shmctl, shmctl, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl shmctl 14 + .set shmctl, __shmctl 15 + #endif 16 +
+16
kernel/libsyscall/sys/__shmsys.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_shmsys 5 + #error "SYS_shmsys not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__shmsys, shmsys, 4, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl shmsys 14 + .set shmsys, __shmsys 15 + #endif 16 +
+11
kernel/libsyscall/sys/__sigaction.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sigaction 5 + #error "SYS_sigaction not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__sigaction, sigaction, 3, cerror_nocancel) 10 + #endif 11 +
+41
kernel/libsyscall/sys/__sigaltstack.S
··· 1 + /* 2 + * Copyright (c) 1999-2007 Apple Inc. All rights reserved. 3 + * 4 + * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5 + * 6 + * This file contains Original Code and/or Modifications of Original Code 7 + * as defined in and that are subject to the Apple Public Source License 8 + * Version 2.0 (the 'License'). You may not use this file except in 9 + * compliance with the License. The rights granted to you under the License 10 + * may not be used to create, or enable the creation or redistribution of, 11 + * unlawful or unlicensed copies of an Apple operating system, or to 12 + * circumvent, violate, or enable the circumvention or violation of, any 13 + * terms of an Apple operating system software license agreement. 14 + * 15 + * Please obtain a copy of the License at 16 + * http://www.opensource.apple.com/apsl/ and read it before using this file. 17 + * 18 + * The Original Code and all software distributed under the License are 19 + * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 20 + * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 21 + * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 22 + * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 23 + * Please see the License for the specific language governing rights and 24 + * limitations under the License. 25 + * 26 + * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 27 + */ 28 + 29 + #include "SYS.h" 30 + 31 + #if defined(__x86_64__) 32 + 33 + __SYSCALL(___sigaltstack, sigaltstack, 3) 34 + 35 + #elif defined(__i386__) 36 + 37 + __SYSCALL_INT(___sigaltstack, sigaltstack, 3) 38 + 39 + #else 40 + #error Unsupported architecture 41 + #endif
+41
kernel/libsyscall/sys/__sigreturn.S
··· 1 + /* 2 + * Copyright (c) 1999-2007 Apple Inc. All rights reserved. 3 + * 4 + * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5 + * 6 + * This file contains Original Code and/or Modifications of Original Code 7 + * as defined in and that are subject to the Apple Public Source License 8 + * Version 2.0 (the 'License'). You may not use this file except in 9 + * compliance with the License. The rights granted to you under the License 10 + * may not be used to create, or enable the creation or redistribution of, 11 + * unlawful or unlicensed copies of an Apple operating system, or to 12 + * circumvent, violate, or enable the circumvention or violation of, any 13 + * terms of an Apple operating system software license agreement. 14 + * 15 + * Please obtain a copy of the License at 16 + * http://www.opensource.apple.com/apsl/ and read it before using this file. 17 + * 18 + * The Original Code and all software distributed under the License are 19 + * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 20 + * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 21 + * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 22 + * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 23 + * Please see the License for the specific language governing rights and 24 + * limitations under the License. 25 + * 26 + * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 27 + */ 28 + 29 + #include "SYS.h" 30 + 31 + #if defined(__x86_64__) 32 + 33 + __SYSCALL(___sigreturn, sigreturn, 2) 34 + 35 + #elif defined(__i386__) 36 + 37 + __SYSCALL_INT(___sigreturn, sigreturn, 2) 38 + 39 + #else 40 + #error Unsupported architecture 41 + #endif
+11
kernel/libsyscall/sys/__sigsuspend.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sigsuspend 5 + #error "SYS_sigsuspend not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__sigsuspend, sigsuspend, 1, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__sigsuspend_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sigsuspend_nocancel 5 + #error "SYS_sigsuspend_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__sigsuspend_nocancel, sigsuspend_nocancel, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__sigwait.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS___sigwait 5 + #error "SYS___sigwait not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__sigwait, __sigwait, 2, cerror) 10 + #endif 11 +
+16
kernel/libsyscall/sys/__socketpair.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_socketpair 5 + #error "SYS_socketpair not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__socketpair, socketpair, 4, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl socketpair 14 + .set socketpair, __socketpair 15 + #endif 16 +
+11
kernel/libsyscall/sys/__stack_snapshot.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_stack_snapshot 5 + #error "SYS_stack_snapshot not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__stack_snapshot, stack_snapshot, 5, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__stat64_extended.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_stat64_extended 5 + #error "SYS_stat64_extended not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__stat64_extended, stat64_extended, 4, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__stat_extended.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_stat_extended 5 + #error "SYS_stat_extended not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__stat_extended, stat_extended, 4, cerror_nocancel) 10 + #endif 11 +
+60
kernel/libsyscall/sys/__syscall.S
··· 1 + /* 2 + * Copyright (c) 1999-2007 Apple Inc. All rights reserved. 3 + * 4 + * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5 + * 6 + * This file contains Original Code and/or Modifications of Original Code 7 + * as defined in and that are subject to the Apple Public Source License 8 + * Version 2.0 (the 'License'). You may not use this file except in 9 + * compliance with the License. The rights granted to you under the License 10 + * may not be used to create, or enable the creation or redistribution of, 11 + * unlawful or unlicensed copies of an Apple operating system, or to 12 + * circumvent, violate, or enable the circumvention or violation of, any 13 + * terms of an Apple operating system software license agreement. 14 + * 15 + * Please obtain a copy of the License at 16 + * http://www.opensource.apple.com/apsl/ and read it before using this file. 17 + * 18 + * The Original Code and all software distributed under the License are 19 + * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 20 + * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 21 + * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 22 + * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 23 + * Please see the License for the specific language governing rights and 24 + * limitations under the License. 25 + * 26 + * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 27 + */ 28 + /* Copyright (c) 1992 NeXT Computer, Inc. All rights reserved. */ 29 + 30 + #include "SYS.h" 31 + 32 + #if defined(__i386__) 33 + 34 + LEAF(___syscall, 0) 35 + popl %ecx // ret addr 36 + popl %eax // syscall number 37 + pushl %ecx 38 + UNIX_SYSCALL_TRAP 39 + movl (%esp),%edx // add one element to stack so 40 + pushl %ecx // caller "pop" will work 41 + jnb 2f 42 + BRANCH_EXTERN(tramp_cerror) 43 + 2: 44 + END(___syscall) 45 + 46 + #elif defined(__x86_64__) 47 + 48 + // For x86-64, the kernel slides the argument list for us. 49 + // The number of arguments here is variable, but our macros ignore 50 + // that value anyway. 51 + __SYSCALL(___syscall, syscall, 0); 52 + 53 + #else 54 + #error Unsupported architecture 55 + #endif 56 + #if defined(__x86_64__) 57 + .globl syscall 58 + .set syscall, __syscall 59 + #endif 60 +
+11
kernel/libsyscall/sys/__sysctl.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sysctl 5 + #error "SYS_sysctl not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__sysctl, sysctl, 6, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__sysctlbyname.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sysctlbyname 5 + #error "SYS_sysctlbyname not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__sysctlbyname, sysctlbyname, 6, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__telemetry.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 48 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_telemetry 5 + #error "SYS_telemetry not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__telemetry, telemetry, 6, cerror_nocancel) 10 + #endif 11 +
+39
kernel/libsyscall/sys/__thread_selfid.S
··· 1 + /* 2 + * Copyright (c) 1999-2007 Apple Inc. All rights reserved. 3 + * 4 + * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5 + * 6 + * This file contains Original Code and/or Modifications of Original Code 7 + * as defined in and that are subject to the Apple Public Source License 8 + * Version 2.0 (the 'License'). You may not use this file except in 9 + * compliance with the License. The rights granted to you under the License 10 + * may not be used to create, or enable the creation or redistribution of, 11 + * unlawful or unlicensed copies of an Apple operating system, or to 12 + * circumvent, violate, or enable the circumvention or violation of, any 13 + * terms of an Apple operating system software license agreement. 14 + * 15 + * Please obtain a copy of the License at 16 + * http://www.opensource.apple.com/apsl/ and read it before using this file. 17 + * 18 + * The Original Code and all software distributed under the License are 19 + * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 20 + * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 21 + * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 22 + * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 23 + * Please see the License for the specific language governing rights and 24 + * limitations under the License. 25 + * 26 + * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 27 + */ 28 + 29 + #include "SYS.h" 30 + 31 + #if defined(__x86_64__) 32 + 33 + __SYSCALL(___thread_selfid, thread_selfid, 0) 34 + 35 + #elif defined(__i386__) 36 + 37 + __SYSCALL_INT(___thread_selfid, thread_selfid, 0) 38 + 39 + #endif
+39
kernel/libsyscall/sys/__thread_selfusage.S
··· 1 + /* 2 + * Copyright (c) 2014 Apple Inc. All rights reserved. 3 + * 4 + * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5 + * 6 + * This file contains Original Code and/or Modifications of Original Code 7 + * as defined in and that are subject to the Apple Public Source License 8 + * Version 2.0 (the 'License'). You may not use this file except in 9 + * compliance with the License. The rights granted to you under the License 10 + * may not be used to create, or enable the creation or redistribution of, 11 + * unlawful or unlicensed copies of an Apple operating system, or to 12 + * circumvent, violate, or enable the circumvention or violation of, any 13 + * terms of an Apple operating system software license agreement. 14 + * 15 + * Please obtain a copy of the License at 16 + * http://www.opensource.apple.com/apsl/ and read it before using this file. 17 + * 18 + * The Original Code and all software distributed under the License are 19 + * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 20 + * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 21 + * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 22 + * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 23 + * Please see the License for the specific language governing rights and 24 + * limitations under the License. 25 + * 26 + * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 27 + */ 28 + 29 + #include "SYS.h" 30 + 31 + #if defined(__x86_64__) 32 + 33 + __SYSCALL(___thread_selfusage, thread_selfusage, 0) 34 + 35 + #elif defined(__i386__) 36 + 37 + __SYSCALL_INT(___thread_selfusage, thread_selfusage, 0) 38 + 39 + #endif
+11
kernel/libsyscall/sys/__umask_extended.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_umask_extended 5 + #error "SYS_umask_extended not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__umask_extended, umask_extended, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__unlink.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_unlink 5 + #error "SYS_unlink not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__unlink, unlink, 1, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__unlinkat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_unlinkat 5 + #error "SYS_unlinkat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__unlinkat, unlinkat, 3, cerror) 10 + #endif 11 +
+138
kernel/libsyscall/sys/__vfork.S
··· 1 + /* 2 + * Copyright (c) 1999-2007 Apple Inc. All rights reserved. 3 + * 4 + * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5 + * 6 + * This file contains Original Code and/or Modifications of Original Code 7 + * as defined in and that are subject to the Apple Public Source License 8 + * Version 2.0 (the 'License'). You may not use this file except in 9 + * compliance with the License. The rights granted to you under the License 10 + * may not be used to create, or enable the creation or redistribution of, 11 + * unlawful or unlicensed copies of an Apple operating system, or to 12 + * circumvent, violate, or enable the circumvention or violation of, any 13 + * terms of an Apple operating system software license agreement. 14 + * 15 + * Please obtain a copy of the License at 16 + * http://www.opensource.apple.com/apsl/ and read it before using this file. 17 + * 18 + * The Original Code and all software distributed under the License are 19 + * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 20 + * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 21 + * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 22 + * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 23 + * Please see the License for the specific language governing rights and 24 + * limitations under the License. 25 + * 26 + * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 27 + */ 28 + /* Copyright (c) 1998 Apple Computer, Inc. All rights reserved. 29 + * 30 + * File: libc/ppc/sys/vfork.s 31 + * 32 + * HISTORY 33 + * 23-Jun-1998 Umesh Vaishampayan (umeshv@apple.com) 34 + * Created from fork.s 35 + * 36 + */ 37 + 38 + #include "SYS.h" 39 + 40 + #if defined(__i386__) 41 + 42 + #if defined(__DYNAMIC__) 43 + #define GET_CURRENT_PID PICIFY(__current_pid) 44 + 45 + NON_LAZY_STUB(__current_pid) 46 + #define __current_pid (%edx) 47 + #else 48 + #define GET_CURRENT_PID 49 + #endif 50 + 51 + /* 52 + * If __current_pid >= 0, we want to put a -1 in there 53 + * otherwise we just decrement it 54 + */ 55 + 56 + LEAF(___vfork, 0) 57 + GET_CURRENT_PID 58 + movl __current_pid, %eax 59 + 0: 60 + xorl %ecx, %ecx 61 + testl %eax, %eax 62 + cmovs %eax, %ecx 63 + decl %ecx 64 + lock 65 + cmpxchgl %ecx, __current_pid 66 + jne 0b 67 + popl %ecx 68 + movl $(SYS_vfork), %eax // code for vfork -> eax 69 + UNIX_SYSCALL_TRAP // do the system call 70 + jnb L1 // jump if CF==0 71 + GET_CURRENT_PID 72 + lock 73 + incl __current_pid 74 + pushl %ecx 75 + BRANCH_EXTERN(tramp_cerror) 76 + 77 + L1: 78 + testl %edx, %edx // CF=OF=0, ZF set if zero result 79 + jz L2 // parent, since r1 == 0 in parent, 1 in child 80 + xorl %eax, %eax // zero eax 81 + jmp *%ecx 82 + 83 + L2: 84 + GET_CURRENT_PID 85 + lock 86 + incl __current_pid 87 + jmp *%ecx 88 + 89 + #elif defined(__x86_64__) 90 + 91 + /* 92 + * If __current_pid >= 0, we want to put a -1 in there 93 + * otherwise we just decrement it 94 + */ 95 + 96 + LEAF(___vfork, 0) 97 + movq __current_pid@GOTPCREL(%rip), %rax 98 + movl (%rax), %eax 99 + 0: 100 + xorl %ecx, %ecx 101 + testl %eax, %eax 102 + cmovs %eax, %ecx 103 + subl $1, %ecx 104 + movq __current_pid@GOTPCREL(%rip), %rdx 105 + lock 106 + cmpxchgl %ecx, (%rdx) 107 + jne 0b 108 + popq %rdi // return address in %rdi 109 + movq $ SYSCALL_CONSTRUCT_UNIX(SYS_vfork), %rax // code for vfork -> rax 110 + UNIX_SYSCALL_TRAP // do the system call 111 + jnb L1 // jump if CF==0 112 + pushq %rdi // put return address back on stack for cerror 113 + movq __current_pid@GOTPCREL(%rip), %rcx 114 + lock 115 + addq $1, (%rcx) 116 + movq %rax, %rdi 117 + BRANCH_EXTERN(_cerror) 118 + 119 + L1: 120 + testl %edx, %edx // CF=OF=0, ZF set if zero result 121 + jz L2 // parent, since r1 == 0 in parent, 1 in child 122 + xorq %rax, %rax // zero rax 123 + jmp *%rdi 124 + 125 + L2: 126 + movq __current_pid@GOTPCREL(%rip), %rdx 127 + lock 128 + addq $1, (%rdx) 129 + jmp *%rdi 130 + 131 + #else 132 + #error Unsupported architecture 133 + #endif 134 + #if defined(__x86_64__) 135 + .globl vfork 136 + .set vfork, __vfork 137 + #endif 138 +
+11
kernel/libsyscall/sys/__wait4.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_wait4 5 + #error "SYS_wait4 not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__wait4, wait4, 4, cerror) 10 + #endif 11 +
+16
kernel/libsyscall/sys/__wait4_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_wait4_nocancel 5 + #error "SYS_wait4_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__wait4_nocancel, wait4_nocancel, 4, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl wait4 14 + .set wait4, __wait4_nocancel 15 + #endif 16 +
+16
kernel/libsyscall/sys/__waitid_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_waitid_nocancel 5 + #error "SYS_waitid_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__waitid_nocancel, waitid_nocancel, 4, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl waitid$NOCANCEL 14 + .set waitid$NOCANCEL, __waitid_nocancel 15 + #endif 16 +
+11
kernel/libsyscall/sys/__workq_kernreturn.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_workq_kernreturn 5 + #error "SYS_workq_kernreturn not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__workq_kernreturn, workq_kernreturn, 4, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/__workq_open.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_workq_open 5 + #error "SYS_workq_open not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__workq_open, workq_open, 0, cerror_nocancel) 10 + #endif 11 +
+16
kernel/libsyscall/sys/__write_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_write_nocancel 5 + #error "SYS_write_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__write_nocancel, write_nocancel, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl write$NOCANCEL 14 + .set write$NOCANCEL, __write_nocancel 15 + #endif 16 +
+16
kernel/libsyscall/sys/__writev_nocancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_writev_nocancel 5 + #error "SYS_writev_nocancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(__writev_nocancel, writev_nocancel, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl writev$NOCANCEL 14 + .set writev$NOCANCEL, __writev_nocancel 15 + #endif 16 +
+11
kernel/libsyscall/sys/access.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_access 5 + #error "SYS_access not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(access, access, 2, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/acct.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_acct 5 + #error "SYS_acct not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(acct, acct, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/adjtime.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_adjtime 5 + #error "SYS_adjtime not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(adjtime, adjtime, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/aio_cancel.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_aio_cancel 5 + #error "SYS_aio_cancel not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(aio_cancel, aio_cancel, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/aio_error.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_aio_error 5 + #error "SYS_aio_error not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(aio_error, aio_error, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/aio_fsync.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_aio_fsync 5 + #error "SYS_aio_fsync not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(aio_fsync, aio_fsync, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/aio_read.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_aio_read 5 + #error "SYS_aio_read not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(aio_read, aio_read, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/aio_return.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_aio_return 5 + #error "SYS_aio_return not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(aio_return, aio_return, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/aio_suspend.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_aio_suspend 5 + #error "SYS_aio_suspend not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(aio_suspend, aio_suspend, 3, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/aio_write.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_aio_write 5 + #error "SYS_aio_write not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(aio_write, aio_write, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/audit.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_audit 5 + #error "SYS_audit not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(audit, audit, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/audit_session_join.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_audit_session_join 5 + #error "SYS_audit_session_join not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(audit_session_join, audit_session_join, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/audit_session_port.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_audit_session_port 5 + #error "SYS_audit_session_port not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(audit_session_port, audit_session_port, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/audit_session_self.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_audit_session_self 5 + #error "SYS_audit_session_self not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(audit_session_self, audit_session_self, 0, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/auditctl.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_auditctl 5 + #error "SYS_auditctl not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(auditctl, auditctl, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/auditon.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_auditon 5 + #error "SYS_auditon not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(auditon, auditon, 3, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/change_fdguard_np.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_change_fdguard_np 5 + #error "SYS_change_fdguard_np not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(change_fdguard_np, change_fdguard_np, 6, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/chdir.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_chdir 5 + #error "SYS_chdir not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(chdir, chdir, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/chflags.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_chflags 5 + #error "SYS_chflags not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(chflags, chflags, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/chown.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_chown 5 + #error "SYS_chown not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(chown, chown, 3, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/chroot.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_chroot 5 + #error "SYS_chroot not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(chroot, chroot, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/close.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_close 5 + #error "SYS_close not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(close, close, 1, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/connectx.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 32 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_connectx 5 + #error "SYS_connectx not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(connectx, connectx, 8, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/csops.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_csops 5 + #error "SYS_csops not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(csops, csops, 4, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/csops_audittoken.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_csops_audittoken 5 + #error "SYS_csops_audittoken not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(csops_audittoken, csops_audittoken, 5, cerror_nocancel) 10 + #endif 11 +
+107
kernel/libsyscall/sys/custom.S
··· 1 + /* 2 + * Copyright (c) 1999-2011 Apple Inc. All rights reserved. 3 + * 4 + * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5 + * 6 + * This file contains Original Code and/or Modifications of Original Code 7 + * as defined in and that are subject to the Apple Public Source License 8 + * Version 2.0 (the 'License'). You may not use this file except in 9 + * compliance with the License. The rights granted to you under the License 10 + * may not be used to create, or enable the creation or redistribution of, 11 + * unlawful or unlicensed copies of an Apple operating system, or to 12 + * circumvent, violate, or enable the circumvention or violation of, any 13 + * terms of an Apple operating system software license agreement. 14 + * 15 + * Please obtain a copy of the License at 16 + * http://www.opensource.apple.com/apsl/ and read it before using this file. 17 + * 18 + * The Original Code and all software distributed under the License are 19 + * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 20 + * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 21 + * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 22 + * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 23 + * Please see the License for the specific language governing rights and 24 + * limitations under the License. 25 + * 26 + * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 27 + */ 28 + /* Copyright (c) 1992 NeXT Computer, Inc. All rights reserved. 29 + */ 30 + 31 + #include "SYS.h" 32 + 33 + #if defined(__i386__) 34 + 35 + /* 36 + * i386 needs custom assembly to transform the return from syscalls 37 + * into a proper stack for a function call out to cerror{,_nocancel}. 38 + */ 39 + 40 + LABEL(tramp_cerror) 41 + mov %esp, %edx 42 + andl $0xfffffff0, %esp 43 + subl $16, %esp 44 + movl %edx, 4(%esp) 45 + movl %eax, (%esp) 46 + CALL_EXTERN(_cerror) 47 + movl 4(%esp), %esp 48 + ret 49 + 50 + LABEL(tramp_cerror_nocancel) 51 + mov %esp, %edx 52 + andl $0xfffffff0, %esp 53 + subl $16, %esp 54 + movl %edx, 4(%esp) 55 + movl %eax, (%esp) 56 + CALL_EXTERN(_cerror_nocancel) 57 + movl 4(%esp), %esp 58 + ret 59 + 60 + LABEL(__sysenter_trap) 61 + popl %edx 62 + movl %esp, %ecx 63 + sysenter 64 + 65 + .globl _i386_get_ldt 66 + ALIGN 67 + _i386_get_ldt: 68 + movl $6,%eax 69 + MACHDEP_SYSCALL_TRAP 70 + jnb 2f 71 + jmp tramp_cerror 72 + 2: ret 73 + 74 + 75 + .globl _i386_set_ldt 76 + ALIGN 77 + _i386_set_ldt: 78 + movl $5,%eax 79 + MACHDEP_SYSCALL_TRAP 80 + jnb 2f 81 + jmp tramp_cerror 82 + 2: ret 83 + 84 + #elif defined(__x86_64__) 85 + 86 + .globl _i386_get_ldt 87 + ALIGN 88 + _i386_get_ldt: 89 + movl $6,%eax 90 + MACHDEP_SYSCALL_TRAP 91 + jnb 2f 92 + movq %rax, %rdi 93 + jmp _cerror 94 + 2: ret 95 + 96 + 97 + .globl _i386_set_ldt 98 + ALIGN 99 + _i386_set_ldt: 100 + movl $5,%eax 101 + MACHDEP_SYSCALL_TRAP 102 + jnb 2f 103 + movq %rax, %rdi 104 + jmp _cerror 105 + 2: ret 106 + 107 + #endif
+11
kernel/libsyscall/sys/disconnectx.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_disconnectx 5 + #error "SYS_disconnectx not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(disconnectx, disconnectx, 3, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/dup.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_dup 5 + #error "SYS_dup not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(dup, dup, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/dup2.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_dup2 5 + #error "SYS_dup2 not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(dup2, dup2, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/exchangedata.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_exchangedata 5 + #error "SYS_exchangedata not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(exchangedata, exchangedata, 3, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/execve.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_execve 5 + #error "SYS_execve not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(execve, execve, 3, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/faccessat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_faccessat 5 + #error "SYS_faccessat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(faccessat, faccessat, 4, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/fchdir.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fchdir 5 + #error "SYS_fchdir not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(fchdir, fchdir, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/fchflags.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fchflags 5 + #error "SYS_fchflags not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(fchflags, fchflags, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/fchmodat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fchmodat 5 + #error "SYS_fchmodat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(fchmodat, fchmodat, 4, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/fchown.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fchown 5 + #error "SYS_fchown not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(fchown, fchown, 3, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/fchownat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fchownat 5 + #error "SYS_fchownat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(fchownat, fchownat, 5, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/fdatasync.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fdatasync 5 + #error "SYS_fdatasync not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(fdatasync, fdatasync, 1, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/ffsctl.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_ffsctl 5 + #error "SYS_ffsctl not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(ffsctl, ffsctl, 4, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/fgetattrlist.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fgetattrlist 5 + #error "SYS_fgetattrlist not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(fgetattrlist, fgetattrlist, 5, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/fgetxattr.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fgetxattr 5 + #error "SYS_fgetxattr not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(fgetxattr, fgetxattr, 6, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/fhopen.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fhopen 5 + #error "SYS_fhopen not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(fhopen, fhopen, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/fileport_makefd.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fileport_makefd 5 + #error "SYS_fileport_makefd not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(fileport_makefd, fileport_makefd, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/fileport_makeport.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fileport_makeport 5 + #error "SYS_fileport_makeport not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(fileport_makeport, fileport_makeport, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/flistxattr.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_flistxattr 5 + #error "SYS_flistxattr not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(flistxattr, flistxattr, 4, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/flock.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_flock 5 + #error "SYS_flock not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(flock, flock, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/fpathconf.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fpathconf 5 + #error "SYS_fpathconf not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(fpathconf, fpathconf, 2, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/fremovexattr.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fremovexattr 5 + #error "SYS_fremovexattr not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(fremovexattr, fremovexattr, 3, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/fsctl.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fsctl 5 + #error "SYS_fsctl not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(fsctl, fsctl, 4, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/fsetattrlist.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fsetattrlist 5 + #error "SYS_fsetattrlist not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(fsetattrlist, fsetattrlist, 5, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/fsetxattr.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fsetxattr 5 + #error "SYS_fsetxattr not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(fsetxattr, fsetxattr, 6, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/fstat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fstat 5 + #error "SYS_fstat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(fstat, fstat, 2, cerror) 10 + #endif 11 +
+16
kernel/libsyscall/sys/fstat64.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fstat64 5 + #error "SYS_fstat64 not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(fstat64, fstat64, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl fstat$INODE64 14 + .set fstat$INODE64, fstat64 15 + #endif 16 +
+11
kernel/libsyscall/sys/fstatat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fstatat 5 + #error "SYS_fstatat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(fstatat, fstatat, 4, cerror) 10 + #endif 11 +
+16
kernel/libsyscall/sys/fstatat64.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fstatat64 5 + #error "SYS_fstatat64 not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(fstatat64, fstatat64, 4, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl fstatat$INODE64 14 + .set fstatat$INODE64, fstatat64 15 + #endif 16 +
+11
kernel/libsyscall/sys/fstatfs.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fstatfs 5 + #error "SYS_fstatfs not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(fstatfs, fstatfs, 2, cerror_nocancel) 10 + #endif 11 +
+16
kernel/libsyscall/sys/fstatfs64.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fstatfs64 5 + #error "SYS_fstatfs64 not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(fstatfs64, fstatfs64, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl fstatfs$INODE64 14 + .set fstatfs$INODE64, fstatfs64 15 + #endif 16 +
+11
kernel/libsyscall/sys/fsync.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_fsync 5 + #error "SYS_fsync not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(fsync, fsync, 1, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/ftruncate.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_ftruncate 5 + #error "SYS_ftruncate not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(ftruncate, ftruncate, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/futimes.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_futimes 5 + #error "SYS_futimes not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(futimes, futimes, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/getattrlistat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getattrlistat 5 + #error "SYS_getattrlistat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(getattrlistat, getattrlistat, 6, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/getattrlistbulk.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getattrlistbulk 5 + #error "SYS_getattrlistbulk not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(getattrlistbulk, getattrlistbulk, 5, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/getaudit_addr.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getaudit_addr 5 + #error "SYS_getaudit_addr not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(getaudit_addr, getaudit_addr, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/getauid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getauid 5 + #error "SYS_getauid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(getauid, getauid, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/getdirentries.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getdirentries 5 + #error "SYS_getdirentries not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(getdirentries, getdirentries, 4, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/getdirentriesattr.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 32 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getdirentriesattr 5 + #error "SYS_getdirentriesattr not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(getdirentriesattr, getdirentriesattr, 8, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/getdtablesize.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getdtablesize 5 + #error "SYS_getdtablesize not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(getdtablesize, getdtablesize, 0, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/getegid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getegid 5 + #error "SYS_getegid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(getegid, getegid, 0, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/geteuid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_geteuid 5 + #error "SYS_geteuid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(geteuid, geteuid, 0, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/getfh.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getfh 5 + #error "SYS_getfh not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(getfh, getfh, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/getfsstat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getfsstat 5 + #error "SYS_getfsstat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(getfsstat, getfsstat, 3, cerror_nocancel) 10 + #endif 11 +
+16
kernel/libsyscall/sys/getfsstat64.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getfsstat64 5 + #error "SYS_getfsstat64 not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(getfsstat64, getfsstat64, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl getfsstat$INODE64 14 + .set getfsstat$INODE64, getfsstat64 15 + #endif 16 +
+11
kernel/libsyscall/sys/getgid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getgid 5 + #error "SYS_getgid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(getgid, getgid, 0, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/getgroups.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getgroups 5 + #error "SYS_getgroups not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(getgroups, getgroups, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/getitimer.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getitimer 5 + #error "SYS_getitimer not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(getitimer, getitimer, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/getpgid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getpgid 5 + #error "SYS_getpgid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(getpgid, getpgid, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/getpgrp.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getpgrp 5 + #error "SYS_getpgrp not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(getpgrp, getpgrp, 0, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/getppid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getppid 5 + #error "SYS_getppid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(getppid, getppid, 0, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/getpriority.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getpriority 5 + #error "SYS_getpriority not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(getpriority, getpriority, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/getrusage.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getrusage 5 + #error "SYS_getrusage not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(getrusage, getrusage, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/getsid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getsid 5 + #error "SYS_getsid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(getsid, getsid, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/getsockopt.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getsockopt 5 + #error "SYS_getsockopt not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(getsockopt, getsockopt, 5, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/getuid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getuid 5 + #error "SYS_getuid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(getuid, getuid, 0, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/getxattr.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_getxattr 5 + #error "SYS_getxattr not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(getxattr, getxattr, 6, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/guarded_close_np.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_guarded_close_np 5 + #error "SYS_guarded_close_np not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(guarded_close_np, guarded_close_np, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/guarded_kqueue_np.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_guarded_kqueue_np 5 + #error "SYS_guarded_kqueue_np not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(guarded_kqueue_np, guarded_kqueue_np, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/guarded_pwrite_np.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_guarded_pwrite_np 5 + #error "SYS_guarded_pwrite_np not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(guarded_pwrite_np, guarded_pwrite_np, 5, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/guarded_write_np.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_guarded_write_np 5 + #error "SYS_guarded_write_np not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(guarded_write_np, guarded_write_np, 4, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/guarded_writev_np.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_guarded_writev_np 5 + #error "SYS_guarded_writev_np not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(guarded_writev_np, guarded_writev_np, 4, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/issetugid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_issetugid 5 + #error "SYS_issetugid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(issetugid, issetugid, 0, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/kas_info.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_kas_info 5 + #error "SYS_kas_info not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(kas_info, kas_info, 3, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/kevent.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_kevent 5 + #error "SYS_kevent not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(kevent, kevent, 6, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/kevent64.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 28 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_kevent64 5 + #error "SYS_kevent64 not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(kevent64, kevent64, 7, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/kqueue.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_kqueue 5 + #error "SYS_kqueue not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(kqueue, kqueue, 0, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/ledger.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_ledger 5 + #error "SYS_ledger not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(ledger, ledger, 4, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/link.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_link 5 + #error "SYS_link not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(link, link, 2, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/linkat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_linkat 5 + #error "SYS_linkat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(linkat, linkat, 5, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/lio_listio.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_lio_listio 5 + #error "SYS_lio_listio not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(lio_listio, lio_listio, 4, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/listxattr.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_listxattr 5 + #error "SYS_listxattr not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(listxattr, listxattr, 4, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/lstat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_lstat 5 + #error "SYS_lstat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(lstat, lstat, 2, cerror) 10 + #endif 11 +
+16
kernel/libsyscall/sys/lstat64.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_lstat64 5 + #error "SYS_lstat64 not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(lstat64, lstat64, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl lstat$INODE64 14 + .set lstat$INODE64, lstat64 15 + #endif 16 +
+16
kernel/libsyscall/sys/madvise.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_madvise 5 + #error "SYS_madvise not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(madvise, madvise, 3, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl posix_madvise 14 + .set posix_madvise, madvise 15 + #endif 16 +
+11
kernel/libsyscall/sys/memorystatus_control.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_memorystatus_control 5 + #error "SYS_memorystatus_control not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(memorystatus_control, memorystatus_control, 5, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/memorystatus_get_level.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_memorystatus_get_level 5 + #error "SYS_memorystatus_get_level not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(memorystatus_get_level, memorystatus_get_level, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/mincore.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_mincore 5 + #error "SYS_mincore not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(mincore, mincore, 3, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/minherit.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_minherit 5 + #error "SYS_minherit not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(minherit, minherit, 3, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/mkdir.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_mkdir 5 + #error "SYS_mkdir not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(mkdir, mkdir, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/mkdirat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_mkdirat 5 + #error "SYS_mkdirat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(mkdirat, mkdirat, 3, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/mkfifo.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_mkfifo 5 + #error "SYS_mkfifo not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(mkfifo, mkfifo, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/mknod.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_mknod 5 + #error "SYS_mknod not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(mknod, mknod, 3, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/mlock.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_mlock 5 + #error "SYS_mlock not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(mlock, mlock, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/mlockall.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_mlockall 5 + #error "SYS_mlockall not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(mlockall, mlockall, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/modwatch.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_modwatch 5 + #error "SYS_modwatch not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(modwatch, modwatch, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/mount.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_mount 5 + #error "SYS_mount not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(mount, mount, 4, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/mremap_encrypted.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_mremap_encrypted 5 + #error "SYS_mremap_encrypted not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(mremap_encrypted, mremap_encrypted, 5, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/msgget.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_msgget 5 + #error "SYS_msgget not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(msgget, msgget, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/msgrcv.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_msgrcv 5 + #error "SYS_msgrcv not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(msgrcv, msgrcv, 5, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/msgsnd.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_msgsnd 5 + #error "SYS_msgsnd not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(msgsnd, msgsnd, 4, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/munlock.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_munlock 5 + #error "SYS_munlock not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(munlock, munlock, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/munlockall.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_munlockall 5 + #error "SYS_munlockall not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(munlockall, munlockall, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/necp_match_policy.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_necp_match_policy 5 + #error "SYS_necp_match_policy not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(necp_match_policy, necp_match_policy, 3, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/nfsclnt.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_nfsclnt 5 + #error "SYS_nfsclnt not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(nfsclnt, nfsclnt, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/nfssvc.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_nfssvc 5 + #error "SYS_nfssvc not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(nfssvc, nfssvc, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/openbyid_np.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_openbyid_np 5 + #error "SYS_openbyid_np not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(openbyid_np, openbyid_np, 3, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/pathconf.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_pathconf 5 + #error "SYS_pathconf not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(pathconf, pathconf, 2, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/peeloff.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_peeloff 5 + #error "SYS_peeloff not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(peeloff, peeloff, 2, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/pid_resume.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_pid_resume 5 + #error "SYS_pid_resume not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(pid_resume, pid_resume, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/pid_suspend.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_pid_suspend 5 + #error "SYS_pid_suspend not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(pid_suspend, pid_suspend, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/poll.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_poll 5 + #error "SYS_poll not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(poll, poll, 3, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/pread.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_pread 5 + #error "SYS_pread not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(pread, pread, 4, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/proc_rlimit_control.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_proc_rlimit_control 5 + #error "SYS_proc_rlimit_control not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(proc_rlimit_control, proc_rlimit_control, 3, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/proc_trace_log.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_proc_trace_log 5 + #error "SYS_proc_trace_log not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(proc_trace_log, proc_trace_log, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/proc_uuid_policy.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_proc_uuid_policy 5 + #error "SYS_proc_uuid_policy not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(proc_uuid_policy, proc_uuid_policy, 4, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/pwrite.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_pwrite 5 + #error "SYS_pwrite not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(pwrite, pwrite, 4, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/quota.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_quota 5 + #error "SYS_quota not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(quota, quota, 4, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/quotactl.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_quotactl 5 + #error "SYS_quotactl not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(quotactl, quotactl, 4, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/read.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_read 5 + #error "SYS_read not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(read, read, 3, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/readlink.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_readlink 5 + #error "SYS_readlink not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(readlink, readlink, 3, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/readlinkat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_readlinkat 5 + #error "SYS_readlinkat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(readlinkat, readlinkat, 4, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/readv.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_readv 5 + #error "SYS_readv not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(readv, readv, 3, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/reboot.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_reboot 5 + #error "SYS_reboot not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(reboot, reboot, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/recvmsg_x.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_recvmsg_x 5 + #error "SYS_recvmsg_x not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(recvmsg_x, recvmsg_x, 4, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/removexattr.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_removexattr 5 + #error "SYS_removexattr not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(removexattr, removexattr, 3, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/revoke.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_revoke 5 + #error "SYS_revoke not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(revoke, revoke, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/searchfs.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_searchfs 5 + #error "SYS_searchfs not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(searchfs, searchfs, 6, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/sem_close.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sem_close 5 + #error "SYS_sem_close not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(sem_close, sem_close, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/sem_post.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sem_post 5 + #error "SYS_sem_post not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(sem_post, sem_post, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/sem_trywait.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sem_trywait 5 + #error "SYS_sem_trywait not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(sem_trywait, sem_trywait, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/sem_unlink.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sem_unlink 5 + #error "SYS_sem_unlink not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(sem_unlink, sem_unlink, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/sem_wait.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sem_wait 5 + #error "SYS_sem_wait not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(sem_wait, sem_wait, 1, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/semget.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_semget 5 + #error "SYS_semget not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(semget, semget, 3, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/semop.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_semop 5 + #error "SYS_semop not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(semop, semop, 3, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/sendfile.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 28 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sendfile 5 + #error "SYS_sendfile not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(sendfile, sendfile, 6, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/sendmsg_x.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sendmsg_x 5 + #error "SYS_sendmsg_x not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(sendmsg_x, sendmsg_x, 4, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/setaudit_addr.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setaudit_addr 5 + #error "SYS_setaudit_addr not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(setaudit_addr, setaudit_addr, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/setauid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setauid 5 + #error "SYS_setauid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(setauid, setauid, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/setegid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setegid 5 + #error "SYS_setegid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(setegid, setegid, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/seteuid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_seteuid 5 + #error "SYS_seteuid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(seteuid, seteuid, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/setgid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setgid 5 + #error "SYS_setgid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(setgid, setgid, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/setgroups.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setgroups 5 + #error "SYS_setgroups not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(setgroups, setgroups, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/setitimer.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setitimer 5 + #error "SYS_setitimer not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(setitimer, setitimer, 3, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/setpgid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setpgid 5 + #error "SYS_setpgid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(setpgid, setpgid, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/setprivexec.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setprivexec 5 + #error "SYS_setprivexec not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(setprivexec, setprivexec, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/setquota.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setquota 5 + #error "SYS_setquota not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(setquota, setquota, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/setsid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setsid 5 + #error "SYS_setsid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(setsid, setsid, 0, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/setsockopt.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 20 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setsockopt 5 + #error "SYS_setsockopt not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(setsockopt, setsockopt, 5, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/setuid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setuid 5 + #error "SYS_setuid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(setuid, setuid, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/setxattr.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 24 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_setxattr 5 + #error "SYS_setxattr not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(setxattr, setxattr, 6, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/shm_unlink.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_shm_unlink 5 + #error "SYS_shm_unlink not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(shm_unlink, shm_unlink, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/shmat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_shmat 5 + #error "SYS_shmat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(shmat, shmat, 3, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/shmdt.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_shmdt 5 + #error "SYS_shmdt not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(shmdt, shmdt, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/shmget.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_shmget 5 + #error "SYS_shmget not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(shmget, shmget, 3, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/shutdown.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_shutdown 5 + #error "SYS_shutdown not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(shutdown, shutdown, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/sigpending.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sigpending 5 + #error "SYS_sigpending not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(sigpending, sigpending, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/sigprocmask.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sigprocmask 5 + #error "SYS_sigprocmask not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(sigprocmask, sigprocmask, 3, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/socket.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_socket 5 + #error "SYS_socket not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(socket, socket, 3, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/socket_delegate.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_socket_delegate 5 + #error "SYS_socket_delegate not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(socket_delegate, socket_delegate, 4, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/stat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_stat 5 + #error "SYS_stat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(stat, stat, 2, cerror) 10 + #endif 11 +
+16
kernel/libsyscall/sys/stat64.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_stat64 5 + #error "SYS_stat64 not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(stat64, stat64, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl stat$INODE64 14 + .set stat$INODE64, stat64 15 + #endif 16 +
+11
kernel/libsyscall/sys/statfs.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_statfs 5 + #error "SYS_statfs not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(statfs, statfs, 2, cerror_nocancel) 10 + #endif 11 +
+16
kernel/libsyscall/sys/statfs64.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_statfs64 5 + #error "SYS_statfs64 not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(statfs64, statfs64, 2, cerror_nocancel) 10 + #endif 11 + 12 + #if defined(__x86_64__) 13 + .globl statfs$INODE64 14 + .set statfs$INODE64, statfs64 15 + #endif 16 +
+388
kernel/libsyscall/sys/stubs.list
··· 1 + sys/____old_semwait_signal_nocancel.s 2 + sys/____sigwait_nocancel.s 3 + sys/__accept.s 4 + sys/__accept_nocancel.s 5 + sys/__access_extended.s 6 + sys/__aio_suspend_nocancel.s 7 + sys/__bind.s 8 + sys/__bsdthread_create.s 9 + sys/__bsdthread_ctl.s 10 + sys/__bsdthread_register.s 11 + sys/__bsdthread_terminate.s 12 + sys/__chmod.s 13 + sys/__chmod_extended.s 14 + sys/__chud.s 15 + sys/__close_nocancel.s 16 + sys/__coalition.s 17 + sys/__coalition_info.s 18 + sys/__connect.s 19 + sys/__connect_nocancel.s 20 + sys/__copyfile.s 21 + sys/__csrctl.s 22 + sys/__delete.s 23 + sys/__disable_threadsignal.s 24 + sys/__exit.s 25 + sys/__fchmod.s 26 + sys/__fchmod_extended.s 27 + sys/__fcntl.s 28 + sys/__fcntl_nocancel.s 29 + sys/__fork.s 30 + sys/__fsgetpath.s 31 + sys/__fstat64_extended.s 32 + sys/__fstat_extended.s 33 + sys/__fsync_nocancel.s 34 + sys/__getattrlist.s 35 + sys/__getdirentries64.s 36 + sys/__gethostuuid.s 37 + sys/__getlcid.s 38 + sys/__getlogin.s 39 + sys/__getpeername.s 40 + sys/__getpid.s 41 + sys/__getrlimit.s 42 + sys/__getsgroups.s 43 + sys/__getsockname.s 44 + sys/__gettid.s 45 + sys/__gettimeofday.s 46 + sys/__getwgroups.s 47 + sys/__guarded_open_dprotected_np.s 48 + sys/__guarded_open_np.s 49 + sys/__identitysvc.s 50 + sys/__initgroups.s 51 + sys/__ioctl.s 52 + sys/__iopolicysys.s 53 + sys/__kdebug_trace.s 54 + sys/__kill.s 55 + sys/__lchown.s 56 + sys/__listen.s 57 + sys/__lseek.s 58 + sys/__lstat64_extended.s 59 + sys/__lstat_extended.s 60 + sys/__mac_execve.s 61 + sys/__mac_get_fd.s 62 + sys/__mac_get_file.s 63 + sys/__mac_get_lcid.s 64 + sys/__mac_get_lctx.s 65 + sys/__mac_get_link.s 66 + sys/__mac_get_mount.s 67 + sys/__mac_get_pid.s 68 + sys/__mac_get_proc.s 69 + sys/__mac_getfsstat.s 70 + sys/__mac_mount.s 71 + sys/__mac_set_fd.s 72 + sys/__mac_set_file.s 73 + sys/__mac_set_lctx.s 74 + sys/__mac_set_link.s 75 + sys/__mac_set_proc.s 76 + sys/__mac_syscall.s 77 + sys/__mkdir_extended.s 78 + sys/__mkfifo_extended.s 79 + sys/__mmap.s 80 + sys/__mprotect.s 81 + sys/__msgctl.s 82 + sys/__msgrcv_nocancel.s 83 + sys/__msgsnd_nocancel.s 84 + sys/__msgsys.s 85 + sys/__msync.s 86 + sys/__msync_nocancel.s 87 + sys/__munmap.s 88 + sys/__old_semwait_signal.s 89 + sys/__open.s 90 + sys/__open_dprotected_np.s 91 + sys/__open_extended.s 92 + sys/__open_nocancel.s 93 + sys/__openat.s 94 + sys/__openat_nocancel.s 95 + sys/__pipe.s 96 + sys/__poll_nocancel.s 97 + sys/__posix_spawn.s 98 + sys/__pread_nocancel.s 99 + sys/__proc_info.s 100 + sys/__process_policy.s 101 + sys/__psynch_cvbroad.s 102 + sys/__psynch_cvclrprepost.s 103 + sys/__psynch_cvsignal.s 104 + sys/__psynch_cvwait.s 105 + sys/__psynch_mutexdrop.s 106 + sys/__psynch_mutexwait.s 107 + sys/__psynch_rw_downgrade.s 108 + sys/__psynch_rw_longrdlock.s 109 + sys/__psynch_rw_rdlock.s 110 + sys/__psynch_rw_unlock.s 111 + sys/__psynch_rw_unlock2.s 112 + sys/__psynch_rw_upgrade.s 113 + sys/__psynch_rw_wrlock.s 114 + sys/__psynch_rw_yieldwrlock.s 115 + sys/__pthread_canceled.s 116 + sys/__pthread_chdir.s 117 + sys/__pthread_fchdir.s 118 + sys/__pthread_kill.s 119 + sys/__pthread_markcancel.s 120 + sys/__pthread_sigmask.s 121 + sys/__ptrace.s 122 + sys/__pwrite_nocancel.s 123 + sys/__read_nocancel.s 124 + sys/__readv_nocancel.s 125 + sys/__recvfrom.s 126 + sys/__recvfrom_nocancel.s 127 + sys/__recvmsg.s 128 + sys/__recvmsg_nocancel.s 129 + sys/__rename.s 130 + sys/__rename_ext.s 131 + sys/__renameat.s 132 + sys/__rmdir.s 133 + sys/__select.s 134 + sys/__select_nocancel.s 135 + sys/__sem_open.s 136 + sys/__sem_wait_nocancel.s 137 + sys/__semctl.s 138 + sys/__semsys.s 139 + sys/__semwait_signal.s 140 + sys/__semwait_signal_nocancel.s 141 + sys/__sendmsg.s 142 + sys/__sendmsg_nocancel.s 143 + sys/__sendto.s 144 + sys/__sendto_nocancel.s 145 + sys/__setattrlist.s 146 + sys/__setlcid.s 147 + sys/__setlogin.s 148 + sys/__setpriority.s 149 + sys/__setregid.s 150 + sys/__setreuid.s 151 + sys/__setrlimit.s 152 + sys/__setsgroups.s 153 + sys/__settid.s 154 + sys/__settid_with_pid.s 155 + sys/__settimeofday.s 156 + sys/__setwgroups.s 157 + sys/__sfi_ctl.s 158 + sys/__sfi_pidctl.s 159 + sys/__shared_region_check_np.s 160 + sys/__shared_region_map_and_slide_np.s 161 + sys/__shm_open.s 162 + sys/__shmctl.s 163 + sys/__shmsys.s 164 + sys/__sigaction.s 165 + sys/__sigaltstack.s 166 + sys/__sigreturn.s 167 + sys/__sigsuspend.s 168 + sys/__sigsuspend_nocancel.s 169 + sys/__sigwait.s 170 + sys/__socketpair.s 171 + sys/__stack_snapshot.s 172 + sys/__stat64_extended.s 173 + sys/__stat_extended.s 174 + sys/__syscall.s 175 + sys/__sysctl.s 176 + sys/__sysctlbyname.s 177 + sys/__telemetry.s 178 + sys/__thread_selfid.s 179 + sys/__thread_selfusage.s 180 + sys/__umask_extended.s 181 + sys/__unlink.s 182 + sys/__unlinkat.s 183 + sys/__vfork.s 184 + sys/__wait4.s 185 + sys/__wait4_nocancel.s 186 + sys/__waitid_nocancel.s 187 + sys/__workq_kernreturn.s 188 + sys/__workq_open.s 189 + sys/__write_nocancel.s 190 + sys/__writev_nocancel.s 191 + sys/access.s 192 + sys/acct.s 193 + sys/adjtime.s 194 + sys/aio_cancel.s 195 + sys/aio_error.s 196 + sys/aio_fsync.s 197 + sys/aio_read.s 198 + sys/aio_return.s 199 + sys/aio_suspend.s 200 + sys/aio_write.s 201 + sys/audit.s 202 + sys/audit_session_join.s 203 + sys/audit_session_port.s 204 + sys/audit_session_self.s 205 + sys/auditctl.s 206 + sys/auditon.s 207 + sys/change_fdguard_np.s 208 + sys/chdir.s 209 + sys/chflags.s 210 + sys/chown.s 211 + sys/chroot.s 212 + sys/close.s 213 + sys/connectx.s 214 + sys/csops.s 215 + sys/csops_audittoken.s 216 + sys/custom.s 217 + sys/disconnectx.s 218 + sys/dup.s 219 + sys/dup2.s 220 + sys/exchangedata.s 221 + sys/execve.s 222 + sys/faccessat.s 223 + sys/fchdir.s 224 + sys/fchflags.s 225 + sys/fchmodat.s 226 + sys/fchown.s 227 + sys/fchownat.s 228 + sys/fdatasync.s 229 + sys/ffsctl.s 230 + sys/fgetattrlist.s 231 + sys/fgetxattr.s 232 + sys/fhopen.s 233 + sys/fileport_makefd.s 234 + sys/fileport_makeport.s 235 + sys/flistxattr.s 236 + sys/flock.s 237 + sys/fpathconf.s 238 + sys/fremovexattr.s 239 + sys/fsctl.s 240 + sys/fsetattrlist.s 241 + sys/fsetxattr.s 242 + sys/fstat.s 243 + sys/fstat64.s 244 + sys/fstatat.s 245 + sys/fstatat64.s 246 + sys/fstatfs.s 247 + sys/fstatfs64.s 248 + sys/fsync.s 249 + sys/ftruncate.s 250 + sys/futimes.s 251 + sys/getattrlistat.s 252 + sys/getattrlistbulk.s 253 + sys/getaudit_addr.s 254 + sys/getauid.s 255 + sys/getdirentries.s 256 + sys/getdirentriesattr.s 257 + sys/getdtablesize.s 258 + sys/getegid.s 259 + sys/geteuid.s 260 + sys/getfh.s 261 + sys/getfsstat.s 262 + sys/getfsstat64.s 263 + sys/getgid.s 264 + sys/getgroups.s 265 + sys/getitimer.s 266 + sys/getpgid.s 267 + sys/getpgrp.s 268 + sys/getppid.s 269 + sys/getpriority.s 270 + sys/getrusage.s 271 + sys/getsid.s 272 + sys/getsockopt.s 273 + sys/getuid.s 274 + sys/getxattr.s 275 + sys/guarded_close_np.s 276 + sys/guarded_kqueue_np.s 277 + sys/guarded_pwrite_np.s 278 + sys/guarded_write_np.s 279 + sys/guarded_writev_np.s 280 + sys/issetugid.s 281 + sys/kas_info.s 282 + sys/kevent.s 283 + sys/kevent64.s 284 + sys/kqueue.s 285 + sys/ledger.s 286 + sys/link.s 287 + sys/linkat.s 288 + sys/lio_listio.s 289 + sys/listxattr.s 290 + sys/lstat.s 291 + sys/lstat64.s 292 + sys/madvise.s 293 + sys/memorystatus_control.s 294 + sys/memorystatus_get_level.s 295 + sys/mincore.s 296 + sys/minherit.s 297 + sys/mkdir.s 298 + sys/mkdirat.s 299 + sys/mkfifo.s 300 + sys/mknod.s 301 + sys/mlock.s 302 + sys/mlockall.s 303 + sys/modwatch.s 304 + sys/mount.s 305 + sys/mremap_encrypted.s 306 + sys/msgget.s 307 + sys/msgrcv.s 308 + sys/msgsnd.s 309 + sys/munlock.s 310 + sys/munlockall.s 311 + sys/necp_match_policy.s 312 + sys/nfsclnt.s 313 + sys/nfssvc.s 314 + sys/openbyid_np.s 315 + sys/pathconf.s 316 + sys/peeloff.s 317 + sys/pid_resume.s 318 + sys/pid_suspend.s 319 + sys/poll.s 320 + sys/pread.s 321 + sys/proc_rlimit_control.s 322 + sys/proc_trace_log.s 323 + sys/proc_uuid_policy.s 324 + sys/pwrite.s 325 + sys/quota.s 326 + sys/quotactl.s 327 + sys/read.s 328 + sys/readlink.s 329 + sys/readlinkat.s 330 + sys/readv.s 331 + sys/reboot.s 332 + sys/recvmsg_x.s 333 + sys/removexattr.s 334 + sys/revoke.s 335 + sys/searchfs.s 336 + sys/sem_close.s 337 + sys/sem_post.s 338 + sys/sem_trywait.s 339 + sys/sem_unlink.s 340 + sys/sem_wait.s 341 + sys/semget.s 342 + sys/semop.s 343 + sys/sendfile.s 344 + sys/sendmsg_x.s 345 + sys/setaudit_addr.s 346 + sys/setauid.s 347 + sys/setegid.s 348 + sys/seteuid.s 349 + sys/setgid.s 350 + sys/setgroups.s 351 + sys/setitimer.s 352 + sys/setpgid.s 353 + sys/setprivexec.s 354 + sys/setquota.s 355 + sys/setsid.s 356 + sys/setsockopt.s 357 + sys/setuid.s 358 + sys/setxattr.s 359 + sys/shm_unlink.s 360 + sys/shmat.s 361 + sys/shmdt.s 362 + sys/shmget.s 363 + sys/shutdown.s 364 + sys/sigpending.s 365 + sys/sigprocmask.s 366 + sys/socket.s 367 + sys/socket_delegate.s 368 + sys/stat.s 369 + sys/stat64.s 370 + sys/statfs.s 371 + sys/statfs64.s 372 + sys/swapon.s 373 + sys/symlink.s 374 + sys/symlinkat.s 375 + sys/sync.s 376 + sys/system_override.s 377 + sys/truncate.s 378 + sys/umask.s 379 + sys/undelete.s 380 + sys/unmount.s 381 + sys/utimes.s 382 + sys/vfs_purge.s 383 + sys/vm_pressure_monitor.s 384 + sys/waitevent.s 385 + sys/waitid.s 386 + sys/watchevent.s 387 + sys/write.s 388 + sys/writev.s
+11
kernel/libsyscall/sys/swapon.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_swapon 5 + #error "SYS_swapon not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(swapon, swapon, 0, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/symlink.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_symlink 5 + #error "SYS_symlink not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(symlink, symlink, 2, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/symlinkat.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_symlinkat 5 + #error "SYS_symlinkat not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(symlinkat, symlinkat, 3, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/sync.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_sync 5 + #error "SYS_sync not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(sync, sync, 0, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/system_override.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_system_override 5 + #error "SYS_system_override not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(system_override, system_override, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/truncate.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_truncate 5 + #error "SYS_truncate not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(truncate, truncate, 2, cerror_nocancel) 10 + #endif 11 +
kernel/libsyscall/sys/truncate.o

This is a binary file and will not be displayed.

+11
kernel/libsyscall/sys/umask.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_umask 5 + #error "SYS_umask not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(umask, umask, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/undelete.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 4 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_undelete 5 + #error "SYS_undelete not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(undelete, undelete, 1, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/unmount.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_unmount 5 + #error "SYS_unmount not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(unmount, unmount, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/utimes.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_utimes 5 + #error "SYS_utimes not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(utimes, utimes, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/vfs_purge.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 0 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_vfs_purge 5 + #error "SYS_vfs_purge not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(vfs_purge, vfs_purge, 0, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/vm_pressure_monitor.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_vm_pressure_monitor 5 + #error "SYS_vm_pressure_monitor not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(vm_pressure_monitor, vm_pressure_monitor, 3, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/waitevent.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_waitevent 5 + #error "SYS_waitevent not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(waitevent, waitevent, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/waitid.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 16 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_waitid 5 + #error "SYS_waitid not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(waitid, waitid, 4, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/watchevent.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 8 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_watchevent 5 + #error "SYS_watchevent not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(watchevent, watchevent, 2, cerror_nocancel) 10 + #endif 11 +
+11
kernel/libsyscall/sys/write.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_write 5 + #error "SYS_write not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(write, write, 3, cerror) 10 + #endif 11 +
+11
kernel/libsyscall/sys/writev.S
··· 1 + #define __SYSCALL_32BIT_ARG_BYTES 12 2 + #include "SYS.h" 3 + 4 + #ifndef SYS_writev 5 + #error "SYS_writev not defined. The header files libsyscall is building against do not match syscalls.master." 6 + #endif 7 + 8 + #if defined(__x86_64__) 9 + __SYSCALL2(writev, writev, 3, cerror) 10 + #endif 11 +
+6 -4
kernel/libsyscall/xcodescripts/create-syscalls.pl
··· 1 1 #!/usr/bin/perl 2 + # Modified by Lubos Dolezel for Darling (remove 1 underscore from symbols) 2 3 # 3 4 # Copyright (c) 2006-2014 Apple Inc. All rights reserved. 4 5 # ··· 100 101 "quota" => { 101 102 c_sym => "quota", 102 103 syscall => "quota", 103 - asm_sym => "_quota", 104 + asm_sym => "quota", 104 105 is_private => undef, 105 106 is_custom => undef, 106 107 nargs => 4, ··· 110 111 "setquota" => { 111 112 c_sym => "setquota", 112 113 syscall => "setquota", 113 - asm_sym => "_setquota", 114 + asm_sym => "setquota", 114 115 is_private => undef, 115 116 is_custom => undef, 116 117 nargs => 2, ··· 120 121 "syscall" => { 121 122 c_sym => "syscall", 122 123 syscall => "syscall", 123 - asm_sym => "_syscall", 124 + asm_sym => "syscall", 124 125 is_private => undef, 125 126 is_custom => undef, 126 127 nargs => 0, ··· 217 218 $Symbols{$name} = { 218 219 c_sym => $name, 219 220 syscall => $name, 220 - asm_sym => $no_syscall_stub ? "___$name" : "_$name", 221 + asm_sym => $no_syscall_stub ? "__$name" : "$name", 221 222 is_private => $no_syscall_stub, 222 223 is_custom => undef, 223 224 nargs => $nargs, ··· 330 331 331 332 print $f "#define __SYSCALL_32BIT_ARG_BYTES $$symbol{bytes}\n"; 332 333 print $f "#include \"SYS.h\"\n\n"; 334 + 333 335 if (scalar(@conditions)) { 334 336 printf $f "#ifndef SYS_%s\n", $$symbol{syscall}; 335 337 printf $f "#error \"SYS_%s not defined. The header files libsyscall is building against do not match syscalls.master.\"\n", $$symbol{syscall};
+774
kernel/libsyscall/xcodescripts/syscalls.master
··· 1 + ; derived from: FreeBSD @(#)syscalls.master 8.2 (Berkeley) 1/13/94 2 + ; 3 + ; System call name/number master file. 4 + ; This is file processed by .../xnu/bsd/kern/makesyscalls.sh and creates: 5 + ; .../xnu/bsd/kern/init_sysent.c 6 + ; .../xnu/bsd/kern/syscalls.c 7 + ; .../xnu/bsd/sys/syscall.h 8 + ; .../xnu/bsd/sys/sysproto.h 9 + ; .../xnu/bsd/security/audit_syscalls.c 10 + 11 + ; Columns -> | Number Audit Files | { Name and Args } | { Comments } 12 + ; Number: system call number, must be in order 13 + ; Audit: the audit event associated with the system call 14 + ; A value of AUE_NULL means no auditing, but it also means that 15 + ; there is no audit event for the call at this time. For the 16 + ; case where the event exists, but we don't want auditing, the 17 + ; event should be #defined to AUE_NULL in audit_kevents.h. 18 + ; Files: with files to generate - "ALL" or any combo of: 19 + ; "T" for syscall table (in init_sysent.c) 20 + ; "N" for syscall names (in syscalls.c) 21 + ; "H" for syscall headers (in syscall.h) 22 + ; "P" for syscall prototypes (in sysproto.h) 23 + ; Name and Args: function prototype, optionally followed by 24 + ; NO_SYSCALL_STUB (which mean no system call stub will 25 + ; be generated in libSystem) and ending with a semicolon. 26 + ; (Note: functions prefixed by double-underbar are 27 + ; automatically given the NO_SYSCALL_STUB attribute.) 28 + ; Comments: additional comments about the sys call copied to output files 29 + 30 + ; #ifdef's, #include's, #if's etc. are copied to all output files. 31 + ; N.B.: makesyscalls.sh and createsyscalls.pl must be updated to account 32 + ; for any new argument types. 33 + 34 + ; If you add a new syscall number to the end of this file, you need to 35 + ; increment the value of NUM_SYSENT in bsd/sys/sysent.h. 36 + 37 + #include <sys/appleapiopts.h> 38 + #include <sys/param.h> 39 + #include <sys/systm.h> 40 + #include <sys/types.h> 41 + #include <sys/sysent.h> 42 + #include <sys/sysproto.h> 43 + 44 + 0 AUE_NULL ALL { int nosys(void); } { indirect syscall } 45 + 1 AUE_EXIT ALL { void exit(int rval) NO_SYSCALL_STUB; } 46 + 2 AUE_FORK ALL { int fork(void) NO_SYSCALL_STUB; } 47 + 3 AUE_NULL ALL { user_ssize_t read(int fd, user_addr_t cbuf, user_size_t nbyte); } 48 + 4 AUE_NULL ALL { user_ssize_t write(int fd, user_addr_t cbuf, user_size_t nbyte); } 49 + 5 AUE_OPEN_RWTC ALL { int open(user_addr_t path, int flags, int mode) NO_SYSCALL_STUB; } 50 + 6 AUE_CLOSE ALL { int close(int fd); } 51 + 7 AUE_WAIT4 ALL { int wait4(int pid, user_addr_t status, int options, user_addr_t rusage) NO_SYSCALL_STUB; } 52 + 8 AUE_NULL ALL { int enosys(void); } { old creat } 53 + 9 AUE_LINK ALL { int link(user_addr_t path, user_addr_t link); } 54 + 10 AUE_UNLINK ALL { int unlink(user_addr_t path) NO_SYSCALL_STUB; } 55 + 11 AUE_NULL ALL { int enosys(void); } { old execv } 56 + 12 AUE_CHDIR ALL { int chdir(user_addr_t path); } 57 + 13 AUE_FCHDIR ALL { int fchdir(int fd); } 58 + 14 AUE_MKNOD ALL { int mknod(user_addr_t path, int mode, int dev); } 59 + 15 AUE_CHMOD ALL { int chmod(user_addr_t path, int mode) NO_SYSCALL_STUB; } 60 + 16 AUE_CHOWN ALL { int chown(user_addr_t path, int uid, int gid); } 61 + 17 AUE_NULL ALL { int enosys(void); } { old break } 62 + 18 AUE_GETFSSTAT ALL { int getfsstat(user_addr_t buf, int bufsize, int flags); } 63 + 19 AUE_NULL ALL { int enosys(void); } { old lseek } 64 + 20 AUE_GETPID ALL { int getpid(void); } 65 + 21 AUE_NULL ALL { int enosys(void); } { old mount } 66 + 22 AUE_NULL ALL { int enosys(void); } { old umount } 67 + 23 AUE_SETUID ALL { int setuid(uid_t uid); } 68 + 24 AUE_GETUID ALL { int getuid(void); } 69 + 25 AUE_GETEUID ALL { int geteuid(void); } 70 + 26 AUE_PTRACE ALL { int ptrace(int req, pid_t pid, caddr_t addr, int data); } 71 + #if SOCKETS 72 + 27 AUE_RECVMSG ALL { int recvmsg(int s, struct msghdr *msg, int flags) NO_SYSCALL_STUB; } 73 + 28 AUE_SENDMSG ALL { int sendmsg(int s, caddr_t msg, int flags) NO_SYSCALL_STUB; } 74 + 29 AUE_RECVFROM ALL { int recvfrom(int s, void *buf, size_t len, int flags, struct sockaddr *from, int *fromlenaddr) NO_SYSCALL_STUB; } 75 + 30 AUE_ACCEPT ALL { int accept(int s, caddr_t name, socklen_t *anamelen) NO_SYSCALL_STUB; } 76 + 31 AUE_GETPEERNAME ALL { int getpeername(int fdes, caddr_t asa, socklen_t *alen) NO_SYSCALL_STUB; } 77 + 32 AUE_GETSOCKNAME ALL { int getsockname(int fdes, caddr_t asa, socklen_t *alen) NO_SYSCALL_STUB; } 78 + #else 79 + 27 AUE_NULL ALL { int nosys(void); } 80 + 28 AUE_NULL ALL { int nosys(void); } 81 + 29 AUE_NULL ALL { int nosys(void); } 82 + 30 AUE_NULL ALL { int nosys(void); } 83 + 31 AUE_NULL ALL { int nosys(void); } 84 + 32 AUE_NULL ALL { int nosys(void); } 85 + #endif /* SOCKETS */ 86 + 33 AUE_ACCESS ALL { int access(user_addr_t path, int flags); } 87 + 34 AUE_CHFLAGS ALL { int chflags(char *path, int flags); } 88 + 35 AUE_FCHFLAGS ALL { int fchflags(int fd, int flags); } 89 + 36 AUE_SYNC ALL { int sync(void); } 90 + 37 AUE_KILL ALL { int kill(int pid, int signum, int posix) NO_SYSCALL_STUB; } 91 + 38 AUE_NULL ALL { int nosys(void); } { old stat } 92 + 39 AUE_GETPPID ALL { int getppid(void); } 93 + 40 AUE_NULL ALL { int nosys(void); } { old lstat } 94 + 41 AUE_DUP ALL { int dup(u_int fd); } 95 + 42 AUE_PIPE ALL { int pipe(void); } 96 + 43 AUE_GETEGID ALL { int getegid(void); } 97 + 44 AUE_NULL ALL { int nosys(void); } { old profil } 98 + 45 AUE_NULL ALL { int nosys(void); } { old ktrace } 99 + 46 AUE_SIGACTION ALL { int sigaction(int signum, struct __sigaction *nsa, struct sigaction *osa) NO_SYSCALL_STUB; } 100 + 47 AUE_GETGID ALL { int getgid(void); } 101 + 48 AUE_SIGPROCMASK ALL { int sigprocmask(int how, user_addr_t mask, user_addr_t omask); } 102 + 49 AUE_GETLOGIN ALL { int getlogin(char *namebuf, u_int namelen) NO_SYSCALL_STUB; } 103 + 50 AUE_SETLOGIN ALL { int setlogin(char *namebuf) NO_SYSCALL_STUB; } 104 + 51 AUE_ACCT ALL { int acct(char *path); } 105 + 52 AUE_SIGPENDING ALL { int sigpending(struct sigvec *osv); } 106 + 53 AUE_SIGALTSTACK ALL { int sigaltstack(struct sigaltstack *nss, struct sigaltstack *oss) NO_SYSCALL_STUB ; } 107 + 54 AUE_IOCTL ALL { int ioctl(int fd, u_long com, caddr_t data) NO_SYSCALL_STUB; } 108 + 55 AUE_REBOOT ALL { int reboot(int opt, char *command); } 109 + 56 AUE_REVOKE ALL { int revoke(char *path); } 110 + 57 AUE_SYMLINK ALL { int symlink(char *path, char *link); } 111 + 58 AUE_READLINK ALL { int readlink(char *path, char *buf, int count); } 112 + 59 AUE_EXECVE ALL { int execve(char *fname, char **argp, char **envp); } 113 + 60 AUE_UMASK ALL { int umask(int newmask); } 114 + 61 AUE_CHROOT ALL { int chroot(user_addr_t path); } 115 + 62 AUE_NULL ALL { int nosys(void); } { old fstat } 116 + 63 AUE_NULL ALL { int nosys(void); } { used internally, reserved } 117 + 64 AUE_NULL ALL { int nosys(void); } { old getpagesize } 118 + 65 AUE_MSYNC ALL { int msync(caddr_t addr, size_t len, int flags) NO_SYSCALL_STUB; } 119 + 66 AUE_VFORK ALL { int vfork(void); } 120 + 67 AUE_NULL ALL { int nosys(void); } { old vread } 121 + 68 AUE_NULL ALL { int nosys(void); } { old vwrite } 122 + 69 AUE_NULL ALL { int nosys(void); } { old sbrk } 123 + 70 AUE_NULL ALL { int nosys(void); } { old sstk } 124 + 71 AUE_NULL ALL { int nosys(void); } { old mmap } 125 + 72 AUE_NULL ALL { int nosys(void); } { old vadvise } 126 + 73 AUE_MUNMAP ALL { int munmap(caddr_t addr, size_t len) NO_SYSCALL_STUB; } 127 + 74 AUE_MPROTECT ALL { int mprotect(caddr_t addr, size_t len, int prot) NO_SYSCALL_STUB; } 128 + 75 AUE_MADVISE ALL { int madvise(caddr_t addr, size_t len, int behav); } 129 + 76 AUE_NULL ALL { int nosys(void); } { old vhangup } 130 + 77 AUE_NULL ALL { int nosys(void); } { old vlimit } 131 + 78 AUE_MINCORE ALL { int mincore(user_addr_t addr, user_size_t len, user_addr_t vec); } 132 + 79 AUE_GETGROUPS ALL { int getgroups(u_int gidsetsize, gid_t *gidset); } 133 + 80 AUE_SETGROUPS ALL { int setgroups(u_int gidsetsize, gid_t *gidset); } 134 + 81 AUE_GETPGRP ALL { int getpgrp(void); } 135 + 82 AUE_SETPGRP ALL { int setpgid(int pid, int pgid); } 136 + 83 AUE_SETITIMER ALL { int setitimer(u_int which, struct itimerval *itv, struct itimerval *oitv); } 137 + 84 AUE_NULL ALL { int nosys(void); } { old wait } 138 + 85 AUE_SWAPON ALL { int swapon(void); } 139 + 86 AUE_GETITIMER ALL { int getitimer(u_int which, struct itimerval *itv); } 140 + 87 AUE_NULL ALL { int nosys(void); } { old gethostname } 141 + 88 AUE_NULL ALL { int nosys(void); } { old sethostname } 142 + 89 AUE_GETDTABLESIZE ALL { int getdtablesize(void); } 143 + 90 AUE_DUP2 ALL { int dup2(u_int from, u_int to); } 144 + 91 AUE_NULL ALL { int nosys(void); } { old getdopt } 145 + 92 AUE_FCNTL ALL { int fcntl(int fd, int cmd, long arg) NO_SYSCALL_STUB; } 146 + 93 AUE_SELECT ALL { int select(int nd, u_int32_t *in, u_int32_t *ou, u_int32_t *ex, struct timeval *tv) NO_SYSCALL_STUB; } 147 + 94 AUE_NULL ALL { int nosys(void); } { old setdopt } 148 + 95 AUE_FSYNC ALL { int fsync(int fd); } 149 + 96 AUE_SETPRIORITY ALL { int setpriority(int which, id_t who, int prio) NO_SYSCALL_STUB; } 150 + #if SOCKETS 151 + 97 AUE_SOCKET ALL { int socket(int domain, int type, int protocol); } 152 + 98 AUE_CONNECT ALL { int connect(int s, caddr_t name, socklen_t namelen) NO_SYSCALL_STUB; } 153 + #else 154 + 97 AUE_NULL ALL { int nosys(void); } 155 + 98 AUE_NULL ALL { int nosys(void); } 156 + #endif /* SOCKETS */ 157 + 99 AUE_NULL ALL { int nosys(void); } { old accept } 158 + 100 AUE_GETPRIORITY ALL { int getpriority(int which, id_t who); } 159 + 101 AUE_NULL ALL { int nosys(void); } { old send } 160 + 102 AUE_NULL ALL { int nosys(void); } { old recv } 161 + 103 AUE_NULL ALL { int nosys(void); } { old sigreturn } 162 + #if SOCKETS 163 + 104 AUE_BIND ALL { int bind(int s, caddr_t name, socklen_t namelen) NO_SYSCALL_STUB; } 164 + 105 AUE_SETSOCKOPT ALL { int setsockopt(int s, int level, int name, caddr_t val, socklen_t valsize); } 165 + 106 AUE_LISTEN ALL { int listen(int s, int backlog) NO_SYSCALL_STUB; } 166 + #else 167 + 104 AUE_NULL ALL { int nosys(void); } 168 + 105 AUE_NULL ALL { int nosys(void); } 169 + 106 AUE_NULL ALL { int nosys(void); } 170 + #endif /* SOCKETS */ 171 + 107 AUE_NULL ALL { int nosys(void); } { old vtimes } 172 + 108 AUE_NULL ALL { int nosys(void); } { old sigvec } 173 + 109 AUE_NULL ALL { int nosys(void); } { old sigblock } 174 + 110 AUE_NULL ALL { int nosys(void); } { old sigsetmask } 175 + 111 AUE_NULL ALL { int sigsuspend(sigset_t mask) NO_SYSCALL_STUB; } 176 + 112 AUE_NULL ALL { int nosys(void); } { old sigstack } 177 + #if SOCKETS 178 + 113 AUE_NULL ALL { int nosys(void); } { old recvmsg } 179 + 114 AUE_NULL ALL { int nosys(void); } { old sendmsg } 180 + #else 181 + 113 AUE_NULL ALL { int nosys(void); } 182 + 114 AUE_NULL ALL { int nosys(void); } 183 + #endif /* SOCKETS */ 184 + 115 AUE_NULL ALL { int nosys(void); } { old vtrace } 185 + 116 AUE_GETTIMEOFDAY ALL { int gettimeofday(struct timeval *tp, struct timezone *tzp) NO_SYSCALL_STUB; } 186 + 117 AUE_GETRUSAGE ALL { int getrusage(int who, struct rusage *rusage); } 187 + #if SOCKETS 188 + 118 AUE_GETSOCKOPT ALL { int getsockopt(int s, int level, int name, caddr_t val, socklen_t *avalsize); } 189 + #else 190 + 118 AUE_NULL ALL { int nosys(void); } 191 + #endif /* SOCKETS */ 192 + 119 AUE_NULL ALL { int nosys(void); } { old resuba } 193 + 120 AUE_READV ALL { user_ssize_t readv(int fd, struct iovec *iovp, u_int iovcnt); } 194 + 121 AUE_WRITEV ALL { user_ssize_t writev(int fd, struct iovec *iovp, u_int iovcnt); } 195 + 122 AUE_SETTIMEOFDAY ALL { int settimeofday(struct timeval *tv, struct timezone *tzp) NO_SYSCALL_STUB; } 196 + 123 AUE_FCHOWN ALL { int fchown(int fd, int uid, int gid); } 197 + 124 AUE_FCHMOD ALL { int fchmod(int fd, int mode) NO_SYSCALL_STUB; } 198 + 125 AUE_NULL ALL { int nosys(void); } { old recvfrom } 199 + 126 AUE_SETREUID ALL { int setreuid(uid_t ruid, uid_t euid) NO_SYSCALL_STUB; } 200 + 127 AUE_SETREGID ALL { int setregid(gid_t rgid, gid_t egid) NO_SYSCALL_STUB; } 201 + 128 AUE_RENAME ALL { int rename(char *from, char *to) NO_SYSCALL_STUB; } 202 + 129 AUE_NULL ALL { int nosys(void); } { old truncate } 203 + 130 AUE_NULL ALL { int nosys(void); } { old ftruncate } 204 + 131 AUE_FLOCK ALL { int flock(int fd, int how); } 205 + 132 AUE_MKFIFO ALL { int mkfifo(user_addr_t path, int mode); } 206 + #if SOCKETS 207 + 133 AUE_SENDTO ALL { int sendto(int s, caddr_t buf, size_t len, int flags, caddr_t to, socklen_t tolen) NO_SYSCALL_STUB; } 208 + 134 AUE_SHUTDOWN ALL { int shutdown(int s, int how); } 209 + 135 AUE_SOCKETPAIR ALL { int socketpair(int domain, int type, int protocol, int *rsv) NO_SYSCALL_STUB; } 210 + #else 211 + 133 AUE_NULL ALL { int nosys(void); } 212 + 134 AUE_NULL ALL { int nosys(void); } 213 + 135 AUE_NULL ALL { int nosys(void); } 214 + #endif /* SOCKETS */ 215 + 136 AUE_MKDIR ALL { int mkdir(user_addr_t path, int mode); } 216 + 137 AUE_RMDIR ALL { int rmdir(char *path) NO_SYSCALL_STUB; } 217 + 138 AUE_UTIMES ALL { int utimes(char *path, struct timeval *tptr); } 218 + 139 AUE_FUTIMES ALL { int futimes(int fd, struct timeval *tptr); } 219 + 140 AUE_ADJTIME ALL { int adjtime(struct timeval *delta, struct timeval *olddelta); } 220 + 141 AUE_NULL ALL { int nosys(void); } { old getpeername } 221 + 142 AUE_SYSCTL ALL { int gethostuuid(unsigned char *uuid_buf, const struct timespec *timeoutp, int spi) NO_SYSCALL_STUB; } 222 + 143 AUE_NULL ALL { int nosys(void); } { old sethostid } 223 + 144 AUE_NULL ALL { int nosys(void); } { old getrlimit } 224 + 145 AUE_NULL ALL { int nosys(void); } { old setrlimit } 225 + 146 AUE_NULL ALL { int nosys(void); } { old killpg } 226 + 147 AUE_SETSID ALL { int setsid(void); } 227 + 148 AUE_NULL ALL { int nosys(void); } { old setquota } 228 + 149 AUE_NULL ALL { int nosys(void); } { old qquota } 229 + 150 AUE_NULL ALL { int nosys(void); } { old getsockname } 230 + 151 AUE_GETPGID ALL { int getpgid(pid_t pid); } 231 + 152 AUE_SETPRIVEXEC ALL { int setprivexec(int flag); } 232 + 153 AUE_PREAD ALL { user_ssize_t pread(int fd, user_addr_t buf, user_size_t nbyte, off_t offset); } 233 + 154 AUE_PWRITE ALL { user_ssize_t pwrite(int fd, user_addr_t buf, user_size_t nbyte, off_t offset); } 234 + 235 + #if NFSSERVER 236 + 155 AUE_NFS_SVC ALL { int nfssvc(int flag, caddr_t argp); } 237 + #else 238 + 155 AUE_NULL ALL { int nosys(void); } 239 + #endif 240 + 241 + 156 AUE_NULL ALL { int nosys(void); } { old getdirentries } 242 + 157 AUE_STATFS ALL { int statfs(char *path, struct statfs *buf); } 243 + 158 AUE_FSTATFS ALL { int fstatfs(int fd, struct statfs *buf); } 244 + 159 AUE_UNMOUNT ALL { int unmount(user_addr_t path, int flags); } 245 + 160 AUE_NULL ALL { int nosys(void); } { old async_daemon } 246 + 247 + #if NFSSERVER 248 + 161 AUE_NFS_GETFH ALL { int getfh(char *fname, fhandle_t *fhp); } 249 + #else 250 + 161 AUE_NULL ALL { int nosys(void); } 251 + #endif 252 + 253 + 162 AUE_NULL ALL { int nosys(void); } { old getdomainname } 254 + 163 AUE_NULL ALL { int nosys(void); } { old setdomainname } 255 + 164 AUE_NULL ALL { int nosys(void); } 256 + 165 AUE_QUOTACTL ALL { int quotactl(const char *path, int cmd, int uid, caddr_t arg); } 257 + 166 AUE_NULL ALL { int nosys(void); } { old exportfs } 258 + 167 AUE_MOUNT ALL { int mount(char *type, char *path, int flags, caddr_t data); } 259 + 168 AUE_NULL ALL { int nosys(void); } { old ustat } 260 + 169 AUE_CSOPS ALL { int csops(pid_t pid, uint32_t ops, user_addr_t useraddr, user_size_t usersize); } 261 + 170 AUE_CSOPS ALL { int csops_audittoken(pid_t pid, uint32_t ops, user_addr_t useraddr, user_size_t usersize, user_addr_t uaudittoken); } 262 + 171 AUE_NULL ALL { int nosys(void); } { old wait3 } 263 + 172 AUE_NULL ALL { int nosys(void); } { old rpause } 264 + 173 AUE_WAITID ALL { int waitid(idtype_t idtype, id_t id, siginfo_t *infop, int options); } 265 + 174 AUE_NULL ALL { int nosys(void); } { old getdents } 266 + 175 AUE_NULL ALL { int nosys(void); } { old gc_control } 267 + 176 AUE_NULL ALL { int nosys(void); } { old add_profil } 268 + 177 AUE_NULL ALL { int nosys(void); } 269 + 178 AUE_NULL ALL { int nosys(void); } 270 + 179 AUE_NULL ALL { int nosys(void); } 271 + 180 AUE_KDEBUGTRACE ALL { int kdebug_trace(int code, int arg1, int arg2, int arg3, int arg4, int arg5) NO_SYSCALL_STUB; } 272 + 181 AUE_SETGID ALL { int setgid(gid_t gid); } 273 + 182 AUE_SETEGID ALL { int setegid(gid_t egid); } 274 + 183 AUE_SETEUID ALL { int seteuid(uid_t euid); } 275 + 184 AUE_SIGRETURN ALL { int sigreturn(struct ucontext *uctx, int infostyle) NO_SYSCALL_STUB; } 276 + 185 AUE_CHUD ALL { int chud(uint64_t code, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5) NO_SYSCALL_STUB; } 277 + 186 AUE_NULL ALL { int nosys(void); } 278 + 187 AUE_FDATASYNC ALL { int fdatasync(int fd); } 279 + 188 AUE_STAT ALL { int stat(user_addr_t path, user_addr_t ub); } 280 + 189 AUE_FSTAT ALL { int fstat(int fd, user_addr_t ub); } 281 + 190 AUE_LSTAT ALL { int lstat(user_addr_t path, user_addr_t ub); } 282 + 191 AUE_PATHCONF ALL { int pathconf(char *path, int name); } 283 + 192 AUE_FPATHCONF ALL { int fpathconf(int fd, int name); } 284 + 193 AUE_NULL ALL { int nosys(void); } 285 + 194 AUE_GETRLIMIT ALL { int getrlimit(u_int which, struct rlimit *rlp) NO_SYSCALL_STUB; } 286 + 195 AUE_SETRLIMIT ALL { int setrlimit(u_int which, struct rlimit *rlp) NO_SYSCALL_STUB; } 287 + 196 AUE_GETDIRENTRIES ALL { int getdirentries(int fd, char *buf, u_int count, long *basep); } 288 + 197 AUE_MMAP ALL { user_addr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fd, off_t pos) NO_SYSCALL_STUB; } 289 + 198 AUE_NULL ALL { int nosys(void); } { __syscall } 290 + 199 AUE_LSEEK ALL { off_t lseek(int fd, off_t offset, int whence); } 291 + 200 AUE_TRUNCATE ALL { int truncate(char *path, off_t length); } 292 + 201 AUE_FTRUNCATE ALL { int ftruncate(int fd, off_t length); } 293 + 202 AUE_SYSCTL ALL { int sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen) NO_SYSCALL_STUB; } 294 + 203 AUE_MLOCK ALL { int mlock(caddr_t addr, size_t len); } 295 + 204 AUE_MUNLOCK ALL { int munlock(caddr_t addr, size_t len); } 296 + 205 AUE_UNDELETE ALL { int undelete(user_addr_t path); } 297 + 298 + 206 AUE_NULL ALL { int nosys(void); } { old ATsocket } 299 + 207 AUE_NULL ALL { int nosys(void); } { old ATgetmsg } 300 + 208 AUE_NULL ALL { int nosys(void); } { old ATputmsg } 301 + 209 AUE_NULL ALL { int nosys(void); } { old ATsndreq } 302 + 210 AUE_NULL ALL { int nosys(void); } { old ATsndrsp } 303 + 211 AUE_NULL ALL { int nosys(void); } { old ATgetreq } 304 + 212 AUE_NULL ALL { int nosys(void); } { old ATgetrsp } 305 + 213 AUE_NULL ALL { int nosys(void); } { Reserved for AppleTalk } 306 + 307 + 214 AUE_NULL ALL { int nosys(void); } 308 + 215 AUE_NULL ALL { int nosys(void); } 309 + 310 + ; System Calls 216 - 230 are reserved for calls to support HFS/HFS Plus 311 + ; file system semantics. Currently, we only use 215-227. The rest is 312 + ; for future expansion in anticipation of new MacOS APIs for HFS Plus. 313 + ; These calls are not conditionalized because while they are specific 314 + ; to HFS semantics, they are not specific to the HFS filesystem. 315 + ; We expect all filesystems to recognize the call and report that it is 316 + ; not supported or to actually implement it. 317 + 318 + ; 216-> 219 used to be mkcomplex and {f,l}statv variants. They are gone now. 319 + 216 AUE_NULL ALL { int open_dprotected_np(user_addr_t path, int flags, int class, int dpflags, int mode) NO_SYSCALL_STUB; } 320 + 217 AUE_NULL ALL { int nosys(void); } 321 + 218 AUE_NULL ALL { int nosys(void); } 322 + 219 AUE_NULL ALL { int nosys(void); } 323 + 220 AUE_GETATTRLIST ALL { int getattrlist(const char *path, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options) NO_SYSCALL_STUB; } 324 + 221 AUE_SETATTRLIST ALL { int setattrlist(const char *path, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options) NO_SYSCALL_STUB; } 325 + 222 AUE_GETDIRENTRIESATTR ALL { int getdirentriesattr(int fd, struct attrlist *alist, void *buffer, size_t buffersize, u_long *count, u_long *basep, u_long *newstate, u_long options); } 326 + 223 AUE_EXCHANGEDATA ALL { int exchangedata(const char *path1, const char *path2, u_long options); } 327 + 224 AUE_NULL ALL { int nosys(void); } { old checkuseraccess / fsgetpath (which moved to 427) } 328 + 225 AUE_SEARCHFS ALL { int searchfs(const char *path, struct fssearchblock *searchblock, uint32_t *nummatches, uint32_t scriptcode, uint32_t options, struct searchstate *state); } 329 + 226 AUE_DELETE ALL { int delete(user_addr_t path) NO_SYSCALL_STUB; } { private delete (Carbon semantics) } 330 + 227 AUE_COPYFILE ALL { int copyfile(char *from, char *to, int mode, int flags) NO_SYSCALL_STUB; } 331 + 228 AUE_FGETATTRLIST ALL { int fgetattrlist(int fd, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options); } 332 + 229 AUE_FSETATTRLIST ALL { int fsetattrlist(int fd, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options); } 333 + 230 AUE_POLL ALL { int poll(struct pollfd *fds, u_int nfds, int timeout); } 334 + 231 AUE_WATCHEVENT ALL { int watchevent(struct eventreq *u_req, int u_eventmask); } 335 + 232 AUE_WAITEVENT ALL { int waitevent(struct eventreq *u_req, struct timeval *tv); } 336 + 233 AUE_MODWATCH ALL { int modwatch(struct eventreq *u_req, int u_eventmask); } 337 + 234 AUE_GETXATTR ALL { user_ssize_t getxattr(user_addr_t path, user_addr_t attrname, user_addr_t value, size_t size, uint32_t position, int options); } 338 + 235 AUE_FGETXATTR ALL { user_ssize_t fgetxattr(int fd, user_addr_t attrname, user_addr_t value, size_t size, uint32_t position, int options); } 339 + 236 AUE_SETXATTR ALL { int setxattr(user_addr_t path, user_addr_t attrname, user_addr_t value, size_t size, uint32_t position, int options); } 340 + 237 AUE_FSETXATTR ALL { int fsetxattr(int fd, user_addr_t attrname, user_addr_t value, size_t size, uint32_t position, int options); } 341 + 238 AUE_REMOVEXATTR ALL { int removexattr(user_addr_t path, user_addr_t attrname, int options); } 342 + 239 AUE_FREMOVEXATTR ALL { int fremovexattr(int fd, user_addr_t attrname, int options); } 343 + 240 AUE_LISTXATTR ALL { user_ssize_t listxattr(user_addr_t path, user_addr_t namebuf, size_t bufsize, int options); } 344 + 241 AUE_FLISTXATTR ALL { user_ssize_t flistxattr(int fd, user_addr_t namebuf, size_t bufsize, int options); } 345 + 242 AUE_FSCTL ALL { int fsctl(const char *path, u_long cmd, caddr_t data, u_int options); } 346 + 243 AUE_INITGROUPS ALL { int initgroups(u_int gidsetsize, gid_t *gidset, int gmuid) NO_SYSCALL_STUB; } 347 + 244 AUE_POSIX_SPAWN ALL { int posix_spawn(pid_t *pid, const char *path, const struct _posix_spawn_args_desc *adesc, char **argv, char **envp) NO_SYSCALL_STUB; } 348 + 245 AUE_FFSCTL ALL { int ffsctl(int fd, u_long cmd, caddr_t data, u_int options); } 349 + 246 AUE_NULL ALL { int nosys(void); } 350 + 351 + #if NFSCLIENT 352 + 247 AUE_NULL ALL { int nfsclnt(int flag, caddr_t argp); } 353 + #else 354 + 247 AUE_NULL ALL { int nosys(void); } 355 + #endif 356 + #if NFSSERVER 357 + 248 AUE_FHOPEN ALL { int fhopen(const struct fhandle *u_fhp, int flags); } 358 + #else 359 + 248 AUE_NULL ALL { int nosys(void); } 360 + #endif 361 + 362 + 249 AUE_NULL ALL { int nosys(void); } 363 + 250 AUE_MINHERIT ALL { int minherit(void *addr, size_t len, int inherit); } 364 + #if SYSV_SEM 365 + 251 AUE_SEMSYS ALL { int semsys(u_int which, int a2, int a3, int a4, int a5) NO_SYSCALL_STUB; } 366 + #else 367 + 251 AUE_NULL ALL { int nosys(void); } 368 + #endif 369 + #if SYSV_MSG 370 + 252 AUE_MSGSYS ALL { int msgsys(u_int which, int a2, int a3, int a4, int a5) NO_SYSCALL_STUB; } 371 + #else 372 + 252 AUE_NULL ALL { int nosys(void); } 373 + #endif 374 + #if SYSV_SHM 375 + 253 AUE_SHMSYS ALL { int shmsys(u_int which, int a2, int a3, int a4) NO_SYSCALL_STUB; } 376 + #else 377 + 253 AUE_NULL ALL { int nosys(void); } 378 + #endif 379 + #if SYSV_SEM 380 + 254 AUE_SEMCTL ALL { int semctl(int semid, int semnum, int cmd, semun_t arg) NO_SYSCALL_STUB; } 381 + 255 AUE_SEMGET ALL { int semget(key_t key, int nsems, int semflg); } 382 + 256 AUE_SEMOP ALL { int semop(int semid, struct sembuf *sops, int nsops); } 383 + 257 AUE_NULL ALL { int nosys(void); } 384 + #else 385 + 254 AUE_NULL ALL { int nosys(void); } 386 + 255 AUE_NULL ALL { int nosys(void); } 387 + 256 AUE_NULL ALL { int nosys(void); } 388 + 257 AUE_NULL ALL { int nosys(void); } 389 + #endif 390 + #if SYSV_MSG 391 + 258 AUE_MSGCTL ALL { int msgctl(int msqid, int cmd, struct msqid_ds *buf) NO_SYSCALL_STUB; } 392 + 259 AUE_MSGGET ALL { int msgget(key_t key, int msgflg); } 393 + 260 AUE_MSGSND ALL { int msgsnd(int msqid, void *msgp, size_t msgsz, int msgflg); } 394 + 261 AUE_MSGRCV ALL { user_ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); } 395 + #else 396 + 258 AUE_NULL ALL { int nosys(void); } 397 + 259 AUE_NULL ALL { int nosys(void); } 398 + 260 AUE_NULL ALL { int nosys(void); } 399 + 261 AUE_NULL ALL { int nosys(void); } 400 + #endif 401 + #if SYSV_SHM 402 + 262 AUE_SHMAT ALL { user_addr_t shmat(int shmid, void *shmaddr, int shmflg); } 403 + 263 AUE_SHMCTL ALL { int shmctl(int shmid, int cmd, struct shmid_ds *buf) NO_SYSCALL_STUB; } 404 + 264 AUE_SHMDT ALL { int shmdt(void *shmaddr); } 405 + 265 AUE_SHMGET ALL { int shmget(key_t key, size_t size, int shmflg); } 406 + #else 407 + 262 AUE_NULL ALL { int nosys(void); } 408 + 263 AUE_NULL ALL { int nosys(void); } 409 + 264 AUE_NULL ALL { int nosys(void); } 410 + 265 AUE_NULL ALL { int nosys(void); } 411 + #endif 412 + 266 AUE_SHMOPEN ALL { int shm_open(const char *name, int oflag, int mode) NO_SYSCALL_STUB; } 413 + 267 AUE_SHMUNLINK ALL { int shm_unlink(const char *name); } 414 + 268 AUE_SEMOPEN ALL { user_addr_t sem_open(const char *name, int oflag, int mode, int value) NO_SYSCALL_STUB; } 415 + 269 AUE_SEMCLOSE ALL { int sem_close(sem_t *sem); } 416 + 270 AUE_SEMUNLINK ALL { int sem_unlink(const char *name); } 417 + 271 AUE_SEMWAIT ALL { int sem_wait(sem_t *sem); } 418 + 272 AUE_SEMTRYWAIT ALL { int sem_trywait(sem_t *sem); } 419 + 273 AUE_SEMPOST ALL { int sem_post(sem_t *sem); } 420 + 274 AUE_SYSCTL ALL { int sysctlbyname(const char *name, size_t namelen, void *old, size_t *oldlenp, void *new, size_t newlen) NO_SYSCALL_STUB; } 421 + 275 AUE_NULL ALL { int enosys(void); } { old sem_init } 422 + 276 AUE_NULL ALL { int enosys(void); } { old sem_destroy } 423 + 277 AUE_OPEN_EXTENDED_RWTC ALL { int open_extended(user_addr_t path, int flags, uid_t uid, gid_t gid, int mode, user_addr_t xsecurity) NO_SYSCALL_STUB; } 424 + 278 AUE_UMASK_EXTENDED ALL { int umask_extended(int newmask, user_addr_t xsecurity) NO_SYSCALL_STUB; } 425 + 279 AUE_STAT_EXTENDED ALL { int stat_extended(user_addr_t path, user_addr_t ub, user_addr_t xsecurity, user_addr_t xsecurity_size) NO_SYSCALL_STUB; } 426 + 280 AUE_LSTAT_EXTENDED ALL { int lstat_extended(user_addr_t path, user_addr_t ub, user_addr_t xsecurity, user_addr_t xsecurity_size) NO_SYSCALL_STUB; } 427 + 281 AUE_FSTAT_EXTENDED ALL { int fstat_extended(int fd, user_addr_t ub, user_addr_t xsecurity, user_addr_t xsecurity_size) NO_SYSCALL_STUB; } 428 + 282 AUE_CHMOD_EXTENDED ALL { int chmod_extended(user_addr_t path, uid_t uid, gid_t gid, int mode, user_addr_t xsecurity) NO_SYSCALL_STUB; } 429 + 283 AUE_FCHMOD_EXTENDED ALL { int fchmod_extended(int fd, uid_t uid, gid_t gid, int mode, user_addr_t xsecurity) NO_SYSCALL_STUB; } 430 + 284 AUE_ACCESS_EXTENDED ALL { int access_extended(user_addr_t entries, size_t size, user_addr_t results, uid_t uid) NO_SYSCALL_STUB; } 431 + 285 AUE_SETTID ALL { int settid(uid_t uid, gid_t gid) NO_SYSCALL_STUB; } 432 + 286 AUE_GETTID ALL { int gettid(uid_t *uidp, gid_t *gidp) NO_SYSCALL_STUB; } 433 + 287 AUE_SETSGROUPS ALL { int setsgroups(int setlen, user_addr_t guidset) NO_SYSCALL_STUB; } 434 + 288 AUE_GETSGROUPS ALL { int getsgroups(user_addr_t setlen, user_addr_t guidset) NO_SYSCALL_STUB; } 435 + 289 AUE_SETWGROUPS ALL { int setwgroups(int setlen, user_addr_t guidset) NO_SYSCALL_STUB; } 436 + 290 AUE_GETWGROUPS ALL { int getwgroups(user_addr_t setlen, user_addr_t guidset) NO_SYSCALL_STUB; } 437 + 291 AUE_MKFIFO_EXTENDED ALL { int mkfifo_extended(user_addr_t path, uid_t uid, gid_t gid, int mode, user_addr_t xsecurity) NO_SYSCALL_STUB; } 438 + 292 AUE_MKDIR_EXTENDED ALL { int mkdir_extended(user_addr_t path, uid_t uid, gid_t gid, int mode, user_addr_t xsecurity) NO_SYSCALL_STUB; } 439 + #if CONFIG_EXT_RESOLVER 440 + 293 AUE_IDENTITYSVC ALL { int identitysvc(int opcode, user_addr_t message) NO_SYSCALL_STUB; } 441 + #else 442 + 293 AUE_NULL ALL { int nosys(void); } 443 + #endif 444 + 294 AUE_NULL ALL { int shared_region_check_np(uint64_t *start_address) NO_SYSCALL_STUB; } 445 + 295 AUE_NULL ALL { int nosys(void); } { old shared_region_map_np } 446 + 296 AUE_NULL ALL { int vm_pressure_monitor(int wait_for_pressure, int nsecs_monitored, uint32_t *pages_reclaimed); } 447 + #if PSYNCH 448 + 297 AUE_NULL ALL { uint32_t psynch_rw_longrdlock(user_addr_t rwlock, uint32_t lgenval, uint32_t ugenval, uint32_t rw_wc, int flags) NO_SYSCALL_STUB; } 449 + 298 AUE_NULL ALL { uint32_t psynch_rw_yieldwrlock(user_addr_t rwlock, uint32_t lgenval, uint32_t ugenval, uint32_t rw_wc, int flags) NO_SYSCALL_STUB; } 450 + 299 AUE_NULL ALL { int psynch_rw_downgrade(user_addr_t rwlock, uint32_t lgenval, uint32_t ugenval, uint32_t rw_wc, int flags) NO_SYSCALL_STUB; } 451 + 300 AUE_NULL ALL { uint32_t psynch_rw_upgrade(user_addr_t rwlock, uint32_t lgenval, uint32_t ugenval, uint32_t rw_wc, int flags) NO_SYSCALL_STUB; } 452 + 301 AUE_NULL ALL { uint32_t psynch_mutexwait(user_addr_t mutex, uint32_t mgen, uint32_t ugen, uint64_t tid, uint32_t flags) NO_SYSCALL_STUB; } 453 + 302 AUE_NULL ALL { uint32_t psynch_mutexdrop(user_addr_t mutex, uint32_t mgen, uint32_t ugen, uint64_t tid, uint32_t flags) NO_SYSCALL_STUB; } 454 + 303 AUE_NULL ALL { uint32_t psynch_cvbroad(user_addr_t cv, uint64_t cvlsgen, uint64_t cvudgen, uint32_t flags, user_addr_t mutex, uint64_t mugen, uint64_t tid) NO_SYSCALL_STUB; } 455 + 304 AUE_NULL ALL { uint32_t psynch_cvsignal(user_addr_t cv, uint64_t cvlsgen, uint32_t cvugen, int thread_port, user_addr_t mutex, uint64_t mugen, uint64_t tid, uint32_t flags) NO_SYSCALL_STUB; } 456 + 305 AUE_NULL ALL { uint32_t psynch_cvwait(user_addr_t cv, uint64_t cvlsgen, uint32_t cvugen, user_addr_t mutex, uint64_t mugen, uint32_t flags, int64_t sec, uint32_t nsec) NO_SYSCALL_STUB; } 457 + 306 AUE_NULL ALL { uint32_t psynch_rw_rdlock(user_addr_t rwlock, uint32_t lgenval, uint32_t ugenval, uint32_t rw_wc, int flags) NO_SYSCALL_STUB; } 458 + 307 AUE_NULL ALL { uint32_t psynch_rw_wrlock(user_addr_t rwlock, uint32_t lgenval, uint32_t ugenval, uint32_t rw_wc, int flags) NO_SYSCALL_STUB; } 459 + 308 AUE_NULL ALL { uint32_t psynch_rw_unlock(user_addr_t rwlock, uint32_t lgenval, uint32_t ugenval, uint32_t rw_wc, int flags) NO_SYSCALL_STUB; } 460 + 309 AUE_NULL ALL { uint32_t psynch_rw_unlock2(user_addr_t rwlock, uint32_t lgenval, uint32_t ugenval, uint32_t rw_wc, int flags) NO_SYSCALL_STUB; } 461 + #else 462 + 297 AUE_NULL ALL { int nosys(void); } { old reset_shared_file } 463 + 298 AUE_NULL ALL { int nosys(void); } { old new_system_shared_regions } 464 + 299 AUE_NULL ALL { int enosys(void); } { old shared_region_map_file_np } 465 + 300 AUE_NULL ALL { int enosys(void); } { old shared_region_make_private_np } 466 + 301 AUE_NULL ALL { int nosys(void); } 467 + 302 AUE_NULL ALL { int nosys(void); } 468 + 303 AUE_NULL ALL { int nosys(void); } 469 + 304 AUE_NULL ALL { int nosys(void); } 470 + 305 AUE_NULL ALL { int nosys(void); } 471 + 306 AUE_NULL ALL { int nosys(void); } 472 + 307 AUE_NULL ALL { int nosys(void); } 473 + 308 AUE_NULL ALL { int nosys(void); } 474 + 309 AUE_NULL ALL { int nosys(void); } 475 + #endif 476 + 310 AUE_GETSID ALL { int getsid(pid_t pid); } 477 + 311 AUE_SETTIDWITHPID ALL { int settid_with_pid(pid_t pid, int assume) NO_SYSCALL_STUB; } 478 + #if PSYNCH 479 + 312 AUE_NULL ALL { int psynch_cvclrprepost(user_addr_t cv, uint32_t cvgen, uint32_t cvugen, uint32_t cvsgen, uint32_t prepocnt, uint32_t preposeq, uint32_t flags) NO_SYSCALL_STUB; } 480 + #else 481 + 312 AUE_NULL ALL { int nosys(void); } { old __pthread_cond_timedwait } 482 + #endif 483 + 313 AUE_NULL ALL { int aio_fsync(int op, user_addr_t aiocbp); } 484 + 314 AUE_NULL ALL { user_ssize_t aio_return(user_addr_t aiocbp); } 485 + 315 AUE_NULL ALL { int aio_suspend(user_addr_t aiocblist, int nent, user_addr_t timeoutp); } 486 + 316 AUE_NULL ALL { int aio_cancel(int fd, user_addr_t aiocbp); } 487 + 317 AUE_NULL ALL { int aio_error(user_addr_t aiocbp); } 488 + 318 AUE_NULL ALL { int aio_read(user_addr_t aiocbp); } 489 + 319 AUE_NULL ALL { int aio_write(user_addr_t aiocbp); } 490 + 320 AUE_LIOLISTIO ALL { int lio_listio(int mode, user_addr_t aiocblist, int nent, user_addr_t sigp); } 491 + 321 AUE_NULL ALL { int nosys(void); } { old __pthread_cond_wait } 492 + 322 AUE_IOPOLICYSYS ALL { int iopolicysys(int cmd, void *arg) NO_SYSCALL_STUB; } 493 + 323 AUE_NULL ALL { int process_policy(int scope, int action, int policy, int policy_subtype, user_addr_t attrp, pid_t target_pid, uint64_t target_threadid) NO_SYSCALL_STUB; } 494 + 324 AUE_MLOCKALL ALL { int mlockall(int how); } 495 + 325 AUE_MUNLOCKALL ALL { int munlockall(int how); } 496 + 326 AUE_NULL ALL { int nosys(void); } 497 + 327 AUE_ISSETUGID ALL { int issetugid(void); } 498 + 328 AUE_PTHREADKILL ALL { int __pthread_kill(int thread_port, int sig); } 499 + 329 AUE_PTHREADSIGMASK ALL { int __pthread_sigmask(int how, user_addr_t set, user_addr_t oset); } 500 + 330 AUE_SIGWAIT ALL { int __sigwait(user_addr_t set, user_addr_t sig); } 501 + 331 AUE_NULL ALL { int __disable_threadsignal(int value); } 502 + 332 AUE_NULL ALL { int __pthread_markcancel(int thread_port); } 503 + 333 AUE_NULL ALL { int __pthread_canceled(int action); } 504 + 505 + ;#if OLD_SEMWAIT_SIGNAL 506 + ;334 AUE_NULL ALL { int nosys(void); } { old __semwait_signal } 507 + ;#else 508 + 334 AUE_SEMWAITSIGNAL ALL { int __semwait_signal(int cond_sem, int mutex_sem, int timeout, int relative, int64_t tv_sec, int32_t tv_nsec); } 509 + ;#endif 510 + 511 + 335 AUE_NULL ALL { int nosys(void); } { old utrace } 512 + 336 AUE_PROCINFO ALL { int proc_info(int32_t callnum,int32_t pid,uint32_t flavor, uint64_t arg,user_addr_t buffer,int32_t buffersize) NO_SYSCALL_STUB; } 513 + #if SENDFILE 514 + 337 AUE_SENDFILE ALL { int sendfile(int fd, int s, off_t offset, off_t *nbytes, struct sf_hdtr *hdtr, int flags); } 515 + #else /* !SENDFILE */ 516 + 337 AUE_NULL ALL { int nosys(void); } 517 + #endif /* SENDFILE */ 518 + 338 AUE_STAT64 ALL { int stat64(user_addr_t path, user_addr_t ub); } 519 + 339 AUE_FSTAT64 ALL { int fstat64(int fd, user_addr_t ub); } 520 + 340 AUE_LSTAT64 ALL { int lstat64(user_addr_t path, user_addr_t ub); } 521 + 341 AUE_STAT64_EXTENDED ALL { int stat64_extended(user_addr_t path, user_addr_t ub, user_addr_t xsecurity, user_addr_t xsecurity_size) NO_SYSCALL_STUB; } 522 + 342 AUE_LSTAT64_EXTENDED ALL { int lstat64_extended(user_addr_t path, user_addr_t ub, user_addr_t xsecurity, user_addr_t xsecurity_size) NO_SYSCALL_STUB; } 523 + 343 AUE_FSTAT64_EXTENDED ALL { int fstat64_extended(int fd, user_addr_t ub, user_addr_t xsecurity, user_addr_t xsecurity_size) NO_SYSCALL_STUB; } 524 + 344 AUE_GETDIRENTRIES64 ALL { user_ssize_t getdirentries64(int fd, void *buf, user_size_t bufsize, off_t *position) NO_SYSCALL_STUB; } 525 + 345 AUE_STATFS64 ALL { int statfs64(char *path, struct statfs64 *buf); } 526 + 346 AUE_FSTATFS64 ALL { int fstatfs64(int fd, struct statfs64 *buf); } 527 + 347 AUE_GETFSSTAT64 ALL { int getfsstat64(user_addr_t buf, int bufsize, int flags); } 528 + 348 AUE_NULL ALL { int __pthread_chdir(user_addr_t path); } 529 + 349 AUE_NULL ALL { int __pthread_fchdir(int fd); } 530 + 350 AUE_AUDIT ALL { int audit(void *record, int length); } 531 + 351 AUE_AUDITON ALL { int auditon(int cmd, void *data, int length); } 532 + 352 AUE_NULL ALL { int nosys(void); } 533 + 353 AUE_GETAUID ALL { int getauid(au_id_t *auid); } 534 + 354 AUE_SETAUID ALL { int setauid(au_id_t *auid); } 535 + 355 AUE_NULL ALL { int nosys(void); } { old getaudit } 536 + 356 AUE_NULL ALL { int nosys(void); } { old setaudit } 537 + 357 AUE_GETAUDIT_ADDR ALL { int getaudit_addr(struct auditinfo_addr *auditinfo_addr, int length); } 538 + 358 AUE_SETAUDIT_ADDR ALL { int setaudit_addr(struct auditinfo_addr *auditinfo_addr, int length); } 539 + 359 AUE_AUDITCTL ALL { int auditctl(char *path); } 540 + #if CONFIG_WORKQUEUE 541 + 360 AUE_NULL ALL { user_addr_t bsdthread_create(user_addr_t func, user_addr_t func_arg, user_addr_t stack, user_addr_t pthread, uint32_t flags) NO_SYSCALL_STUB; } 542 + 361 AUE_NULL ALL { int bsdthread_terminate(user_addr_t stackaddr, size_t freesize, uint32_t port, uint32_t sem) NO_SYSCALL_STUB; } 543 + #else 544 + 360 AUE_NULL ALL { int nosys(void); } 545 + 361 AUE_NULL ALL { int nosys(void); } 546 + #endif /* CONFIG_WORKQUEUE */ 547 + 362 AUE_KQUEUE ALL { int kqueue(void); } 548 + 363 AUE_NULL ALL { int kevent(int fd, const struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); } 549 + 364 AUE_LCHOWN ALL { int lchown(user_addr_t path, uid_t owner, gid_t group) NO_SYSCALL_STUB; } 550 + 365 AUE_STACKSNAPSHOT ALL { int stack_snapshot(pid_t pid, user_addr_t tracebuf, uint32_t tracebuf_size, uint32_t flags, uint32_t dispatch_offset) NO_SYSCALL_STUB; } 551 + #if CONFIG_WORKQUEUE 552 + 366 AUE_NULL ALL { int bsdthread_register(user_addr_t threadstart, user_addr_t wqthread, uint32_t flags, user_addr_t stack_addr_hint, user_addr_t targetconc_ptr, uint32_t dispatchqueue_offset, uint32_t tsd_offset) NO_SYSCALL_STUB; } 553 + 367 AUE_WORKQOPEN ALL { int workq_open(void) NO_SYSCALL_STUB; } 554 + 368 AUE_WORKQOPS ALL { int workq_kernreturn(int options, user_addr_t item, int affinity, int prio) NO_SYSCALL_STUB; } 555 + #else 556 + 366 AUE_NULL ALL { int nosys(void); } 557 + 367 AUE_NULL ALL { int nosys(void); } 558 + 368 AUE_NULL ALL { int nosys(void); } 559 + #endif /* CONFIG_WORKQUEUE */ 560 + 369 AUE_NULL ALL { int kevent64(int fd, const struct kevent64_s *changelist, int nchanges, struct kevent64_s *eventlist, int nevents, unsigned int flags, const struct timespec *timeout); } 561 + #if OLD_SEMWAIT_SIGNAL 562 + 370 AUE_SEMWAITSIGNAL ALL { int __old_semwait_signal(int cond_sem, int mutex_sem, int timeout, int relative, const struct timespec *ts); } 563 + 371 AUE_SEMWAITSIGNAL ALL { int __old_semwait_signal_nocancel(int cond_sem, int mutex_sem, int timeout, int relative, const struct timespec *ts) NO_SYSCALL_STUB; } 564 + #else 565 + 370 AUE_NULL ALL { int nosys(void); } { old __semwait_signal } 566 + 371 AUE_NULL ALL { int nosys(void); } { old __semwait_signal } 567 + #endif 568 + 372 AUE_NULL ALL { uint64_t thread_selfid (void) NO_SYSCALL_STUB; } 569 + 373 AUE_LEDGER ALL { int ledger(int cmd, caddr_t arg1, caddr_t arg2, caddr_t arg3); } 570 + 374 AUE_NULL ALL { int nosys(void); } 571 + 375 AUE_NULL ALL { int nosys(void); } 572 + 376 AUE_NULL ALL { int nosys(void); } 573 + 377 AUE_NULL ALL { int nosys(void); } 574 + 378 AUE_NULL ALL { int nosys(void); } 575 + 379 AUE_NULL ALL { int nosys(void); } 576 + 380 AUE_MAC_EXECVE ALL { int __mac_execve(char *fname, char **argp, char **envp, struct mac *mac_p); } 577 + #if CONFIG_MACF 578 + 381 AUE_MAC_SYSCALL ALL { int __mac_syscall(char *policy, int call, user_addr_t arg); } 579 + 382 AUE_MAC_GET_FILE ALL { int __mac_get_file(char *path_p, struct mac *mac_p); } 580 + 383 AUE_MAC_SET_FILE ALL { int __mac_set_file(char *path_p, struct mac *mac_p); } 581 + 384 AUE_MAC_GET_LINK ALL { int __mac_get_link(char *path_p, struct mac *mac_p); } 582 + 385 AUE_MAC_SET_LINK ALL { int __mac_set_link(char *path_p, struct mac *mac_p); } 583 + 386 AUE_MAC_GET_PROC ALL { int __mac_get_proc(struct mac *mac_p); } 584 + 387 AUE_MAC_SET_PROC ALL { int __mac_set_proc(struct mac *mac_p); } 585 + 388 AUE_MAC_GET_FD ALL { int __mac_get_fd(int fd, struct mac *mac_p); } 586 + 389 AUE_MAC_SET_FD ALL { int __mac_set_fd(int fd, struct mac *mac_p); } 587 + 390 AUE_MAC_GET_PID ALL { int __mac_get_pid(pid_t pid, struct mac *mac_p); } 588 + 391 AUE_MAC_GET_LCID ALL { int __mac_get_lcid(pid_t lcid, struct mac *mac_p); } 589 + 392 AUE_MAC_GET_LCTX ALL { int __mac_get_lctx(struct mac *mac_p); } 590 + 393 AUE_MAC_SET_LCTX ALL { int __mac_set_lctx(struct mac *mac_p); } 591 + #else 592 + 381 AUE_MAC_SYSCALL ALL { int enosys(void); } 593 + 382 AUE_MAC_GET_FILE ALL { int nosys(void); } 594 + 383 AUE_MAC_SET_FILE ALL { int nosys(void); } 595 + 384 AUE_MAC_GET_LINK ALL { int nosys(void); } 596 + 385 AUE_MAC_SET_LINK ALL { int nosys(void); } 597 + 386 AUE_MAC_GET_PROC ALL { int nosys(void); } 598 + 387 AUE_MAC_SET_PROC ALL { int nosys(void); } 599 + 388 AUE_MAC_GET_FD ALL { int nosys(void); } 600 + 389 AUE_MAC_SET_FD ALL { int nosys(void); } 601 + 390 AUE_MAC_GET_PID ALL { int nosys(void); } 602 + 391 AUE_MAC_GET_LCID ALL { int nosys(void); } 603 + 392 AUE_MAC_GET_LCTX ALL { int nosys(void); } 604 + 393 AUE_MAC_SET_LCTX ALL { int nosys(void); } 605 + #endif 606 + 394 AUE_SETLCID ALL { int setlcid(pid_t pid, pid_t lcid) NO_SYSCALL_STUB; } 607 + 395 AUE_GETLCID ALL { int getlcid(pid_t pid) NO_SYSCALL_STUB; } 608 + 396 AUE_NULL ALL { user_ssize_t read_nocancel(int fd, user_addr_t cbuf, user_size_t nbyte) NO_SYSCALL_STUB; } 609 + 397 AUE_NULL ALL { user_ssize_t write_nocancel(int fd, user_addr_t cbuf, user_size_t nbyte) NO_SYSCALL_STUB; } 610 + 398 AUE_OPEN_RWTC ALL { int open_nocancel(user_addr_t path, int flags, int mode) NO_SYSCALL_STUB; } 611 + 399 AUE_CLOSE ALL { int close_nocancel(int fd) NO_SYSCALL_STUB; } 612 + 400 AUE_WAIT4 ALL { int wait4_nocancel(int pid, user_addr_t status, int options, user_addr_t rusage) NO_SYSCALL_STUB; } 613 + #if SOCKETS 614 + 401 AUE_RECVMSG ALL { int recvmsg_nocancel(int s, struct msghdr *msg, int flags) NO_SYSCALL_STUB; } 615 + 402 AUE_SENDMSG ALL { int sendmsg_nocancel(int s, caddr_t msg, int flags) NO_SYSCALL_STUB; } 616 + 403 AUE_RECVFROM ALL { int recvfrom_nocancel(int s, void *buf, size_t len, int flags, struct sockaddr *from, int *fromlenaddr) NO_SYSCALL_STUB; } 617 + 404 AUE_ACCEPT ALL { int accept_nocancel(int s, caddr_t name, socklen_t *anamelen) NO_SYSCALL_STUB; } 618 + #else 619 + 401 AUE_NULL ALL { int nosys(void); } 620 + 402 AUE_NULL ALL { int nosys(void); } 621 + 403 AUE_NULL ALL { int nosys(void); } 622 + 404 AUE_NULL ALL { int nosys(void); } 623 + #endif /* SOCKETS */ 624 + 405 AUE_MSYNC ALL { int msync_nocancel(caddr_t addr, size_t len, int flags) NO_SYSCALL_STUB; } 625 + 406 AUE_FCNTL ALL { int fcntl_nocancel(int fd, int cmd, long arg) NO_SYSCALL_STUB; } 626 + 407 AUE_SELECT ALL { int select_nocancel(int nd, u_int32_t *in, u_int32_t *ou, u_int32_t *ex, struct timeval *tv) NO_SYSCALL_STUB; } 627 + 408 AUE_FSYNC ALL { int fsync_nocancel(int fd) NO_SYSCALL_STUB; } 628 + #if SOCKETS 629 + 409 AUE_CONNECT ALL { int connect_nocancel(int s, caddr_t name, socklen_t namelen) NO_SYSCALL_STUB; } 630 + #else 631 + 409 AUE_NULL ALL { int nosys(void); } 632 + #endif /* SOCKETS */ 633 + 410 AUE_NULL ALL { int sigsuspend_nocancel(sigset_t mask) NO_SYSCALL_STUB; } 634 + 411 AUE_READV ALL { user_ssize_t readv_nocancel(int fd, struct iovec *iovp, u_int iovcnt) NO_SYSCALL_STUB; } 635 + 412 AUE_WRITEV ALL { user_ssize_t writev_nocancel(int fd, struct iovec *iovp, u_int iovcnt) NO_SYSCALL_STUB; } 636 + #if SOCKETS 637 + 413 AUE_SENDTO ALL { int sendto_nocancel(int s, caddr_t buf, size_t len, int flags, caddr_t to, socklen_t tolen) NO_SYSCALL_STUB; } 638 + #else 639 + 413 AUE_NULL ALL { int nosys(void); } 640 + #endif /* SOCKETS */ 641 + 414 AUE_PREAD ALL { user_ssize_t pread_nocancel(int fd, user_addr_t buf, user_size_t nbyte, off_t offset) NO_SYSCALL_STUB; } 642 + 415 AUE_PWRITE ALL { user_ssize_t pwrite_nocancel(int fd, user_addr_t buf, user_size_t nbyte, off_t offset) NO_SYSCALL_STUB; } 643 + 416 AUE_WAITID ALL { int waitid_nocancel(idtype_t idtype, id_t id, siginfo_t *infop, int options) NO_SYSCALL_STUB; } 644 + 417 AUE_POLL ALL { int poll_nocancel(struct pollfd *fds, u_int nfds, int timeout) NO_SYSCALL_STUB; } 645 + #if SYSV_MSG 646 + 418 AUE_MSGSND ALL { int msgsnd_nocancel(int msqid, void *msgp, size_t msgsz, int msgflg) NO_SYSCALL_STUB; } 647 + 419 AUE_MSGRCV ALL { user_ssize_t msgrcv_nocancel(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg) NO_SYSCALL_STUB; } 648 + #else 649 + 418 AUE_NULL ALL { int nosys(void); } 650 + 419 AUE_NULL ALL { int nosys(void); } 651 + #endif 652 + 420 AUE_SEMWAIT ALL { int sem_wait_nocancel(sem_t *sem) NO_SYSCALL_STUB; } 653 + 421 AUE_NULL ALL { int aio_suspend_nocancel(user_addr_t aiocblist, int nent, user_addr_t timeoutp) NO_SYSCALL_STUB; } 654 + 422 AUE_SIGWAIT ALL { int __sigwait_nocancel(user_addr_t set, user_addr_t sig) NO_SYSCALL_STUB; } 655 + ;#if OLD_SEMWAIT_SIGNAL 656 + ;423 AUE_NULL ALL { int nosys(void); } { old __semwait_signal_nocancel } 657 + ;#else 658 + 423 AUE_SEMWAITSIGNAL ALL { int __semwait_signal_nocancel(int cond_sem, int mutex_sem, int timeout, int relative, int64_t tv_sec, int32_t tv_nsec); } 659 + ;#endif 660 + 424 AUE_MAC_MOUNT ALL { int __mac_mount(char *type, char *path, int flags, caddr_t data, struct mac *mac_p); } 661 + #if CONFIG_MACF 662 + 425 AUE_MAC_GET_MOUNT ALL { int __mac_get_mount(char *path, struct mac *mac_p); } 663 + #else 664 + 425 AUE_MAC_GET_MOUNT ALL { int nosys(void); } 665 + #endif 666 + 426 AUE_MAC_GETFSSTAT ALL { int __mac_getfsstat(user_addr_t buf, int bufsize, user_addr_t mac, int macsize, int flags); } 667 + 427 AUE_FSGETPATH ALL { user_ssize_t fsgetpath(user_addr_t buf, size_t bufsize, user_addr_t fsid, uint64_t objid) NO_SYSCALL_STUB; } { private fsgetpath (File Manager SPI) } 668 + 428 AUE_NULL ALL { mach_port_name_t audit_session_self(void); } 669 + 429 AUE_NULL ALL { int audit_session_join(mach_port_name_t port); } 670 + 430 AUE_NULL ALL { int fileport_makeport(int fd, user_addr_t portnamep); } 671 + 431 AUE_NULL ALL { int fileport_makefd(mach_port_name_t port); } 672 + 432 AUE_NULL ALL { int audit_session_port(au_asid_t asid, user_addr_t portnamep); } 673 + 433 AUE_NULL ALL { int pid_suspend(int pid); } 674 + 434 AUE_NULL ALL { int pid_resume(int pid); } 675 + 435 AUE_NULL ALL { int nosys(void); } 676 + 436 AUE_NULL ALL { int nosys(void); } 677 + 437 AUE_NULL ALL { int nosys(void); } { old shared_region_slide_np } 678 + 438 AUE_NULL ALL { int shared_region_map_and_slide_np(int fd, uint32_t count, const struct shared_file_mapping_np *mappings, uint32_t slide, uint64_t* slide_start, uint32_t slide_size) NO_SYSCALL_STUB; } 679 + 439 AUE_NULL ALL { int kas_info(int selector, void *value, size_t *size); } 680 + #if CONFIG_MEMORYSTATUS 681 + 440 AUE_NULL ALL { int memorystatus_control(uint32_t command, int32_t pid, uint32_t flags, user_addr_t buffer, size_t buffersize); } 682 + #else 683 + 440 AUE_NULL ALL { int nosys(void); } 684 + #endif 685 + 441 AUE_OPEN_RWTC ALL { int guarded_open_np(const char *path, const guardid_t *guard, u_int guardflags, int flags, int mode) NO_SYSCALL_STUB; } 686 + 442 AUE_CLOSE ALL { int guarded_close_np(int fd, const guardid_t *guard); } 687 + 443 AUE_KQUEUE ALL { int guarded_kqueue_np(const guardid_t *guard, u_int guardflags); } 688 + 444 AUE_NULL ALL { int change_fdguard_np(int fd, const guardid_t *guard, u_int guardflags, const guardid_t *nguard, u_int nguardflags, int *fdflagsp); } 689 + 445 AUE_NULL ALL { int nosys(void); } { old __proc_suppress } 690 + 446 AUE_NULL ALL { int proc_rlimit_control(pid_t pid, int flavor, void *arg); } 691 + #if SOCKETS 692 + 447 AUE_CONNECT ALL { int connectx(int s, struct sockaddr *src, socklen_t srclen, struct sockaddr *dsts, socklen_t dstlen, uint32_t ifscope, associd_t aid, connid_t *cid); } 693 + 448 AUE_NULL ALL { int disconnectx(int s, associd_t aid, connid_t cid); } 694 + 449 AUE_NULL ALL { int peeloff(int s, associd_t aid); } 695 + 450 AUE_SOCKET ALL { int socket_delegate(int domain, int type, int protocol, pid_t epid); } 696 + #else 697 + 447 AUE_NULL ALL { int nosys(void); } 698 + 448 AUE_NULL ALL { int nosys(void); } 699 + 449 AUE_NULL ALL { int nosys(void); } 700 + 450 AUE_NULL ALL { int nosys(void); } 701 + #endif /* SOCKETS */ 702 + 451 AUE_NULL ALL { int telemetry(uint64_t cmd, uint64_t deadline, uint64_t interval, uint64_t leeway, uint64_t arg4, uint64_t arg5) NO_SYSCALL_STUB; } 703 + #if CONFIG_PROC_UUID_POLICY 704 + 452 AUE_NULL ALL { int proc_uuid_policy(uint32_t operation, uuid_t uuid, size_t uuidlen, uint32_t flags); } 705 + #else 706 + 452 AUE_NULL ALL { int nosys(void); } 707 + #endif 708 + #if CONFIG_MEMORYSTATUS 709 + 453 AUE_NULL ALL { int memorystatus_get_level(user_addr_t level); } 710 + #else 711 + 453 AUE_NULL ALL { int nosys(void); } 712 + #endif 713 + 454 AUE_NULL ALL { int system_override(uint64_t timeout, uint64_t flags); } 714 + 455 AUE_NULL ALL { int vfs_purge(void); } 715 + 456 AUE_NULL ALL { int sfi_ctl(uint32_t operation, uint32_t sfi_class, uint64_t time, uint64_t *out_time) NO_SYSCALL_STUB; } 716 + 457 AUE_NULL ALL { int sfi_pidctl(uint32_t operation, pid_t pid, uint32_t sfi_flags, uint32_t *out_sfi_flags) NO_SYSCALL_STUB; } 717 + #if CONFIG_COALITIONS 718 + 458 AUE_NULL ALL { int coalition(uint32_t operation, uint64_t *cid, uint32_t flags) NO_SYSCALL_STUB; } 719 + 459 AUE_NULL ALL { int coalition_info(uint32_t flavor, uint64_t *cid, void *buffer, size_t *bufsize) NO_SYSCALL_STUB; } 720 + #else 721 + 458 AUE_NULL ALL { int enosys(void); } 722 + 459 AUE_NULL ALL { int enosys(void); } 723 + #endif /* COALITIONS */ 724 + #if NECP 725 + 460 AUE_NULL ALL { int necp_match_policy(uint8_t *parameters, size_t parameters_size, struct necp_aggregate_result *returned_result); } 726 + #else 727 + 460 AUE_NULL ALL { int nosys(void); } 728 + #endif /* NECP */ 729 + 461 AUE_GETATTRLISTBULK ALL { int getattrlistbulk(int dirfd, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, uint64_t options); } 730 + 462 AUE_NULL ALL { int enosys(void); } /* PLACEHOLDER for CLONEFILE */ 731 + 463 AUE_OPENAT_RWTC ALL { int openat(int fd, user_addr_t path, int flags, int mode) NO_SYSCALL_STUB; } 732 + 464 AUE_OPENAT_RWTC ALL { int openat_nocancel(int fd, user_addr_t path, int flags, int mode) NO_SYSCALL_STUB; } 733 + 465 AUE_RENAMEAT ALL { int renameat(int fromfd, char *from, int tofd, char *to) NO_SYSCALL_STUB; } 734 + 466 AUE_FACCESSAT ALL { int faccessat(int fd, user_addr_t path, int amode, int flag); } 735 + 467 AUE_FCHMODAT ALL { int fchmodat(int fd, user_addr_t path, int mode, int flag); } 736 + 468 AUE_FCHOWNAT ALL { int fchownat(int fd, user_addr_t path, uid_t uid,gid_t gid, int flag); } 737 + 469 AUE_FSTATAT ALL { int fstatat(int fd, user_addr_t path, user_addr_t ub, int flag); } 738 + 470 AUE_FSTATAT ALL { int fstatat64(int fd, user_addr_t path, user_addr_t ub, int flag); } 739 + 471 AUE_LINKAT ALL { int linkat(int fd1, user_addr_t path, int fd2, user_addr_t link, int flag); } 740 + 472 AUE_UNLINKAT ALL { int unlinkat(int fd, user_addr_t path, int flag) NO_SYSCALL_STUB; } 741 + 473 AUE_READLINKAT ALL { int readlinkat(int fd, user_addr_t path, user_addr_t buf, size_t bufsize); } 742 + 474 AUE_SYMLINKAT ALL { int symlinkat(user_addr_t *path1, int fd, user_addr_t path2); } 743 + 475 AUE_MKDIRAT ALL { int mkdirat(int fd, user_addr_t path, int mode); } 744 + 476 AUE_GETATTRLISTAT ALL { int getattrlistat(int fd, const char *path, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options); } 745 + 477 AUE_NULL ALL { int proc_trace_log(pid_t pid, uint64_t uniqueid); } 746 + 478 AUE_NULL ALL { int bsdthread_ctl(user_addr_t cmd, user_addr_t arg1, user_addr_t arg2, user_addr_t arg3) NO_SYSCALL_STUB; } 747 + 479 AUE_OPENBYID_RWT ALL { int openbyid_np(user_addr_t fsid, user_addr_t objid, int oflags); } 748 + #if SOCKETS 749 + 480 AUE_NULL ALL { user_ssize_t recvmsg_x(int s, struct msghdr_x *msgp, u_int cnt, int flags); } 750 + 481 AUE_NULL ALL { user_ssize_t sendmsg_x(int s, struct msghdr_x *msgp, u_int cnt, int flags); } 751 + #else 752 + 480 AUE_NULL ALL { int nosys(void); } 753 + 481 AUE_NULL ALL { int nosys(void); } 754 + #endif /* SOCKETS */ 755 + 482 AUE_NULL ALL { uint64_t thread_selfusage(void) NO_SYSCALL_STUB; } 756 + #if CONFIG_CSR 757 + 483 AUE_NULL ALL { int csrctl(uint32_t op, user_addr_t useraddr, user_addr_t usersize) NO_SYSCALL_STUB; } 758 + #else 759 + 483 AUE_NULL ALL { int enosys(void); } 760 + #endif /* CSR */ 761 + 484 AUE_NULL ALL { int guarded_open_dprotected_np(const char *path, const guardid_t *guard, u_int guardflags, int flags, int dpclass, int dpflags, int mode) NO_SYSCALL_STUB; } 762 + 485 AUE_NULL ALL { user_ssize_t guarded_write_np(int fd, const guardid_t *guard, user_addr_t cbuf, user_size_t nbyte); } 763 + 486 AUE_PWRITE ALL { user_ssize_t guarded_pwrite_np(int fd, const guardid_t *guard, user_addr_t buf, user_size_t nbyte, off_t offset); } 764 + 487 AUE_WRITEV ALL { user_ssize_t guarded_writev_np(int fd, const guardid_t *guard, struct iovec *iovp, u_int iovcnt); } 765 + #if CONFIG_SECLUDED_RENAME 766 + 488 AUE_RENAME ALL { int rename_ext(char *from, char *to, u_int flags) NO_SYSCALL_STUB; } 767 + #else 768 + 488 AUE_NULL ALL { int enosys(void); } 769 + #endif 770 + #if CONFIG_CODE_DECRYPTION 771 + 489 AUE_MPROTECT ALL { int mremap_encrypted(caddr_t addr, size_t len, uint32_t cryptid, uint32_t cputype, uint32_t cpusubtype); } 772 + #else 773 + 489 AUE_NULL ALL { int enosys(void); } 774 + #endif
+1 -1
libc/CMakeLists.txt
··· 22 22 23 23 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -nostdinc -D__DARWIN_UNIX03 -fPIC -w ") 24 24 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -include ${CMAKE_CURRENT_SOURCE_DIR}/weak_reference.h") 25 - set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -nostdlib -Wl,--unresolved-symbols=ignore-all") 25 + set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -nostdlib -Wl,--unresolved-symbols=ignore-all -Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/darwin.map") 26 26 27 27 include_directories("${CMAKE_CURRENT_SOURCE_DIR}/fbsdcompat") 28 28 include_directories("${CMAKE_CURRENT_SOURCE_DIR}/pthreads")
+5
libc/darwin.map
··· 1 + DARWIN { 2 + global: 3 + *; 4 + }; 5 +