···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS___old_semwait_signal_nocancel
55+#error "SYS___old_semwait_signal_nocancel not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(____old_semwait_signal_nocancel, __old_semwait_signal_nocancel, 5, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/____sigwait_nocancel.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS___sigwait_nocancel
55+#error "SYS___sigwait_nocancel not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(____sigwait_nocancel, __sigwait_nocancel, 2, cerror_nocancel)
1010+#endif
1111+
+16
kernel/libsyscall/sys/__accept.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_accept
55+#error "SYS_accept not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__accept, accept, 3, cerror)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl accept
1414+ .set accept, __accept
1515+#endif
1616+
+16
kernel/libsyscall/sys/__accept_nocancel.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_accept_nocancel
55+#error "SYS_accept_nocancel not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__accept_nocancel, accept_nocancel, 3, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl accept$NOCANCEL
1414+ .set accept$NOCANCEL, __accept_nocancel
1515+#endif
1616+
+16
kernel/libsyscall/sys/__access_extended.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_access_extended
55+#error "SYS_access_extended not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__access_extended, access_extended, 4, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl accessx_np
1414+ .set accessx_np, __access_extended
1515+#endif
1616+
+16
kernel/libsyscall/sys/__aio_suspend_nocancel.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_aio_suspend_nocancel
55+#error "SYS_aio_suspend_nocancel not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__aio_suspend_nocancel, aio_suspend_nocancel, 3, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl aio_suspend$NOCANCEL
1414+ .set aio_suspend$NOCANCEL, __aio_suspend_nocancel
1515+#endif
1616+
+16
kernel/libsyscall/sys/__bind.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_bind
55+#error "SYS_bind not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__bind, bind, 3, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl bind
1414+ .set bind, __bind
1515+#endif
1616+
+11
kernel/libsyscall/sys/__bsdthread_create.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_bsdthread_create
55+#error "SYS_bsdthread_create not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__bsdthread_create, bsdthread_create, 5, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__bsdthread_ctl.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_bsdthread_ctl
55+#error "SYS_bsdthread_ctl not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__bsdthread_ctl, bsdthread_ctl, 4, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__bsdthread_register.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 28
22+#include "SYS.h"
33+44+#ifndef SYS_bsdthread_register
55+#error "SYS_bsdthread_register not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__bsdthread_register, bsdthread_register, 7, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__bsdthread_terminate.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_bsdthread_terminate
55+#error "SYS_bsdthread_terminate not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__bsdthread_terminate, bsdthread_terminate, 4, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__chmod.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_chmod
55+#error "SYS_chmod not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__chmod, chmod, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__chmod_extended.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_chmod_extended
55+#error "SYS_chmod_extended not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__chmod_extended, chmod_extended, 5, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__chud.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 48
22+#include "SYS.h"
33+44+#ifndef SYS_chud
55+#error "SYS_chud not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__chud, chud, 6, cerror_nocancel)
1010+#endif
1111+
+16
kernel/libsyscall/sys/__close_nocancel.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_close_nocancel
55+#error "SYS_close_nocancel not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__close_nocancel, close_nocancel, 1, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl close$NOCANCEL
1414+ .set close$NOCANCEL, __close_nocancel
1515+#endif
1616+
+11
kernel/libsyscall/sys/__coalition.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_coalition
55+#error "SYS_coalition not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__coalition, coalition, 3, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__coalition_info.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_coalition_info
55+#error "SYS_coalition_info not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__coalition_info, coalition_info, 4, cerror_nocancel)
1010+#endif
1111+
+16
kernel/libsyscall/sys/__connect.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_connect
55+#error "SYS_connect not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__connect, connect, 3, cerror)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl connect
1414+ .set connect, __connect
1515+#endif
1616+
+16
kernel/libsyscall/sys/__connect_nocancel.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_connect_nocancel
55+#error "SYS_connect_nocancel not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__connect_nocancel, connect_nocancel, 3, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl connect$NOCANCEL
1414+ .set connect$NOCANCEL, __connect_nocancel
1515+#endif
1616+
+11
kernel/libsyscall/sys/__copyfile.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_copyfile
55+#error "SYS_copyfile not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__copyfile, copyfile, 4, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__csrctl.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_csrctl
55+#error "SYS_csrctl not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__csrctl, csrctl, 3, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__delete.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_delete
55+#error "SYS_delete not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__delete, delete, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__disable_threadsignal.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS___disable_threadsignal
55+#error "SYS___disable_threadsignal not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__disable_threadsignal, __disable_threadsignal, 1, cerror_nocancel)
1010+#endif
1111+
+16
kernel/libsyscall/sys/__exit.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_exit
55+#error "SYS_exit not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__exit, exit, 1, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl _exit
1414+ .set _exit, __exit
1515+#endif
1616+
+11
kernel/libsyscall/sys/__fchmod.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_fchmod
55+#error "SYS_fchmod not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__fchmod, fchmod, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__fchmod_extended.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_fchmod_extended
55+#error "SYS_fchmod_extended not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__fchmod_extended, fchmod_extended, 5, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__fcntl.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_fcntl
55+#error "SYS_fcntl not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__fcntl, fcntl, 3, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__fcntl_nocancel.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_fcntl_nocancel
55+#error "SYS_fcntl_nocancel not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__fcntl_nocancel, fcntl_nocancel, 3, cerror_nocancel)
1010+#endif
1111+
+105
kernel/libsyscall/sys/__fork.S
···11+/*
22+ * Copyright (c) 1999-2010 Apple Inc. All rights reserved.
33+ *
44+ * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
55+ *
66+ * This file contains Original Code and/or Modifications of Original Code
77+ * as defined in and that are subject to the Apple Public Source License
88+ * Version 2.0 (the 'License'). You may not use this file except in
99+ * compliance with the License. The rights granted to you under the License
1010+ * may not be used to create, or enable the creation or redistribution of,
1111+ * unlawful or unlicensed copies of an Apple operating system, or to
1212+ * circumvent, violate, or enable the circumvention or violation of, any
1313+ * terms of an Apple operating system software license agreement.
1414+ *
1515+ * Please obtain a copy of the License at
1616+ * http://www.opensource.apple.com/apsl/ and read it before using this file.
1717+ *
1818+ * The Original Code and all software distributed under the License are
1919+ * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2020+ * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2121+ * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2222+ * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2323+ * Please see the License for the specific language governing rights and
2424+ * limitations under the License.
2525+ *
2626+ * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2727+ */
2828+/* Copyright (c) 1992 NeXT Computer, Inc. All rights reserved.
2929+ *
3030+ * File: libc/ppc/sys/fork.s
3131+ *
3232+ * HISTORY
3333+ * 18-Nov-92 Ben Fathi (benf@next.com)
3434+ * Created from M88K sources
3535+ *
3636+ * 11-Jan-92 Peter King (king@next.com)
3737+ * Created from M68K sources
3838+ */
3939+4040+/*
4141+ * All of the asm stubs in this file have been adjusted so the pre/post
4242+ * fork handlers and dyld fixup are done in C inside Libc. As such, Libc
4343+ * expects the __fork asm to fix up the return code to be -1, 0 or pid
4444+ * and errno if needed.
4545+ */
4646+4747+#include "SYS.h"
4848+4949+#if defined(__i386__)
5050+5151+LEAF(___fork, 0)
5252+ subl $28, %esp // Align the stack, with 16 bytes of extra padding that we'll need
5353+5454+ movl $ SYS_fork,%eax; // code for fork -> eax
5555+ UNIX_SYSCALL_TRAP // do the system call
5656+ jnc L1 // jump if CF==0
5757+5858+ CALL_EXTERN(tramp_cerror)
5959+ movl $-1,%eax
6060+ addl $28, %esp // restore the stack
6161+ ret
6262+6363+L1:
6464+ orl %edx,%edx // CF=OF=0, ZF set if zero result
6565+ jz L2 // parent, since r1 == 0 in parent, 1 in child
6666+6767+ //child here...
6868+ xorl %eax,%eax // zero eax
6969+ REG_TO_EXTERN(%eax, __current_pid);
7070+L2:
7171+ addl $28, %esp // restore the stack
7272+ // parent ends up here skipping child portion
7373+ ret
7474+7575+#elif defined(__x86_64__)
7676+7777+LEAF(___fork, 0)
7878+ subq $24, %rsp // Align the stack, plus room for local storage
7979+8080+ movl $ SYSCALL_CONSTRUCT_UNIX(SYS_fork),%eax; // code for fork -> rax
8181+ UNIX_SYSCALL_TRAP // do the system call
8282+ jnc L1 // jump if CF==0
8383+8484+ movq %rax, %rdi
8585+ CALL_EXTERN(_cerror)
8686+ movq $-1, %rax
8787+ addq $24, %rsp // restore the stack
8888+ ret
8989+9090+L1:
9191+ orl %edx,%edx // CF=OF=0, ZF set if zero result
9292+ jz L2 // parent, since r1 == 0 in parent, 1 in child
9393+9494+ //child here...
9595+ xorq %rax, %rax
9696+ PICIFY(__current_pid)
9797+ movl %eax,(%r11)
9898+L2:
9999+ // parent ends up here skipping child portion
100100+ addq $24, %rsp // restore the stack
101101+ ret
102102+103103+#else
104104+#error Unsupported architecture
105105+#endif
+11
kernel/libsyscall/sys/__fsgetpath.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_fsgetpath
55+#error "SYS_fsgetpath not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__fsgetpath, fsgetpath, 4, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__fstat64_extended.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_fstat64_extended
55+#error "SYS_fstat64_extended not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__fstat64_extended, fstat64_extended, 4, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__fstat_extended.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_fstat_extended
55+#error "SYS_fstat_extended not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__fstat_extended, fstat_extended, 4, cerror_nocancel)
1010+#endif
1111+
+16
kernel/libsyscall/sys/__fsync_nocancel.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_fsync_nocancel
55+#error "SYS_fsync_nocancel not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__fsync_nocancel, fsync_nocancel, 1, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl fsync$NOCANCEL
1414+ .set fsync$NOCANCEL, __fsync_nocancel
1515+#endif
1616+
+16
kernel/libsyscall/sys/__getattrlist.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_getattrlist
55+#error "SYS_getattrlist not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__getattrlist, getattrlist, 5, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl getattrlist
1414+ .set getattrlist, __getattrlist
1515+#endif
1616+
+11
kernel/libsyscall/sys/__getdirentries64.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_getdirentries64
55+#error "SYS_getdirentries64 not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__getdirentries64, getdirentries64, 4, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__gethostuuid.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_gethostuuid
55+#error "SYS_gethostuuid not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__gethostuuid, gethostuuid, 3, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__getlcid.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_getlcid
55+#error "SYS_getlcid not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__getlcid, getlcid, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__getlogin.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_getlogin
55+#error "SYS_getlogin not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__getlogin, getlogin, 2, cerror)
1010+#endif
1111+
+16
kernel/libsyscall/sys/__getpeername.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_getpeername
55+#error "SYS_getpeername not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__getpeername, getpeername, 3, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl getpeername
1414+ .set getpeername, __getpeername
1515+#endif
1616+
+107
kernel/libsyscall/sys/__getpid.S
···11+/*
22+ * Copyright (c) 1999-2007 Apple Inc. All rights reserved.
33+ *
44+ * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
55+ *
66+ * This file contains Original Code and/or Modifications of Original Code
77+ * as defined in and that are subject to the Apple Public Source License
88+ * Version 2.0 (the 'License'). You may not use this file except in
99+ * compliance with the License. The rights granted to you under the License
1010+ * may not be used to create, or enable the creation or redistribution of,
1111+ * unlawful or unlicensed copies of an Apple operating system, or to
1212+ * circumvent, violate, or enable the circumvention or violation of, any
1313+ * terms of an Apple operating system software license agreement.
1414+ *
1515+ * Please obtain a copy of the License at
1616+ * http://www.opensource.apple.com/apsl/ and read it before using this file.
1717+ *
1818+ * The Original Code and all software distributed under the License are
1919+ * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2020+ * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2121+ * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2222+ * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2323+ * Please see the License for the specific language governing rights and
2424+ * limitations under the License.
2525+ *
2626+ * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2727+ */
2828+2929+#include "SYS.h"
3030+3131+#if defined(__i386__)
3232+3333+ .data
3434+ .private_extern __current_pid
3535+L__current_pid_addr:
3636+ __current_pid:
3737+ .long 0
3838+3939+#if defined(__DYNAMIC__)
4040+#define GET_CURRENT_PID \
4141+ call 0f ; \
4242+0: ; \
4343+ popl %ecx ; \
4444+ leal L__current_pid_addr-0b(%ecx), %ecx
4545+4646+#define __current_pid (%ecx)
4747+4848+#else
4949+#define GET_CURRENT_PID
5050+#endif
5151+5252+/*
5353+ * If __current_pid is > 0, return it, else make syscall.
5454+ * If __current_pid is 0, cache result of syscall.
5555+ */
5656+TEXT
5757+LEAF(___getpid, 0)
5858+ GET_CURRENT_PID
5959+ movl __current_pid, %eax
6060+ testl %eax, %eax
6161+ jle 1f
6262+ ret
6363+1:
6464+ UNIX_SYSCALL_NONAME(getpid, 0, cerror_nocancel)
6565+ movl %eax, %edx
6666+ xorl %eax, %eax
6767+ GET_CURRENT_PID
6868+ lock
6969+ cmpxchgl %edx, __current_pid
7070+ movl %edx, %eax
7171+ ret
7272+7373+#elif defined(__x86_64__)
7474+7575+ .data
7676+ .private_extern __current_pid
7777+__current_pid:
7878+ .long 0
7979+8080+/*
8181+ * If __current_pid is > 0, return it, else make syscall.
8282+ * If __current_pid is 0, cache result of syscall.
8383+ */
8484+TEXT
8585+LEAF(___getpid, 0)
8686+ movl __current_pid(%rip), %eax
8787+ testl %eax, %eax
8888+ jle 1f
8989+ ret
9090+1:
9191+ UNIX_SYSCALL_NONAME(getpid, 0, cerror_nocancel)
9292+ movl %eax, %edx
9393+ xorl %eax, %eax
9494+ leaq __current_pid(%rip), %rcx
9595+ lock
9696+ cmpxchgl %edx, (%rcx)
9797+ movl %edx, %eax
9898+ ret
9999+100100+#else
101101+#error Unsupported architecture
102102+#endif
103103+#if defined(__x86_64__)
104104+ .globl getpid
105105+ .set getpid, __getpid
106106+#endif
107107+
+11
kernel/libsyscall/sys/__getrlimit.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_getrlimit
55+#error "SYS_getrlimit not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__getrlimit, getrlimit, 2, cerror_nocancel)
1010+#endif
1111+
+16
kernel/libsyscall/sys/__getsgroups.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_getsgroups
55+#error "SYS_getsgroups not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__getsgroups, getsgroups, 2, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl getsgroups_np
1414+ .set getsgroups_np, __getsgroups
1515+#endif
1616+
+16
kernel/libsyscall/sys/__getsockname.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_getsockname
55+#error "SYS_getsockname not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__getsockname, getsockname, 3, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl getsockname
1414+ .set getsockname, __getsockname
1515+#endif
1616+
+16
kernel/libsyscall/sys/__gettid.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_gettid
55+#error "SYS_gettid not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__gettid, gettid, 2, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl pthread_getugid_np
1414+ .set pthread_getugid_np, __gettid
1515+#endif
1616+
+59
kernel/libsyscall/sys/__gettimeofday.S
···11+/*
22+ * Copyright (c) 1999-2007 Apple Inc. All rights reserved.
33+ *
44+ * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
55+ *
66+ * This file contains Original Code and/or Modifications of Original Code
77+ * as defined in and that are subject to the Apple Public Source License
88+ * Version 2.0 (the 'License'). You may not use this file except in
99+ * compliance with the License. The rights granted to you under the License
1010+ * may not be used to create, or enable the creation or redistribution of,
1111+ * unlawful or unlicensed copies of an Apple operating system, or to
1212+ * circumvent, violate, or enable the circumvention or violation of, any
1313+ * terms of an Apple operating system software license agreement.
1414+ *
1515+ * Please obtain a copy of the License at
1616+ * http://www.opensource.apple.com/apsl/ and read it before using this file.
1717+ *
1818+ * The Original Code and all software distributed under the License are
1919+ * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2020+ * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2121+ * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2222+ * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2323+ * Please see the License for the specific language governing rights and
2424+ * limitations under the License.
2525+ *
2626+ * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2727+ */
2828+/* Copyright 1998 Apple Computer, Inc. */
2929+3030+#include "SYS.h"
3131+3232+#if defined(__i386__)
3333+3434+/*
3535+ * This syscall is special cased: the timeval is returned in eax/edx.
3636+ */
3737+LABEL(___gettimeofday)
3838+ UNIX_SYSCALL_INT_NONAME(gettimeofday,0)
3939+ mov 4(%esp),%ecx
4040+ mov %eax,(%ecx)
4141+ mov %edx,4(%ecx)
4242+ xor %eax,%eax
4343+ ret
4444+4545+#elif defined(__x86_64__)
4646+4747+/*
4848+ * This syscall is special cased: the timeval is returned in rax:rdx.
4949+ */
5050+LABEL(___gettimeofday)
5151+ UNIX_SYSCALL_NONAME(gettimeofday,0,cerror_nocancel)
5252+ movq %rax, (%rdi)
5353+ movl %edx, 8(%rdi)
5454+ xorl %eax, %eax
5555+ ret
5656+5757+#else
5858+#error Unsupported architecture
5959+#endif
+16
kernel/libsyscall/sys/__getwgroups.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_getwgroups
55+#error "SYS_getwgroups not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__getwgroups, getwgroups, 2, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl getwgroups_np
1414+ .set getwgroups_np, __getwgroups
1515+#endif
1616+
···11+#define __SYSCALL_32BIT_ARG_BYTES 28
22+#include "SYS.h"
33+44+#ifndef SYS_guarded_open_dprotected_np
55+#error "SYS_guarded_open_dprotected_np not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__guarded_open_dprotected_np, guarded_open_dprotected_np, 7, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__guarded_open_np.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_guarded_open_np
55+#error "SYS_guarded_open_np not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__guarded_open_np, guarded_open_np, 5, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__identitysvc.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_identitysvc
55+#error "SYS_identitysvc not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__identitysvc, identitysvc, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__initgroups.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_initgroups
55+#error "SYS_initgroups not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__initgroups, initgroups, 3, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__ioctl.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_ioctl
55+#error "SYS_ioctl not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__ioctl, ioctl, 3, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__iopolicysys.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_iopolicysys
55+#error "SYS_iopolicysys not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__iopolicysys, iopolicysys, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__kdebug_trace.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 24
22+#include "SYS.h"
33+44+#ifndef SYS_kdebug_trace
55+#error "SYS_kdebug_trace not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__kdebug_trace, kdebug_trace, 6, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__kill.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_kill
55+#error "SYS_kill not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__kill, kill, 3, cerror_nocancel)
1010+#endif
1111+
+16
kernel/libsyscall/sys/__lchown.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_lchown
55+#error "SYS_lchown not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__lchown, lchown, 3, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl lchown
1414+ .set lchown, __lchown
1515+#endif
1616+
+16
kernel/libsyscall/sys/__listen.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_listen
55+#error "SYS_listen not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__listen, listen, 2, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl listen
1414+ .set listen, __listen
1515+#endif
1616+
+46
kernel/libsyscall/sys/__lseek.S
···11+/*
22+ * Copyright (c) 1999-2007 Apple Inc. All rights reserved.
33+ *
44+ * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
55+ *
66+ * This file contains Original Code and/or Modifications of Original Code
77+ * as defined in and that are subject to the Apple Public Source License
88+ * Version 2.0 (the 'License'). You may not use this file except in
99+ * compliance with the License. The rights granted to you under the License
1010+ * may not be used to create, or enable the creation or redistribution of,
1111+ * unlawful or unlicensed copies of an Apple operating system, or to
1212+ * circumvent, violate, or enable the circumvention or violation of, any
1313+ * terms of an Apple operating system software license agreement.
1414+ *
1515+ * Please obtain a copy of the License at
1616+ * http://www.opensource.apple.com/apsl/ and read it before using this file.
1717+ *
1818+ * The Original Code and all software distributed under the License are
1919+ * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2020+ * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2121+ * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2222+ * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2323+ * Please see the License for the specific language governing rights and
2424+ * limitations under the License.
2525+ *
2626+ * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2727+ */
2828+2929+#include "SYS.h"
3030+3131+#if defined(__x86_64__)
3232+3333+__SYSCALL(___lseek, lseek, 3)
3434+3535+#elif defined(__i386__)
3636+3737+__SYSCALL_INT(___lseek, lseek, 3)
3838+3939+#else
4040+#error Unsupported architecture
4141+#endif
4242+#if defined(__x86_64__)
4343+ .globl lseek
4444+ .set lseek, __lseek
4545+#endif
4646+
+11
kernel/libsyscall/sys/__lstat64_extended.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_lstat64_extended
55+#error "SYS_lstat64_extended not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__lstat64_extended, lstat64_extended, 4, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__lstat_extended.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_lstat_extended
55+#error "SYS_lstat_extended not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__lstat_extended, lstat_extended, 4, cerror_nocancel)
1010+#endif
1111+
+16
kernel/libsyscall/sys/__mac_execve.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS___mac_execve
55+#error "SYS___mac_execve not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__mac_execve, __mac_execve, 4, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl __sandbox_me
1414+ .set __sandbox_me, __mac_execve
1515+#endif
1616+
+11
kernel/libsyscall/sys/__mac_get_fd.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS___mac_get_fd
55+#error "SYS___mac_get_fd not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__mac_get_fd, __mac_get_fd, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__mac_get_file.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS___mac_get_file
55+#error "SYS___mac_get_file not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__mac_get_file, __mac_get_file, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__mac_get_lcid.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS___mac_get_lcid
55+#error "SYS___mac_get_lcid not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__mac_get_lcid, __mac_get_lcid, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__mac_get_lctx.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS___mac_get_lctx
55+#error "SYS___mac_get_lctx not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__mac_get_lctx, __mac_get_lctx, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__mac_get_link.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS___mac_get_link
55+#error "SYS___mac_get_link not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__mac_get_link, __mac_get_link, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__mac_get_mount.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS___mac_get_mount
55+#error "SYS___mac_get_mount not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__mac_get_mount, __mac_get_mount, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__mac_get_pid.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS___mac_get_pid
55+#error "SYS___mac_get_pid not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__mac_get_pid, __mac_get_pid, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__mac_get_proc.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS___mac_get_proc
55+#error "SYS___mac_get_proc not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__mac_get_proc, __mac_get_proc, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__mac_getfsstat.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS___mac_getfsstat
55+#error "SYS___mac_getfsstat not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__mac_getfsstat, __mac_getfsstat, 5, cerror_nocancel)
1010+#endif
1111+
+16
kernel/libsyscall/sys/__mac_mount.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS___mac_mount
55+#error "SYS___mac_mount not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__mac_mount, __mac_mount, 5, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl __sandbox_mm
1414+ .set __sandbox_mm, __mac_mount
1515+#endif
1616+
+11
kernel/libsyscall/sys/__mac_set_fd.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS___mac_set_fd
55+#error "SYS___mac_set_fd not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__mac_set_fd, __mac_set_fd, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__mac_set_file.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS___mac_set_file
55+#error "SYS___mac_set_file not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__mac_set_file, __mac_set_file, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__mac_set_lctx.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS___mac_set_lctx
55+#error "SYS___mac_set_lctx not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__mac_set_lctx, __mac_set_lctx, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__mac_set_link.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS___mac_set_link
55+#error "SYS___mac_set_link not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__mac_set_link, __mac_set_link, 2, cerror_nocancel)
1010+#endif
1111+
+16
kernel/libsyscall/sys/__mac_set_proc.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS___mac_set_proc
55+#error "SYS___mac_set_proc not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__mac_set_proc, __mac_set_proc, 1, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl __sandbox_msp
1414+ .set __sandbox_msp, __mac_set_proc
1515+#endif
1616+
+16
kernel/libsyscall/sys/__mac_syscall.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS___mac_syscall
55+#error "SYS___mac_syscall not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__mac_syscall, __mac_syscall, 3, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl __sandbox_ms
1414+ .set __sandbox_ms, __mac_syscall
1515+#endif
1616+
+11
kernel/libsyscall/sys/__mkdir_extended.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_mkdir_extended
55+#error "SYS_mkdir_extended not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__mkdir_extended, mkdir_extended, 5, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__mkfifo_extended.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_mkfifo_extended
55+#error "SYS_mkfifo_extended not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__mkfifo_extended, mkfifo_extended, 5, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__mmap.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 28
22+#include "SYS.h"
33+44+#ifndef SYS_mmap
55+#error "SYS_mmap not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__mmap, mmap, 6, cerror_nocancel)
1010+#endif
1111+
+16
kernel/libsyscall/sys/__mprotect.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_mprotect
55+#error "SYS_mprotect not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__mprotect, mprotect, 3, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl mprotect
1414+ .set mprotect, __mprotect
1515+#endif
1616+
+16
kernel/libsyscall/sys/__msgctl.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_msgctl
55+#error "SYS_msgctl not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__msgctl, msgctl, 3, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl msgctl
1414+ .set msgctl, __msgctl
1515+#endif
1616+
+16
kernel/libsyscall/sys/__msgrcv_nocancel.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_msgrcv_nocancel
55+#error "SYS_msgrcv_nocancel not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__msgrcv_nocancel, msgrcv_nocancel, 5, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl msgrcv$NOCANCEL
1414+ .set msgrcv$NOCANCEL, __msgrcv_nocancel
1515+#endif
1616+
+16
kernel/libsyscall/sys/__msgsnd_nocancel.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_msgsnd_nocancel
55+#error "SYS_msgsnd_nocancel not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__msgsnd_nocancel, msgsnd_nocancel, 4, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl msgsnd$NOCANCEL
1414+ .set msgsnd$NOCANCEL, __msgsnd_nocancel
1515+#endif
1616+
+16
kernel/libsyscall/sys/__msgsys.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_msgsys
55+#error "SYS_msgsys not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__msgsys, msgsys, 5, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl msgsys
1414+ .set msgsys, __msgsys
1515+#endif
1616+
+16
kernel/libsyscall/sys/__msync.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_msync
55+#error "SYS_msync not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__msync, msync, 3, cerror)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl msync
1414+ .set msync, __msync
1515+#endif
1616+
+16
kernel/libsyscall/sys/__msync_nocancel.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_msync_nocancel
55+#error "SYS_msync_nocancel not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__msync_nocancel, msync_nocancel, 3, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl msync$NOCANCEL
1414+ .set msync$NOCANCEL, __msync_nocancel
1515+#endif
1616+
+11
kernel/libsyscall/sys/__munmap.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_munmap
55+#error "SYS_munmap not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__munmap, munmap, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__old_semwait_signal.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS___old_semwait_signal
55+#error "SYS___old_semwait_signal not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__old_semwait_signal, __old_semwait_signal, 5, cerror_nocancel)
1010+#endif
1111+
+16
kernel/libsyscall/sys/__open.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_open
55+#error "SYS_open not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__open, open, 3, cerror)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl open
1414+ .set open, __open
1515+#endif
1616+
+11
kernel/libsyscall/sys/__open_dprotected_np.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_open_dprotected_np
55+#error "SYS_open_dprotected_np not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__open_dprotected_np, open_dprotected_np, 5, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__open_extended.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 24
22+#include "SYS.h"
33+44+#ifndef SYS_open_extended
55+#error "SYS_open_extended not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__open_extended, open_extended, 6, cerror_nocancel)
1010+#endif
1111+
+16
kernel/libsyscall/sys/__open_nocancel.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_open_nocancel
55+#error "SYS_open_nocancel not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__open_nocancel, open_nocancel, 3, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl open$NOCANCEL
1414+ .set open$NOCANCEL, __open_nocancel
1515+#endif
1616+
+16
kernel/libsyscall/sys/__openat.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_openat
55+#error "SYS_openat not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__openat, openat, 4, cerror)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl openat
1414+ .set openat, __openat
1515+#endif
1616+
+16
kernel/libsyscall/sys/__openat_nocancel.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_openat_nocancel
55+#error "SYS_openat_nocancel not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__openat_nocancel, openat_nocancel, 4, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl openat$NOCANCEL
1414+ .set openat$NOCANCEL, __openat_nocancel
1515+#endif
1616+
+56
kernel/libsyscall/sys/__pipe.S
···11+/*
22+ * Copyright (c) 1999-2007 Apple Inc. All rights reserved.
33+ *
44+ * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
55+ *
66+ * This file contains Original Code and/or Modifications of Original Code
77+ * as defined in and that are subject to the Apple Public Source License
88+ * Version 2.0 (the 'License'). You may not use this file except in
99+ * compliance with the License. The rights granted to you under the License
1010+ * may not be used to create, or enable the creation or redistribution of,
1111+ * unlawful or unlicensed copies of an Apple operating system, or to
1212+ * circumvent, violate, or enable the circumvention or violation of, any
1313+ * terms of an Apple operating system software license agreement.
1414+ *
1515+ * Please obtain a copy of the License at
1616+ * http://www.opensource.apple.com/apsl/ and read it before using this file.
1717+ *
1818+ * The Original Code and all software distributed under the License are
1919+ * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2020+ * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2121+ * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2222+ * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2323+ * Please see the License for the specific language governing rights and
2424+ * limitations under the License.
2525+ *
2626+ * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2727+ */
2828+/* Copyright (c) 1992 NeXT Computer, Inc. All rights reserved. */
2929+3030+#include "SYS.h"
3131+3232+#if defined(__i386__)
3333+3434+PSEUDO_INT(___pipe, pipe, 0)
3535+ movl 4(%esp),%ecx
3636+ movl %eax,(%ecx)
3737+ movl %edx,4(%ecx)
3838+ xorl %eax,%eax
3939+ ret
4040+4141+#elif defined(__x86_64__)
4242+4343+PSEUDO(___pipe, pipe, 0, cerror_nocancel)
4444+ movl %eax, (%rdi)
4545+ movl %edx, 4(%rdi)
4646+ xorl %eax, %eax
4747+ ret
4848+4949+#else
5050+#error Unsupported architecture
5151+#endif
5252+#if defined(__x86_64__)
5353+ .globl pipe
5454+ .set pipe, __pipe
5555+#endif
5656+
+16
kernel/libsyscall/sys/__poll_nocancel.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_poll_nocancel
55+#error "SYS_poll_nocancel not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__poll_nocancel, poll_nocancel, 3, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl poll$NOCANCEL
1414+ .set poll$NOCANCEL, __poll_nocancel
1515+#endif
1616+
+11
kernel/libsyscall/sys/__posix_spawn.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_posix_spawn
55+#error "SYS_posix_spawn not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__posix_spawn, posix_spawn, 5, cerror)
1010+#endif
1111+
+16
kernel/libsyscall/sys/__pread_nocancel.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_pread_nocancel
55+#error "SYS_pread_nocancel not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__pread_nocancel, pread_nocancel, 4, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl pread$NOCANCEL
1414+ .set pread$NOCANCEL, __pread_nocancel
1515+#endif
1616+
+11
kernel/libsyscall/sys/__proc_info.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 28
22+#include "SYS.h"
33+44+#ifndef SYS_proc_info
55+#error "SYS_proc_info not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__proc_info, proc_info, 6, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__process_policy.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 32
22+#include "SYS.h"
33+44+#ifndef SYS_process_policy
55+#error "SYS_process_policy not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__process_policy, process_policy, 7, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__psynch_cvbroad.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 44
22+#include "SYS.h"
33+44+#ifndef SYS_psynch_cvbroad
55+#error "SYS_psynch_cvbroad not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__psynch_cvbroad, psynch_cvbroad, 7, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__psynch_cvclrprepost.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 28
22+#include "SYS.h"
33+44+#ifndef SYS_psynch_cvclrprepost
55+#error "SYS_psynch_cvclrprepost not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__psynch_cvclrprepost, psynch_cvclrprepost, 7, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__psynch_cvsignal.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 44
22+#include "SYS.h"
33+44+#ifndef SYS_psynch_cvsignal
55+#error "SYS_psynch_cvsignal not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__psynch_cvsignal, psynch_cvsignal, 8, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__psynch_cvwait.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 44
22+#include "SYS.h"
33+44+#ifndef SYS_psynch_cvwait
55+#error "SYS_psynch_cvwait not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__psynch_cvwait, psynch_cvwait, 8, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__psynch_mutexdrop.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 24
22+#include "SYS.h"
33+44+#ifndef SYS_psynch_mutexdrop
55+#error "SYS_psynch_mutexdrop not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__psynch_mutexdrop, psynch_mutexdrop, 5, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__psynch_mutexwait.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 24
22+#include "SYS.h"
33+44+#ifndef SYS_psynch_mutexwait
55+#error "SYS_psynch_mutexwait not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__psynch_mutexwait, psynch_mutexwait, 5, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__psynch_rw_downgrade.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_psynch_rw_downgrade
55+#error "SYS_psynch_rw_downgrade not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__psynch_rw_downgrade, psynch_rw_downgrade, 5, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__psynch_rw_longrdlock.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_psynch_rw_longrdlock
55+#error "SYS_psynch_rw_longrdlock not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__psynch_rw_longrdlock, psynch_rw_longrdlock, 5, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__psynch_rw_rdlock.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_psynch_rw_rdlock
55+#error "SYS_psynch_rw_rdlock not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__psynch_rw_rdlock, psynch_rw_rdlock, 5, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__psynch_rw_unlock.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_psynch_rw_unlock
55+#error "SYS_psynch_rw_unlock not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__psynch_rw_unlock, psynch_rw_unlock, 5, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__psynch_rw_unlock2.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_psynch_rw_unlock2
55+#error "SYS_psynch_rw_unlock2 not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__psynch_rw_unlock2, psynch_rw_unlock2, 5, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__psynch_rw_upgrade.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_psynch_rw_upgrade
55+#error "SYS_psynch_rw_upgrade not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__psynch_rw_upgrade, psynch_rw_upgrade, 5, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__psynch_rw_wrlock.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_psynch_rw_wrlock
55+#error "SYS_psynch_rw_wrlock not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__psynch_rw_wrlock, psynch_rw_wrlock, 5, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__psynch_rw_yieldwrlock.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_psynch_rw_yieldwrlock
55+#error "SYS_psynch_rw_yieldwrlock not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__psynch_rw_yieldwrlock, psynch_rw_yieldwrlock, 5, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__pthread_canceled.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS___pthread_canceled
55+#error "SYS___pthread_canceled not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__pthread_canceled, __pthread_canceled, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__pthread_chdir.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS___pthread_chdir
55+#error "SYS___pthread_chdir not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__pthread_chdir, __pthread_chdir, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__pthread_fchdir.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS___pthread_fchdir
55+#error "SYS___pthread_fchdir not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__pthread_fchdir, __pthread_fchdir, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__pthread_kill.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS___pthread_kill
55+#error "SYS___pthread_kill not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__pthread_kill, __pthread_kill, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__pthread_markcancel.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS___pthread_markcancel
55+#error "SYS___pthread_markcancel not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__pthread_markcancel, __pthread_markcancel, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__pthread_sigmask.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS___pthread_sigmask
55+#error "SYS___pthread_sigmask not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__pthread_sigmask, __pthread_sigmask, 3, cerror_nocancel)
1010+#endif
1111+
+60
kernel/libsyscall/sys/__ptrace.S
···11+/*
22+ * Copyright (c) 1999-2007 Apple Inc. All rights reserved.
33+ *
44+ * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
55+ *
66+ * This file contains Original Code and/or Modifications of Original Code
77+ * as defined in and that are subject to the Apple Public Source License
88+ * Version 2.0 (the 'License'). You may not use this file except in
99+ * compliance with the License. The rights granted to you under the License
1010+ * may not be used to create, or enable the creation or redistribution of,
1111+ * unlawful or unlicensed copies of an Apple operating system, or to
1212+ * circumvent, violate, or enable the circumvention or violation of, any
1313+ * terms of an Apple operating system software license agreement.
1414+ *
1515+ * Please obtain a copy of the License at
1616+ * http://www.opensource.apple.com/apsl/ and read it before using this file.
1717+ *
1818+ * The Original Code and all software distributed under the License are
1919+ * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2020+ * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2121+ * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2222+ * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2323+ * Please see the License for the specific language governing rights and
2424+ * limitations under the License.
2525+ *
2626+ * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2727+ */
2828+/* Copyright (c) 1992 NeXT Computer, Inc. All rights reserved. */
2929+3030+#include "SYS.h"
3131+3232+#if defined(__i386__)
3333+3434+ .globl _errno
3535+3636+LEAF(___ptrace, 0)
3737+ xorl %eax,%eax
3838+ REG_TO_EXTERN(%eax,_errno)
3939+ UNIX_SYSCALL_NONAME(ptrace, 4, cerror)
4040+ ret
4141+4242+#elif defined(__x86_64__)
4343+4444+ .globl _errno
4545+4646+LEAF(___ptrace, 0)
4747+ xorq %rax,%rax
4848+ PICIFY(_errno)
4949+ movl %eax,(%r11)
5050+ UNIX_SYSCALL_NONAME(ptrace, 4, cerror)
5151+ ret
5252+5353+#else
5454+#error Unsupported architecture
5555+#endif
5656+#if defined(__x86_64__)
5757+ .globl ptrace
5858+ .set ptrace, __ptrace
5959+#endif
6060+
+16
kernel/libsyscall/sys/__pwrite_nocancel.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_pwrite_nocancel
55+#error "SYS_pwrite_nocancel not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__pwrite_nocancel, pwrite_nocancel, 4, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl pwrite$NOCANCEL
1414+ .set pwrite$NOCANCEL, __pwrite_nocancel
1515+#endif
1616+
+16
kernel/libsyscall/sys/__read_nocancel.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_read_nocancel
55+#error "SYS_read_nocancel not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__read_nocancel, read_nocancel, 3, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl read$NOCANCEL
1414+ .set read$NOCANCEL, __read_nocancel
1515+#endif
1616+
+16
kernel/libsyscall/sys/__readv_nocancel.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_readv_nocancel
55+#error "SYS_readv_nocancel not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__readv_nocancel, readv_nocancel, 3, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl readv$NOCANCEL
1414+ .set readv$NOCANCEL, __readv_nocancel
1515+#endif
1616+
+16
kernel/libsyscall/sys/__recvfrom.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 24
22+#include "SYS.h"
33+44+#ifndef SYS_recvfrom
55+#error "SYS_recvfrom not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__recvfrom, recvfrom, 6, cerror)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl recvfrom
1414+ .set recvfrom, __recvfrom
1515+#endif
1616+
+16
kernel/libsyscall/sys/__recvfrom_nocancel.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 24
22+#include "SYS.h"
33+44+#ifndef SYS_recvfrom_nocancel
55+#error "SYS_recvfrom_nocancel not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__recvfrom_nocancel, recvfrom_nocancel, 6, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl recvfrom$NOCANCEL
1414+ .set recvfrom$NOCANCEL, __recvfrom_nocancel
1515+#endif
1616+
+16
kernel/libsyscall/sys/__recvmsg.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_recvmsg
55+#error "SYS_recvmsg not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__recvmsg, recvmsg, 3, cerror)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl recvmsg
1414+ .set recvmsg, __recvmsg
1515+#endif
1616+
+16
kernel/libsyscall/sys/__recvmsg_nocancel.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_recvmsg_nocancel
55+#error "SYS_recvmsg_nocancel not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__recvmsg_nocancel, recvmsg_nocancel, 3, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl recvmsg$NOCANCEL
1414+ .set recvmsg$NOCANCEL, __recvmsg_nocancel
1515+#endif
1616+
+11
kernel/libsyscall/sys/__rename.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_rename
55+#error "SYS_rename not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__rename, rename, 2, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__rename_ext.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_rename_ext
55+#error "SYS_rename_ext not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__rename_ext, rename_ext, 3, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__renameat.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_renameat
55+#error "SYS_renameat not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__renameat, renameat, 4, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__rmdir.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_rmdir
55+#error "SYS_rmdir not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__rmdir, rmdir, 1, cerror_nocancel)
1010+#endif
1111+
+16
kernel/libsyscall/sys/__select.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_select
55+#error "SYS_select not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__select, select, 5, cerror)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl select$DARWIN_EXTSN
1414+ .set select$DARWIN_EXTSN, __select
1515+#endif
1616+
+16
kernel/libsyscall/sys/__select_nocancel.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_select_nocancel
55+#error "SYS_select_nocancel not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__select_nocancel, select_nocancel, 5, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl select$DARWIN_EXTSN$NOCANCEL
1414+ .set select$DARWIN_EXTSN$NOCANCEL, __select_nocancel
1515+#endif
1616+
+16
kernel/libsyscall/sys/__sem_open.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_sem_open
55+#error "SYS_sem_open not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__sem_open, sem_open, 4, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl sem_open
1414+ .set sem_open, __sem_open
1515+#endif
1616+
+16
kernel/libsyscall/sys/__sem_wait_nocancel.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_sem_wait_nocancel
55+#error "SYS_sem_wait_nocancel not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__sem_wait_nocancel, sem_wait_nocancel, 1, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl sem_wait$NOCANCEL
1414+ .set sem_wait$NOCANCEL, __sem_wait_nocancel
1515+#endif
1616+
+16
kernel/libsyscall/sys/__semctl.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_semctl
55+#error "SYS_semctl not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__semctl, semctl, 4, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl semctl
1414+ .set semctl, __semctl
1515+#endif
1616+
+16
kernel/libsyscall/sys/__semsys.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_semsys
55+#error "SYS_semsys not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__semsys, semsys, 5, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl semsys
1414+ .set semsys, __semsys
1515+#endif
1616+
+11
kernel/libsyscall/sys/__semwait_signal.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 28
22+#include "SYS.h"
33+44+#ifndef SYS___semwait_signal
55+#error "SYS___semwait_signal not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__semwait_signal, __semwait_signal, 6, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__semwait_signal_nocancel.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 28
22+#include "SYS.h"
33+44+#ifndef SYS___semwait_signal_nocancel
55+#error "SYS___semwait_signal_nocancel not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__semwait_signal_nocancel, __semwait_signal_nocancel, 6, cerror_nocancel)
1010+#endif
1111+
+16
kernel/libsyscall/sys/__sendmsg.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_sendmsg
55+#error "SYS_sendmsg not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__sendmsg, sendmsg, 3, cerror)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl sendmsg
1414+ .set sendmsg, __sendmsg
1515+#endif
1616+
+16
kernel/libsyscall/sys/__sendmsg_nocancel.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_sendmsg_nocancel
55+#error "SYS_sendmsg_nocancel not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__sendmsg_nocancel, sendmsg_nocancel, 3, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl sendmsg$NOCANCEL
1414+ .set sendmsg$NOCANCEL, __sendmsg_nocancel
1515+#endif
1616+
+16
kernel/libsyscall/sys/__sendto.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 24
22+#include "SYS.h"
33+44+#ifndef SYS_sendto
55+#error "SYS_sendto not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__sendto, sendto, 6, cerror)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl sendto
1414+ .set sendto, __sendto
1515+#endif
1616+
+16
kernel/libsyscall/sys/__sendto_nocancel.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 24
22+#include "SYS.h"
33+44+#ifndef SYS_sendto_nocancel
55+#error "SYS_sendto_nocancel not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__sendto_nocancel, sendto_nocancel, 6, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl sendto$NOCANCEL
1414+ .set sendto$NOCANCEL, __sendto_nocancel
1515+#endif
1616+
+16
kernel/libsyscall/sys/__setattrlist.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_setattrlist
55+#error "SYS_setattrlist not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__setattrlist, setattrlist, 5, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl setattrlist
1414+ .set setattrlist, __setattrlist
1515+#endif
1616+
+11
kernel/libsyscall/sys/__setlcid.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_setlcid
55+#error "SYS_setlcid not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__setlcid, setlcid, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__setlogin.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_setlogin
55+#error "SYS_setlogin not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__setlogin, setlogin, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__setpriority.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_setpriority
55+#error "SYS_setpriority not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__setpriority, setpriority, 3, cerror_nocancel)
1010+#endif
1111+
+16
kernel/libsyscall/sys/__setregid.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_setregid
55+#error "SYS_setregid not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__setregid, setregid, 2, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl setregid
1414+ .set setregid, __setregid
1515+#endif
1616+
+16
kernel/libsyscall/sys/__setreuid.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_setreuid
55+#error "SYS_setreuid not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__setreuid, setreuid, 2, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl setreuid
1414+ .set setreuid, __setreuid
1515+#endif
1616+
+11
kernel/libsyscall/sys/__setrlimit.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_setrlimit
55+#error "SYS_setrlimit not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__setrlimit, setrlimit, 2, cerror_nocancel)
1010+#endif
1111+
+16
kernel/libsyscall/sys/__setsgroups.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_setsgroups
55+#error "SYS_setsgroups not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__setsgroups, setsgroups, 2, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl setsgroups_np
1414+ .set setsgroups_np, __setsgroups
1515+#endif
1616+
+16
kernel/libsyscall/sys/__settid.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_settid
55+#error "SYS_settid not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__settid, settid, 2, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl pthread_setugid_np
1414+ .set pthread_setugid_np, __settid
1515+#endif
1616+
+11
kernel/libsyscall/sys/__settid_with_pid.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_settid_with_pid
55+#error "SYS_settid_with_pid not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__settid_with_pid, settid_with_pid, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__settimeofday.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_settimeofday
55+#error "SYS_settimeofday not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__settimeofday, settimeofday, 2, cerror_nocancel)
1010+#endif
1111+
+16
kernel/libsyscall/sys/__setwgroups.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_setwgroups
55+#error "SYS_setwgroups not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__setwgroups, setwgroups, 2, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl setwgroups_np
1414+ .set setwgroups_np, __setwgroups
1515+#endif
1616+
+11
kernel/libsyscall/sys/__sfi_ctl.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_sfi_ctl
55+#error "SYS_sfi_ctl not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__sfi_ctl, sfi_ctl, 4, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__sfi_pidctl.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_sfi_pidctl
55+#error "SYS_sfi_pidctl not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__sfi_pidctl, sfi_pidctl, 4, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__shared_region_check_np.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_shared_region_check_np
55+#error "SYS_shared_region_check_np not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__shared_region_check_np, shared_region_check_np, 1, cerror_nocancel)
1010+#endif
1111+
···11+#define __SYSCALL_32BIT_ARG_BYTES 24
22+#include "SYS.h"
33+44+#ifndef SYS_shared_region_map_and_slide_np
55+#error "SYS_shared_region_map_and_slide_np not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__shared_region_map_and_slide_np, shared_region_map_and_slide_np, 6, cerror_nocancel)
1010+#endif
1111+
+16
kernel/libsyscall/sys/__shm_open.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_shm_open
55+#error "SYS_shm_open not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__shm_open, shm_open, 3, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl shm_open
1414+ .set shm_open, __shm_open
1515+#endif
1616+
+16
kernel/libsyscall/sys/__shmctl.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_shmctl
55+#error "SYS_shmctl not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__shmctl, shmctl, 3, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl shmctl
1414+ .set shmctl, __shmctl
1515+#endif
1616+
+16
kernel/libsyscall/sys/__shmsys.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_shmsys
55+#error "SYS_shmsys not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__shmsys, shmsys, 4, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl shmsys
1414+ .set shmsys, __shmsys
1515+#endif
1616+
+11
kernel/libsyscall/sys/__sigaction.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_sigaction
55+#error "SYS_sigaction not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__sigaction, sigaction, 3, cerror_nocancel)
1010+#endif
1111+
+41
kernel/libsyscall/sys/__sigaltstack.S
···11+/*
22+ * Copyright (c) 1999-2007 Apple Inc. All rights reserved.
33+ *
44+ * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
55+ *
66+ * This file contains Original Code and/or Modifications of Original Code
77+ * as defined in and that are subject to the Apple Public Source License
88+ * Version 2.0 (the 'License'). You may not use this file except in
99+ * compliance with the License. The rights granted to you under the License
1010+ * may not be used to create, or enable the creation or redistribution of,
1111+ * unlawful or unlicensed copies of an Apple operating system, or to
1212+ * circumvent, violate, or enable the circumvention or violation of, any
1313+ * terms of an Apple operating system software license agreement.
1414+ *
1515+ * Please obtain a copy of the License at
1616+ * http://www.opensource.apple.com/apsl/ and read it before using this file.
1717+ *
1818+ * The Original Code and all software distributed under the License are
1919+ * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2020+ * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2121+ * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2222+ * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2323+ * Please see the License for the specific language governing rights and
2424+ * limitations under the License.
2525+ *
2626+ * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2727+ */
2828+2929+#include "SYS.h"
3030+3131+#if defined(__x86_64__)
3232+3333+__SYSCALL(___sigaltstack, sigaltstack, 3)
3434+3535+#elif defined(__i386__)
3636+3737+__SYSCALL_INT(___sigaltstack, sigaltstack, 3)
3838+3939+#else
4040+#error Unsupported architecture
4141+#endif
+41
kernel/libsyscall/sys/__sigreturn.S
···11+/*
22+ * Copyright (c) 1999-2007 Apple Inc. All rights reserved.
33+ *
44+ * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
55+ *
66+ * This file contains Original Code and/or Modifications of Original Code
77+ * as defined in and that are subject to the Apple Public Source License
88+ * Version 2.0 (the 'License'). You may not use this file except in
99+ * compliance with the License. The rights granted to you under the License
1010+ * may not be used to create, or enable the creation or redistribution of,
1111+ * unlawful or unlicensed copies of an Apple operating system, or to
1212+ * circumvent, violate, or enable the circumvention or violation of, any
1313+ * terms of an Apple operating system software license agreement.
1414+ *
1515+ * Please obtain a copy of the License at
1616+ * http://www.opensource.apple.com/apsl/ and read it before using this file.
1717+ *
1818+ * The Original Code and all software distributed under the License are
1919+ * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2020+ * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2121+ * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2222+ * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2323+ * Please see the License for the specific language governing rights and
2424+ * limitations under the License.
2525+ *
2626+ * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2727+ */
2828+2929+#include "SYS.h"
3030+3131+#if defined(__x86_64__)
3232+3333+__SYSCALL(___sigreturn, sigreturn, 2)
3434+3535+#elif defined(__i386__)
3636+3737+__SYSCALL_INT(___sigreturn, sigreturn, 2)
3838+3939+#else
4040+#error Unsupported architecture
4141+#endif
+11
kernel/libsyscall/sys/__sigsuspend.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_sigsuspend
55+#error "SYS_sigsuspend not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__sigsuspend, sigsuspend, 1, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__sigsuspend_nocancel.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_sigsuspend_nocancel
55+#error "SYS_sigsuspend_nocancel not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__sigsuspend_nocancel, sigsuspend_nocancel, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__sigwait.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS___sigwait
55+#error "SYS___sigwait not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__sigwait, __sigwait, 2, cerror)
1010+#endif
1111+
+16
kernel/libsyscall/sys/__socketpair.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_socketpair
55+#error "SYS_socketpair not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__socketpair, socketpair, 4, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl socketpair
1414+ .set socketpair, __socketpair
1515+#endif
1616+
+11
kernel/libsyscall/sys/__stack_snapshot.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_stack_snapshot
55+#error "SYS_stack_snapshot not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__stack_snapshot, stack_snapshot, 5, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__stat64_extended.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_stat64_extended
55+#error "SYS_stat64_extended not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__stat64_extended, stat64_extended, 4, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__stat_extended.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_stat_extended
55+#error "SYS_stat_extended not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__stat_extended, stat_extended, 4, cerror_nocancel)
1010+#endif
1111+
+60
kernel/libsyscall/sys/__syscall.S
···11+/*
22+ * Copyright (c) 1999-2007 Apple Inc. All rights reserved.
33+ *
44+ * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
55+ *
66+ * This file contains Original Code and/or Modifications of Original Code
77+ * as defined in and that are subject to the Apple Public Source License
88+ * Version 2.0 (the 'License'). You may not use this file except in
99+ * compliance with the License. The rights granted to you under the License
1010+ * may not be used to create, or enable the creation or redistribution of,
1111+ * unlawful or unlicensed copies of an Apple operating system, or to
1212+ * circumvent, violate, or enable the circumvention or violation of, any
1313+ * terms of an Apple operating system software license agreement.
1414+ *
1515+ * Please obtain a copy of the License at
1616+ * http://www.opensource.apple.com/apsl/ and read it before using this file.
1717+ *
1818+ * The Original Code and all software distributed under the License are
1919+ * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2020+ * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2121+ * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2222+ * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2323+ * Please see the License for the specific language governing rights and
2424+ * limitations under the License.
2525+ *
2626+ * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2727+ */
2828+/* Copyright (c) 1992 NeXT Computer, Inc. All rights reserved. */
2929+3030+#include "SYS.h"
3131+3232+#if defined(__i386__)
3333+3434+LEAF(___syscall, 0)
3535+ popl %ecx // ret addr
3636+ popl %eax // syscall number
3737+ pushl %ecx
3838+ UNIX_SYSCALL_TRAP
3939+ movl (%esp),%edx // add one element to stack so
4040+ pushl %ecx // caller "pop" will work
4141+ jnb 2f
4242+ BRANCH_EXTERN(tramp_cerror)
4343+2:
4444+END(___syscall)
4545+4646+#elif defined(__x86_64__)
4747+4848+// For x86-64, the kernel slides the argument list for us.
4949+// The number of arguments here is variable, but our macros ignore
5050+// that value anyway.
5151+__SYSCALL(___syscall, syscall, 0);
5252+5353+#else
5454+#error Unsupported architecture
5555+#endif
5656+#if defined(__x86_64__)
5757+ .globl syscall
5858+ .set syscall, __syscall
5959+#endif
6060+
+11
kernel/libsyscall/sys/__sysctl.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 24
22+#include "SYS.h"
33+44+#ifndef SYS_sysctl
55+#error "SYS_sysctl not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__sysctl, sysctl, 6, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__sysctlbyname.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 24
22+#include "SYS.h"
33+44+#ifndef SYS_sysctlbyname
55+#error "SYS_sysctlbyname not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__sysctlbyname, sysctlbyname, 6, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__telemetry.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 48
22+#include "SYS.h"
33+44+#ifndef SYS_telemetry
55+#error "SYS_telemetry not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__telemetry, telemetry, 6, cerror_nocancel)
1010+#endif
1111+
+39
kernel/libsyscall/sys/__thread_selfid.S
···11+/*
22+ * Copyright (c) 1999-2007 Apple Inc. All rights reserved.
33+ *
44+ * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
55+ *
66+ * This file contains Original Code and/or Modifications of Original Code
77+ * as defined in and that are subject to the Apple Public Source License
88+ * Version 2.0 (the 'License'). You may not use this file except in
99+ * compliance with the License. The rights granted to you under the License
1010+ * may not be used to create, or enable the creation or redistribution of,
1111+ * unlawful or unlicensed copies of an Apple operating system, or to
1212+ * circumvent, violate, or enable the circumvention or violation of, any
1313+ * terms of an Apple operating system software license agreement.
1414+ *
1515+ * Please obtain a copy of the License at
1616+ * http://www.opensource.apple.com/apsl/ and read it before using this file.
1717+ *
1818+ * The Original Code and all software distributed under the License are
1919+ * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2020+ * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2121+ * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2222+ * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2323+ * Please see the License for the specific language governing rights and
2424+ * limitations under the License.
2525+ *
2626+ * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2727+ */
2828+2929+#include "SYS.h"
3030+3131+#if defined(__x86_64__)
3232+3333+__SYSCALL(___thread_selfid, thread_selfid, 0)
3434+3535+#elif defined(__i386__)
3636+3737+__SYSCALL_INT(___thread_selfid, thread_selfid, 0)
3838+3939+#endif
+39
kernel/libsyscall/sys/__thread_selfusage.S
···11+/*
22+ * Copyright (c) 2014 Apple Inc. All rights reserved.
33+ *
44+ * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
55+ *
66+ * This file contains Original Code and/or Modifications of Original Code
77+ * as defined in and that are subject to the Apple Public Source License
88+ * Version 2.0 (the 'License'). You may not use this file except in
99+ * compliance with the License. The rights granted to you under the License
1010+ * may not be used to create, or enable the creation or redistribution of,
1111+ * unlawful or unlicensed copies of an Apple operating system, or to
1212+ * circumvent, violate, or enable the circumvention or violation of, any
1313+ * terms of an Apple operating system software license agreement.
1414+ *
1515+ * Please obtain a copy of the License at
1616+ * http://www.opensource.apple.com/apsl/ and read it before using this file.
1717+ *
1818+ * The Original Code and all software distributed under the License are
1919+ * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2020+ * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2121+ * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2222+ * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2323+ * Please see the License for the specific language governing rights and
2424+ * limitations under the License.
2525+ *
2626+ * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2727+ */
2828+2929+#include "SYS.h"
3030+3131+#if defined(__x86_64__)
3232+3333+__SYSCALL(___thread_selfusage, thread_selfusage, 0)
3434+3535+#elif defined(__i386__)
3636+3737+__SYSCALL_INT(___thread_selfusage, thread_selfusage, 0)
3838+3939+#endif
+11
kernel/libsyscall/sys/__umask_extended.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_umask_extended
55+#error "SYS_umask_extended not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__umask_extended, umask_extended, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__unlink.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_unlink
55+#error "SYS_unlink not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__unlink, unlink, 1, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__unlinkat.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_unlinkat
55+#error "SYS_unlinkat not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__unlinkat, unlinkat, 3, cerror)
1010+#endif
1111+
+138
kernel/libsyscall/sys/__vfork.S
···11+/*
22+ * Copyright (c) 1999-2007 Apple Inc. All rights reserved.
33+ *
44+ * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
55+ *
66+ * This file contains Original Code and/or Modifications of Original Code
77+ * as defined in and that are subject to the Apple Public Source License
88+ * Version 2.0 (the 'License'). You may not use this file except in
99+ * compliance with the License. The rights granted to you under the License
1010+ * may not be used to create, or enable the creation or redistribution of,
1111+ * unlawful or unlicensed copies of an Apple operating system, or to
1212+ * circumvent, violate, or enable the circumvention or violation of, any
1313+ * terms of an Apple operating system software license agreement.
1414+ *
1515+ * Please obtain a copy of the License at
1616+ * http://www.opensource.apple.com/apsl/ and read it before using this file.
1717+ *
1818+ * The Original Code and all software distributed under the License are
1919+ * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2020+ * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2121+ * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2222+ * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2323+ * Please see the License for the specific language governing rights and
2424+ * limitations under the License.
2525+ *
2626+ * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2727+ */
2828+/* Copyright (c) 1998 Apple Computer, Inc. All rights reserved.
2929+ *
3030+ * File: libc/ppc/sys/vfork.s
3131+ *
3232+ * HISTORY
3333+ * 23-Jun-1998 Umesh Vaishampayan (umeshv@apple.com)
3434+ * Created from fork.s
3535+ *
3636+ */
3737+3838+#include "SYS.h"
3939+4040+#if defined(__i386__)
4141+4242+#if defined(__DYNAMIC__)
4343+#define GET_CURRENT_PID PICIFY(__current_pid)
4444+4545+ NON_LAZY_STUB(__current_pid)
4646+#define __current_pid (%edx)
4747+#else
4848+#define GET_CURRENT_PID
4949+#endif
5050+5151+/*
5252+ * If __current_pid >= 0, we want to put a -1 in there
5353+ * otherwise we just decrement it
5454+ */
5555+5656+LEAF(___vfork, 0)
5757+ GET_CURRENT_PID
5858+ movl __current_pid, %eax
5959+0:
6060+ xorl %ecx, %ecx
6161+ testl %eax, %eax
6262+ cmovs %eax, %ecx
6363+ decl %ecx
6464+ lock
6565+ cmpxchgl %ecx, __current_pid
6666+ jne 0b
6767+ popl %ecx
6868+ movl $(SYS_vfork), %eax // code for vfork -> eax
6969+ UNIX_SYSCALL_TRAP // do the system call
7070+ jnb L1 // jump if CF==0
7171+ GET_CURRENT_PID
7272+ lock
7373+ incl __current_pid
7474+ pushl %ecx
7575+ BRANCH_EXTERN(tramp_cerror)
7676+7777+L1:
7878+ testl %edx, %edx // CF=OF=0, ZF set if zero result
7979+ jz L2 // parent, since r1 == 0 in parent, 1 in child
8080+ xorl %eax, %eax // zero eax
8181+ jmp *%ecx
8282+8383+L2:
8484+ GET_CURRENT_PID
8585+ lock
8686+ incl __current_pid
8787+ jmp *%ecx
8888+8989+#elif defined(__x86_64__)
9090+9191+/*
9292+ * If __current_pid >= 0, we want to put a -1 in there
9393+ * otherwise we just decrement it
9494+ */
9595+9696+LEAF(___vfork, 0)
9797+ movq __current_pid@GOTPCREL(%rip), %rax
9898+ movl (%rax), %eax
9999+0:
100100+ xorl %ecx, %ecx
101101+ testl %eax, %eax
102102+ cmovs %eax, %ecx
103103+ subl $1, %ecx
104104+ movq __current_pid@GOTPCREL(%rip), %rdx
105105+ lock
106106+ cmpxchgl %ecx, (%rdx)
107107+ jne 0b
108108+ popq %rdi // return address in %rdi
109109+ movq $ SYSCALL_CONSTRUCT_UNIX(SYS_vfork), %rax // code for vfork -> rax
110110+ UNIX_SYSCALL_TRAP // do the system call
111111+ jnb L1 // jump if CF==0
112112+ pushq %rdi // put return address back on stack for cerror
113113+ movq __current_pid@GOTPCREL(%rip), %rcx
114114+ lock
115115+ addq $1, (%rcx)
116116+ movq %rax, %rdi
117117+ BRANCH_EXTERN(_cerror)
118118+119119+L1:
120120+ testl %edx, %edx // CF=OF=0, ZF set if zero result
121121+ jz L2 // parent, since r1 == 0 in parent, 1 in child
122122+ xorq %rax, %rax // zero rax
123123+ jmp *%rdi
124124+125125+L2:
126126+ movq __current_pid@GOTPCREL(%rip), %rdx
127127+ lock
128128+ addq $1, (%rdx)
129129+ jmp *%rdi
130130+131131+#else
132132+#error Unsupported architecture
133133+#endif
134134+#if defined(__x86_64__)
135135+ .globl vfork
136136+ .set vfork, __vfork
137137+#endif
138138+
+11
kernel/libsyscall/sys/__wait4.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_wait4
55+#error "SYS_wait4 not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__wait4, wait4, 4, cerror)
1010+#endif
1111+
+16
kernel/libsyscall/sys/__wait4_nocancel.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_wait4_nocancel
55+#error "SYS_wait4_nocancel not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__wait4_nocancel, wait4_nocancel, 4, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl wait4
1414+ .set wait4, __wait4_nocancel
1515+#endif
1616+
+16
kernel/libsyscall/sys/__waitid_nocancel.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_waitid_nocancel
55+#error "SYS_waitid_nocancel not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__waitid_nocancel, waitid_nocancel, 4, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl waitid$NOCANCEL
1414+ .set waitid$NOCANCEL, __waitid_nocancel
1515+#endif
1616+
+11
kernel/libsyscall/sys/__workq_kernreturn.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_workq_kernreturn
55+#error "SYS_workq_kernreturn not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__workq_kernreturn, workq_kernreturn, 4, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/__workq_open.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 0
22+#include "SYS.h"
33+44+#ifndef SYS_workq_open
55+#error "SYS_workq_open not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__workq_open, workq_open, 0, cerror_nocancel)
1010+#endif
1111+
+16
kernel/libsyscall/sys/__write_nocancel.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_write_nocancel
55+#error "SYS_write_nocancel not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__write_nocancel, write_nocancel, 3, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl write$NOCANCEL
1414+ .set write$NOCANCEL, __write_nocancel
1515+#endif
1616+
+16
kernel/libsyscall/sys/__writev_nocancel.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_writev_nocancel
55+#error "SYS_writev_nocancel not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(__writev_nocancel, writev_nocancel, 3, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl writev$NOCANCEL
1414+ .set writev$NOCANCEL, __writev_nocancel
1515+#endif
1616+
+11
kernel/libsyscall/sys/access.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_access
55+#error "SYS_access not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(access, access, 2, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/acct.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_acct
55+#error "SYS_acct not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(acct, acct, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/adjtime.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_adjtime
55+#error "SYS_adjtime not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(adjtime, adjtime, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/aio_cancel.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_aio_cancel
55+#error "SYS_aio_cancel not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(aio_cancel, aio_cancel, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/aio_error.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_aio_error
55+#error "SYS_aio_error not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(aio_error, aio_error, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/aio_fsync.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_aio_fsync
55+#error "SYS_aio_fsync not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(aio_fsync, aio_fsync, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/aio_read.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_aio_read
55+#error "SYS_aio_read not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(aio_read, aio_read, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/aio_return.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_aio_return
55+#error "SYS_aio_return not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(aio_return, aio_return, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/aio_suspend.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_aio_suspend
55+#error "SYS_aio_suspend not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(aio_suspend, aio_suspend, 3, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/aio_write.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_aio_write
55+#error "SYS_aio_write not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(aio_write, aio_write, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/audit.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_audit
55+#error "SYS_audit not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(audit, audit, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/audit_session_join.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_audit_session_join
55+#error "SYS_audit_session_join not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(audit_session_join, audit_session_join, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/audit_session_port.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_audit_session_port
55+#error "SYS_audit_session_port not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(audit_session_port, audit_session_port, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/audit_session_self.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 0
22+#include "SYS.h"
33+44+#ifndef SYS_audit_session_self
55+#error "SYS_audit_session_self not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(audit_session_self, audit_session_self, 0, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/auditctl.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_auditctl
55+#error "SYS_auditctl not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(auditctl, auditctl, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/auditon.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_auditon
55+#error "SYS_auditon not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(auditon, auditon, 3, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/change_fdguard_np.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 24
22+#include "SYS.h"
33+44+#ifndef SYS_change_fdguard_np
55+#error "SYS_change_fdguard_np not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(change_fdguard_np, change_fdguard_np, 6, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/chdir.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_chdir
55+#error "SYS_chdir not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(chdir, chdir, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/chflags.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_chflags
55+#error "SYS_chflags not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(chflags, chflags, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/chown.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_chown
55+#error "SYS_chown not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(chown, chown, 3, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/chroot.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_chroot
55+#error "SYS_chroot not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(chroot, chroot, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/close.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_close
55+#error "SYS_close not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(close, close, 1, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/connectx.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 32
22+#include "SYS.h"
33+44+#ifndef SYS_connectx
55+#error "SYS_connectx not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(connectx, connectx, 8, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/csops.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_csops
55+#error "SYS_csops not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(csops, csops, 4, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/csops_audittoken.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_csops_audittoken
55+#error "SYS_csops_audittoken not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(csops_audittoken, csops_audittoken, 5, cerror_nocancel)
1010+#endif
1111+
+107
kernel/libsyscall/sys/custom.S
···11+/*
22+ * Copyright (c) 1999-2011 Apple Inc. All rights reserved.
33+ *
44+ * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
55+ *
66+ * This file contains Original Code and/or Modifications of Original Code
77+ * as defined in and that are subject to the Apple Public Source License
88+ * Version 2.0 (the 'License'). You may not use this file except in
99+ * compliance with the License. The rights granted to you under the License
1010+ * may not be used to create, or enable the creation or redistribution of,
1111+ * unlawful or unlicensed copies of an Apple operating system, or to
1212+ * circumvent, violate, or enable the circumvention or violation of, any
1313+ * terms of an Apple operating system software license agreement.
1414+ *
1515+ * Please obtain a copy of the License at
1616+ * http://www.opensource.apple.com/apsl/ and read it before using this file.
1717+ *
1818+ * The Original Code and all software distributed under the License are
1919+ * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
2020+ * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
2121+ * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2222+ * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
2323+ * Please see the License for the specific language governing rights and
2424+ * limitations under the License.
2525+ *
2626+ * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
2727+ */
2828+/* Copyright (c) 1992 NeXT Computer, Inc. All rights reserved.
2929+ */
3030+3131+#include "SYS.h"
3232+3333+#if defined(__i386__)
3434+3535+/*
3636+ * i386 needs custom assembly to transform the return from syscalls
3737+ * into a proper stack for a function call out to cerror{,_nocancel}.
3838+ */
3939+4040+LABEL(tramp_cerror)
4141+ mov %esp, %edx
4242+ andl $0xfffffff0, %esp
4343+ subl $16, %esp
4444+ movl %edx, 4(%esp)
4545+ movl %eax, (%esp)
4646+ CALL_EXTERN(_cerror)
4747+ movl 4(%esp), %esp
4848+ ret
4949+5050+LABEL(tramp_cerror_nocancel)
5151+ mov %esp, %edx
5252+ andl $0xfffffff0, %esp
5353+ subl $16, %esp
5454+ movl %edx, 4(%esp)
5555+ movl %eax, (%esp)
5656+ CALL_EXTERN(_cerror_nocancel)
5757+ movl 4(%esp), %esp
5858+ ret
5959+6060+LABEL(__sysenter_trap)
6161+ popl %edx
6262+ movl %esp, %ecx
6363+ sysenter
6464+6565+ .globl _i386_get_ldt
6666+ ALIGN
6767+_i386_get_ldt:
6868+ movl $6,%eax
6969+ MACHDEP_SYSCALL_TRAP
7070+ jnb 2f
7171+ jmp tramp_cerror
7272+2: ret
7373+7474+7575+ .globl _i386_set_ldt
7676+ ALIGN
7777+_i386_set_ldt:
7878+ movl $5,%eax
7979+ MACHDEP_SYSCALL_TRAP
8080+ jnb 2f
8181+ jmp tramp_cerror
8282+2: ret
8383+8484+#elif defined(__x86_64__)
8585+8686+ .globl _i386_get_ldt
8787+ ALIGN
8888+_i386_get_ldt:
8989+ movl $6,%eax
9090+ MACHDEP_SYSCALL_TRAP
9191+ jnb 2f
9292+ movq %rax, %rdi
9393+ jmp _cerror
9494+2: ret
9595+9696+9797+ .globl _i386_set_ldt
9898+ ALIGN
9999+_i386_set_ldt:
100100+ movl $5,%eax
101101+ MACHDEP_SYSCALL_TRAP
102102+ jnb 2f
103103+ movq %rax, %rdi
104104+ jmp _cerror
105105+2: ret
106106+107107+#endif
+11
kernel/libsyscall/sys/disconnectx.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_disconnectx
55+#error "SYS_disconnectx not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(disconnectx, disconnectx, 3, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/dup.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_dup
55+#error "SYS_dup not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(dup, dup, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/dup2.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_dup2
55+#error "SYS_dup2 not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(dup2, dup2, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/exchangedata.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_exchangedata
55+#error "SYS_exchangedata not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(exchangedata, exchangedata, 3, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/execve.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_execve
55+#error "SYS_execve not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(execve, execve, 3, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/faccessat.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_faccessat
55+#error "SYS_faccessat not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(faccessat, faccessat, 4, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/fchdir.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_fchdir
55+#error "SYS_fchdir not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(fchdir, fchdir, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/fchflags.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_fchflags
55+#error "SYS_fchflags not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(fchflags, fchflags, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/fchmodat.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_fchmodat
55+#error "SYS_fchmodat not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(fchmodat, fchmodat, 4, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/fchown.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_fchown
55+#error "SYS_fchown not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(fchown, fchown, 3, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/fchownat.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_fchownat
55+#error "SYS_fchownat not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(fchownat, fchownat, 5, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/fdatasync.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_fdatasync
55+#error "SYS_fdatasync not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(fdatasync, fdatasync, 1, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/ffsctl.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_ffsctl
55+#error "SYS_ffsctl not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(ffsctl, ffsctl, 4, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/fgetattrlist.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_fgetattrlist
55+#error "SYS_fgetattrlist not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(fgetattrlist, fgetattrlist, 5, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/fgetxattr.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 24
22+#include "SYS.h"
33+44+#ifndef SYS_fgetxattr
55+#error "SYS_fgetxattr not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(fgetxattr, fgetxattr, 6, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/fhopen.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_fhopen
55+#error "SYS_fhopen not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(fhopen, fhopen, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/fileport_makefd.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_fileport_makefd
55+#error "SYS_fileport_makefd not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(fileport_makefd, fileport_makefd, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/fileport_makeport.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_fileport_makeport
55+#error "SYS_fileport_makeport not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(fileport_makeport, fileport_makeport, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/flistxattr.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_flistxattr
55+#error "SYS_flistxattr not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(flistxattr, flistxattr, 4, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/flock.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_flock
55+#error "SYS_flock not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(flock, flock, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/fpathconf.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_fpathconf
55+#error "SYS_fpathconf not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(fpathconf, fpathconf, 2, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/fremovexattr.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_fremovexattr
55+#error "SYS_fremovexattr not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(fremovexattr, fremovexattr, 3, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/fsctl.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_fsctl
55+#error "SYS_fsctl not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(fsctl, fsctl, 4, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/fsetattrlist.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_fsetattrlist
55+#error "SYS_fsetattrlist not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(fsetattrlist, fsetattrlist, 5, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/fsetxattr.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 24
22+#include "SYS.h"
33+44+#ifndef SYS_fsetxattr
55+#error "SYS_fsetxattr not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(fsetxattr, fsetxattr, 6, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/fstat.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_fstat
55+#error "SYS_fstat not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(fstat, fstat, 2, cerror)
1010+#endif
1111+
+16
kernel/libsyscall/sys/fstat64.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_fstat64
55+#error "SYS_fstat64 not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(fstat64, fstat64, 2, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl fstat$INODE64
1414+ .set fstat$INODE64, fstat64
1515+#endif
1616+
+11
kernel/libsyscall/sys/fstatat.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_fstatat
55+#error "SYS_fstatat not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(fstatat, fstatat, 4, cerror)
1010+#endif
1111+
+16
kernel/libsyscall/sys/fstatat64.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_fstatat64
55+#error "SYS_fstatat64 not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(fstatat64, fstatat64, 4, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl fstatat$INODE64
1414+ .set fstatat$INODE64, fstatat64
1515+#endif
1616+
+11
kernel/libsyscall/sys/fstatfs.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_fstatfs
55+#error "SYS_fstatfs not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(fstatfs, fstatfs, 2, cerror_nocancel)
1010+#endif
1111+
+16
kernel/libsyscall/sys/fstatfs64.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_fstatfs64
55+#error "SYS_fstatfs64 not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(fstatfs64, fstatfs64, 2, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl fstatfs$INODE64
1414+ .set fstatfs$INODE64, fstatfs64
1515+#endif
1616+
+11
kernel/libsyscall/sys/fsync.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_fsync
55+#error "SYS_fsync not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(fsync, fsync, 1, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/ftruncate.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_ftruncate
55+#error "SYS_ftruncate not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(ftruncate, ftruncate, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/futimes.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_futimes
55+#error "SYS_futimes not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(futimes, futimes, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/getattrlistat.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 24
22+#include "SYS.h"
33+44+#ifndef SYS_getattrlistat
55+#error "SYS_getattrlistat not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(getattrlistat, getattrlistat, 6, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/getattrlistbulk.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 24
22+#include "SYS.h"
33+44+#ifndef SYS_getattrlistbulk
55+#error "SYS_getattrlistbulk not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(getattrlistbulk, getattrlistbulk, 5, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/getaudit_addr.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_getaudit_addr
55+#error "SYS_getaudit_addr not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(getaudit_addr, getaudit_addr, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/getauid.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_getauid
55+#error "SYS_getauid not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(getauid, getauid, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/getdirentries.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_getdirentries
55+#error "SYS_getdirentries not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(getdirentries, getdirentries, 4, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/getdirentriesattr.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 32
22+#include "SYS.h"
33+44+#ifndef SYS_getdirentriesattr
55+#error "SYS_getdirentriesattr not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(getdirentriesattr, getdirentriesattr, 8, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/getdtablesize.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 0
22+#include "SYS.h"
33+44+#ifndef SYS_getdtablesize
55+#error "SYS_getdtablesize not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(getdtablesize, getdtablesize, 0, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/getegid.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 0
22+#include "SYS.h"
33+44+#ifndef SYS_getegid
55+#error "SYS_getegid not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(getegid, getegid, 0, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/geteuid.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 0
22+#include "SYS.h"
33+44+#ifndef SYS_geteuid
55+#error "SYS_geteuid not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(geteuid, geteuid, 0, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/getfh.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_getfh
55+#error "SYS_getfh not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(getfh, getfh, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/getfsstat.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_getfsstat
55+#error "SYS_getfsstat not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(getfsstat, getfsstat, 3, cerror_nocancel)
1010+#endif
1111+
+16
kernel/libsyscall/sys/getfsstat64.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_getfsstat64
55+#error "SYS_getfsstat64 not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(getfsstat64, getfsstat64, 3, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl getfsstat$INODE64
1414+ .set getfsstat$INODE64, getfsstat64
1515+#endif
1616+
+11
kernel/libsyscall/sys/getgid.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 0
22+#include "SYS.h"
33+44+#ifndef SYS_getgid
55+#error "SYS_getgid not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(getgid, getgid, 0, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/getgroups.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_getgroups
55+#error "SYS_getgroups not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(getgroups, getgroups, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/getitimer.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_getitimer
55+#error "SYS_getitimer not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(getitimer, getitimer, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/getpgid.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_getpgid
55+#error "SYS_getpgid not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(getpgid, getpgid, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/getpgrp.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 0
22+#include "SYS.h"
33+44+#ifndef SYS_getpgrp
55+#error "SYS_getpgrp not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(getpgrp, getpgrp, 0, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/getppid.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 0
22+#include "SYS.h"
33+44+#ifndef SYS_getppid
55+#error "SYS_getppid not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(getppid, getppid, 0, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/getpriority.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_getpriority
55+#error "SYS_getpriority not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(getpriority, getpriority, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/getrusage.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_getrusage
55+#error "SYS_getrusage not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(getrusage, getrusage, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/getsid.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_getsid
55+#error "SYS_getsid not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(getsid, getsid, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/getsockopt.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_getsockopt
55+#error "SYS_getsockopt not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(getsockopt, getsockopt, 5, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/getuid.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 0
22+#include "SYS.h"
33+44+#ifndef SYS_getuid
55+#error "SYS_getuid not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(getuid, getuid, 0, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/getxattr.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 24
22+#include "SYS.h"
33+44+#ifndef SYS_getxattr
55+#error "SYS_getxattr not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(getxattr, getxattr, 6, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/guarded_close_np.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_guarded_close_np
55+#error "SYS_guarded_close_np not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(guarded_close_np, guarded_close_np, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/guarded_kqueue_np.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_guarded_kqueue_np
55+#error "SYS_guarded_kqueue_np not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(guarded_kqueue_np, guarded_kqueue_np, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/guarded_pwrite_np.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 24
22+#include "SYS.h"
33+44+#ifndef SYS_guarded_pwrite_np
55+#error "SYS_guarded_pwrite_np not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(guarded_pwrite_np, guarded_pwrite_np, 5, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/guarded_write_np.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_guarded_write_np
55+#error "SYS_guarded_write_np not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(guarded_write_np, guarded_write_np, 4, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/guarded_writev_np.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_guarded_writev_np
55+#error "SYS_guarded_writev_np not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(guarded_writev_np, guarded_writev_np, 4, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/issetugid.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 0
22+#include "SYS.h"
33+44+#ifndef SYS_issetugid
55+#error "SYS_issetugid not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(issetugid, issetugid, 0, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/kas_info.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_kas_info
55+#error "SYS_kas_info not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(kas_info, kas_info, 3, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/kevent.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 24
22+#include "SYS.h"
33+44+#ifndef SYS_kevent
55+#error "SYS_kevent not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(kevent, kevent, 6, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/kevent64.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 28
22+#include "SYS.h"
33+44+#ifndef SYS_kevent64
55+#error "SYS_kevent64 not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(kevent64, kevent64, 7, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/kqueue.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 0
22+#include "SYS.h"
33+44+#ifndef SYS_kqueue
55+#error "SYS_kqueue not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(kqueue, kqueue, 0, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/ledger.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_ledger
55+#error "SYS_ledger not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(ledger, ledger, 4, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/link.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_link
55+#error "SYS_link not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(link, link, 2, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/linkat.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_linkat
55+#error "SYS_linkat not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(linkat, linkat, 5, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/lio_listio.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_lio_listio
55+#error "SYS_lio_listio not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(lio_listio, lio_listio, 4, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/listxattr.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_listxattr
55+#error "SYS_listxattr not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(listxattr, listxattr, 4, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/lstat.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_lstat
55+#error "SYS_lstat not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(lstat, lstat, 2, cerror)
1010+#endif
1111+
+16
kernel/libsyscall/sys/lstat64.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_lstat64
55+#error "SYS_lstat64 not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(lstat64, lstat64, 2, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl lstat$INODE64
1414+ .set lstat$INODE64, lstat64
1515+#endif
1616+
+16
kernel/libsyscall/sys/madvise.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_madvise
55+#error "SYS_madvise not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(madvise, madvise, 3, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl posix_madvise
1414+ .set posix_madvise, madvise
1515+#endif
1616+
+11
kernel/libsyscall/sys/memorystatus_control.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_memorystatus_control
55+#error "SYS_memorystatus_control not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(memorystatus_control, memorystatus_control, 5, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/memorystatus_get_level.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_memorystatus_get_level
55+#error "SYS_memorystatus_get_level not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(memorystatus_get_level, memorystatus_get_level, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/mincore.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_mincore
55+#error "SYS_mincore not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(mincore, mincore, 3, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/minherit.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_minherit
55+#error "SYS_minherit not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(minherit, minherit, 3, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/mkdir.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_mkdir
55+#error "SYS_mkdir not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(mkdir, mkdir, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/mkdirat.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_mkdirat
55+#error "SYS_mkdirat not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(mkdirat, mkdirat, 3, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/mkfifo.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_mkfifo
55+#error "SYS_mkfifo not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(mkfifo, mkfifo, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/mknod.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_mknod
55+#error "SYS_mknod not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(mknod, mknod, 3, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/mlock.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_mlock
55+#error "SYS_mlock not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(mlock, mlock, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/mlockall.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_mlockall
55+#error "SYS_mlockall not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(mlockall, mlockall, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/modwatch.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_modwatch
55+#error "SYS_modwatch not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(modwatch, modwatch, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/mount.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_mount
55+#error "SYS_mount not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(mount, mount, 4, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/mremap_encrypted.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_mremap_encrypted
55+#error "SYS_mremap_encrypted not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(mremap_encrypted, mremap_encrypted, 5, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/msgget.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_msgget
55+#error "SYS_msgget not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(msgget, msgget, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/msgrcv.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_msgrcv
55+#error "SYS_msgrcv not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(msgrcv, msgrcv, 5, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/msgsnd.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_msgsnd
55+#error "SYS_msgsnd not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(msgsnd, msgsnd, 4, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/munlock.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_munlock
55+#error "SYS_munlock not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(munlock, munlock, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/munlockall.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_munlockall
55+#error "SYS_munlockall not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(munlockall, munlockall, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/necp_match_policy.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_necp_match_policy
55+#error "SYS_necp_match_policy not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(necp_match_policy, necp_match_policy, 3, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/nfsclnt.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_nfsclnt
55+#error "SYS_nfsclnt not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(nfsclnt, nfsclnt, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/nfssvc.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_nfssvc
55+#error "SYS_nfssvc not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(nfssvc, nfssvc, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/openbyid_np.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_openbyid_np
55+#error "SYS_openbyid_np not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(openbyid_np, openbyid_np, 3, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/pathconf.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_pathconf
55+#error "SYS_pathconf not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(pathconf, pathconf, 2, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/peeloff.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_peeloff
55+#error "SYS_peeloff not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(peeloff, peeloff, 2, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/pid_resume.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_pid_resume
55+#error "SYS_pid_resume not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(pid_resume, pid_resume, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/pid_suspend.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_pid_suspend
55+#error "SYS_pid_suspend not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(pid_suspend, pid_suspend, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/poll.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_poll
55+#error "SYS_poll not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(poll, poll, 3, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/pread.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_pread
55+#error "SYS_pread not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(pread, pread, 4, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/proc_rlimit_control.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_proc_rlimit_control
55+#error "SYS_proc_rlimit_control not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(proc_rlimit_control, proc_rlimit_control, 3, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/proc_trace_log.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_proc_trace_log
55+#error "SYS_proc_trace_log not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(proc_trace_log, proc_trace_log, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/proc_uuid_policy.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_proc_uuid_policy
55+#error "SYS_proc_uuid_policy not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(proc_uuid_policy, proc_uuid_policy, 4, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/pwrite.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_pwrite
55+#error "SYS_pwrite not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(pwrite, pwrite, 4, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/quota.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 0
22+#include "SYS.h"
33+44+#ifndef SYS_quota
55+#error "SYS_quota not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(quota, quota, 4, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/quotactl.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_quotactl
55+#error "SYS_quotactl not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(quotactl, quotactl, 4, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/read.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_read
55+#error "SYS_read not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(read, read, 3, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/readlink.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_readlink
55+#error "SYS_readlink not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(readlink, readlink, 3, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/readlinkat.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_readlinkat
55+#error "SYS_readlinkat not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(readlinkat, readlinkat, 4, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/readv.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_readv
55+#error "SYS_readv not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(readv, readv, 3, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/reboot.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_reboot
55+#error "SYS_reboot not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(reboot, reboot, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/recvmsg_x.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_recvmsg_x
55+#error "SYS_recvmsg_x not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(recvmsg_x, recvmsg_x, 4, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/removexattr.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_removexattr
55+#error "SYS_removexattr not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(removexattr, removexattr, 3, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/revoke.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_revoke
55+#error "SYS_revoke not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(revoke, revoke, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/searchfs.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 24
22+#include "SYS.h"
33+44+#ifndef SYS_searchfs
55+#error "SYS_searchfs not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(searchfs, searchfs, 6, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/sem_close.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_sem_close
55+#error "SYS_sem_close not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(sem_close, sem_close, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/sem_post.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_sem_post
55+#error "SYS_sem_post not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(sem_post, sem_post, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/sem_trywait.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_sem_trywait
55+#error "SYS_sem_trywait not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(sem_trywait, sem_trywait, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/sem_unlink.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_sem_unlink
55+#error "SYS_sem_unlink not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(sem_unlink, sem_unlink, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/sem_wait.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_sem_wait
55+#error "SYS_sem_wait not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(sem_wait, sem_wait, 1, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/semget.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_semget
55+#error "SYS_semget not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(semget, semget, 3, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/semop.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_semop
55+#error "SYS_semop not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(semop, semop, 3, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/sendfile.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 28
22+#include "SYS.h"
33+44+#ifndef SYS_sendfile
55+#error "SYS_sendfile not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(sendfile, sendfile, 6, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/sendmsg_x.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_sendmsg_x
55+#error "SYS_sendmsg_x not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(sendmsg_x, sendmsg_x, 4, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/setaudit_addr.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_setaudit_addr
55+#error "SYS_setaudit_addr not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(setaudit_addr, setaudit_addr, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/setauid.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_setauid
55+#error "SYS_setauid not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(setauid, setauid, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/setegid.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_setegid
55+#error "SYS_setegid not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(setegid, setegid, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/seteuid.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_seteuid
55+#error "SYS_seteuid not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(seteuid, seteuid, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/setgid.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_setgid
55+#error "SYS_setgid not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(setgid, setgid, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/setgroups.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_setgroups
55+#error "SYS_setgroups not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(setgroups, setgroups, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/setitimer.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_setitimer
55+#error "SYS_setitimer not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(setitimer, setitimer, 3, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/setpgid.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_setpgid
55+#error "SYS_setpgid not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(setpgid, setpgid, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/setprivexec.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_setprivexec
55+#error "SYS_setprivexec not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(setprivexec, setprivexec, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/setquota.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 0
22+#include "SYS.h"
33+44+#ifndef SYS_setquota
55+#error "SYS_setquota not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(setquota, setquota, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/setsid.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 0
22+#include "SYS.h"
33+44+#ifndef SYS_setsid
55+#error "SYS_setsid not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(setsid, setsid, 0, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/setsockopt.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 20
22+#include "SYS.h"
33+44+#ifndef SYS_setsockopt
55+#error "SYS_setsockopt not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(setsockopt, setsockopt, 5, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/setuid.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_setuid
55+#error "SYS_setuid not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(setuid, setuid, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/setxattr.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 24
22+#include "SYS.h"
33+44+#ifndef SYS_setxattr
55+#error "SYS_setxattr not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(setxattr, setxattr, 6, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/shm_unlink.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_shm_unlink
55+#error "SYS_shm_unlink not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(shm_unlink, shm_unlink, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/shmat.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_shmat
55+#error "SYS_shmat not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(shmat, shmat, 3, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/shmdt.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_shmdt
55+#error "SYS_shmdt not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(shmdt, shmdt, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/shmget.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_shmget
55+#error "SYS_shmget not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(shmget, shmget, 3, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/shutdown.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_shutdown
55+#error "SYS_shutdown not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(shutdown, shutdown, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/sigpending.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_sigpending
55+#error "SYS_sigpending not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(sigpending, sigpending, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/sigprocmask.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_sigprocmask
55+#error "SYS_sigprocmask not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(sigprocmask, sigprocmask, 3, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/socket.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_socket
55+#error "SYS_socket not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(socket, socket, 3, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/socket_delegate.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_socket_delegate
55+#error "SYS_socket_delegate not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(socket_delegate, socket_delegate, 4, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/stat.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_stat
55+#error "SYS_stat not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(stat, stat, 2, cerror)
1010+#endif
1111+
+16
kernel/libsyscall/sys/stat64.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_stat64
55+#error "SYS_stat64 not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(stat64, stat64, 2, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl stat$INODE64
1414+ .set stat$INODE64, stat64
1515+#endif
1616+
+11
kernel/libsyscall/sys/statfs.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_statfs
55+#error "SYS_statfs not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(statfs, statfs, 2, cerror_nocancel)
1010+#endif
1111+
+16
kernel/libsyscall/sys/statfs64.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_statfs64
55+#error "SYS_statfs64 not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(statfs64, statfs64, 2, cerror_nocancel)
1010+#endif
1111+1212+#if defined(__x86_64__)
1313+ .globl statfs$INODE64
1414+ .set statfs$INODE64, statfs64
1515+#endif
1616+
···11+#define __SYSCALL_32BIT_ARG_BYTES 0
22+#include "SYS.h"
33+44+#ifndef SYS_swapon
55+#error "SYS_swapon not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(swapon, swapon, 0, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/symlink.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_symlink
55+#error "SYS_symlink not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(symlink, symlink, 2, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/symlinkat.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_symlinkat
55+#error "SYS_symlinkat not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(symlinkat, symlinkat, 3, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/sync.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 0
22+#include "SYS.h"
33+44+#ifndef SYS_sync
55+#error "SYS_sync not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(sync, sync, 0, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/system_override.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_system_override
55+#error "SYS_system_override not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(system_override, system_override, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/truncate.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_truncate
55+#error "SYS_truncate not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(truncate, truncate, 2, cerror_nocancel)
1010+#endif
1111+
kernel/libsyscall/sys/truncate.o
This is a binary file and will not be displayed.
+11
kernel/libsyscall/sys/umask.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_umask
55+#error "SYS_umask not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(umask, umask, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/undelete.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 4
22+#include "SYS.h"
33+44+#ifndef SYS_undelete
55+#error "SYS_undelete not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(undelete, undelete, 1, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/unmount.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_unmount
55+#error "SYS_unmount not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(unmount, unmount, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/utimes.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_utimes
55+#error "SYS_utimes not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(utimes, utimes, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/vfs_purge.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 0
22+#include "SYS.h"
33+44+#ifndef SYS_vfs_purge
55+#error "SYS_vfs_purge not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(vfs_purge, vfs_purge, 0, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/vm_pressure_monitor.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_vm_pressure_monitor
55+#error "SYS_vm_pressure_monitor not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(vm_pressure_monitor, vm_pressure_monitor, 3, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/waitevent.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_waitevent
55+#error "SYS_waitevent not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(waitevent, waitevent, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/waitid.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 16
22+#include "SYS.h"
33+44+#ifndef SYS_waitid
55+#error "SYS_waitid not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(waitid, waitid, 4, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/watchevent.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 8
22+#include "SYS.h"
33+44+#ifndef SYS_watchevent
55+#error "SYS_watchevent not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(watchevent, watchevent, 2, cerror_nocancel)
1010+#endif
1111+
+11
kernel/libsyscall/sys/write.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_write
55+#error "SYS_write not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(write, write, 3, cerror)
1010+#endif
1111+
+11
kernel/libsyscall/sys/writev.S
···11+#define __SYSCALL_32BIT_ARG_BYTES 12
22+#include "SYS.h"
33+44+#ifndef SYS_writev
55+#error "SYS_writev not defined. The header files libsyscall is building against do not match syscalls.master."
66+#endif
77+88+#if defined(__x86_64__)
99+__SYSCALL2(writev, writev, 3, cerror)
1010+#endif
1111+
···11+; derived from: FreeBSD @(#)syscalls.master 8.2 (Berkeley) 1/13/94
22+;
33+; System call name/number master file.
44+; This is file processed by .../xnu/bsd/kern/makesyscalls.sh and creates:
55+; .../xnu/bsd/kern/init_sysent.c
66+; .../xnu/bsd/kern/syscalls.c
77+; .../xnu/bsd/sys/syscall.h
88+; .../xnu/bsd/sys/sysproto.h
99+; .../xnu/bsd/security/audit_syscalls.c
1010+1111+; Columns -> | Number Audit Files | { Name and Args } | { Comments }
1212+; Number: system call number, must be in order
1313+; Audit: the audit event associated with the system call
1414+; A value of AUE_NULL means no auditing, but it also means that
1515+; there is no audit event for the call at this time. For the
1616+; case where the event exists, but we don't want auditing, the
1717+; event should be #defined to AUE_NULL in audit_kevents.h.
1818+; Files: with files to generate - "ALL" or any combo of:
1919+; "T" for syscall table (in init_sysent.c)
2020+; "N" for syscall names (in syscalls.c)
2121+; "H" for syscall headers (in syscall.h)
2222+; "P" for syscall prototypes (in sysproto.h)
2323+; Name and Args: function prototype, optionally followed by
2424+; NO_SYSCALL_STUB (which mean no system call stub will
2525+; be generated in libSystem) and ending with a semicolon.
2626+; (Note: functions prefixed by double-underbar are
2727+; automatically given the NO_SYSCALL_STUB attribute.)
2828+; Comments: additional comments about the sys call copied to output files
2929+3030+; #ifdef's, #include's, #if's etc. are copied to all output files.
3131+; N.B.: makesyscalls.sh and createsyscalls.pl must be updated to account
3232+; for any new argument types.
3333+3434+; If you add a new syscall number to the end of this file, you need to
3535+; increment the value of NUM_SYSENT in bsd/sys/sysent.h.
3636+3737+#include <sys/appleapiopts.h>
3838+#include <sys/param.h>
3939+#include <sys/systm.h>
4040+#include <sys/types.h>
4141+#include <sys/sysent.h>
4242+#include <sys/sysproto.h>
4343+4444+0 AUE_NULL ALL { int nosys(void); } { indirect syscall }
4545+1 AUE_EXIT ALL { void exit(int rval) NO_SYSCALL_STUB; }
4646+2 AUE_FORK ALL { int fork(void) NO_SYSCALL_STUB; }
4747+3 AUE_NULL ALL { user_ssize_t read(int fd, user_addr_t cbuf, user_size_t nbyte); }
4848+4 AUE_NULL ALL { user_ssize_t write(int fd, user_addr_t cbuf, user_size_t nbyte); }
4949+5 AUE_OPEN_RWTC ALL { int open(user_addr_t path, int flags, int mode) NO_SYSCALL_STUB; }
5050+6 AUE_CLOSE ALL { int close(int fd); }
5151+7 AUE_WAIT4 ALL { int wait4(int pid, user_addr_t status, int options, user_addr_t rusage) NO_SYSCALL_STUB; }
5252+8 AUE_NULL ALL { int enosys(void); } { old creat }
5353+9 AUE_LINK ALL { int link(user_addr_t path, user_addr_t link); }
5454+10 AUE_UNLINK ALL { int unlink(user_addr_t path) NO_SYSCALL_STUB; }
5555+11 AUE_NULL ALL { int enosys(void); } { old execv }
5656+12 AUE_CHDIR ALL { int chdir(user_addr_t path); }
5757+13 AUE_FCHDIR ALL { int fchdir(int fd); }
5858+14 AUE_MKNOD ALL { int mknod(user_addr_t path, int mode, int dev); }
5959+15 AUE_CHMOD ALL { int chmod(user_addr_t path, int mode) NO_SYSCALL_STUB; }
6060+16 AUE_CHOWN ALL { int chown(user_addr_t path, int uid, int gid); }
6161+17 AUE_NULL ALL { int enosys(void); } { old break }
6262+18 AUE_GETFSSTAT ALL { int getfsstat(user_addr_t buf, int bufsize, int flags); }
6363+19 AUE_NULL ALL { int enosys(void); } { old lseek }
6464+20 AUE_GETPID ALL { int getpid(void); }
6565+21 AUE_NULL ALL { int enosys(void); } { old mount }
6666+22 AUE_NULL ALL { int enosys(void); } { old umount }
6767+23 AUE_SETUID ALL { int setuid(uid_t uid); }
6868+24 AUE_GETUID ALL { int getuid(void); }
6969+25 AUE_GETEUID ALL { int geteuid(void); }
7070+26 AUE_PTRACE ALL { int ptrace(int req, pid_t pid, caddr_t addr, int data); }
7171+#if SOCKETS
7272+27 AUE_RECVMSG ALL { int recvmsg(int s, struct msghdr *msg, int flags) NO_SYSCALL_STUB; }
7373+28 AUE_SENDMSG ALL { int sendmsg(int s, caddr_t msg, int flags) NO_SYSCALL_STUB; }
7474+29 AUE_RECVFROM ALL { int recvfrom(int s, void *buf, size_t len, int flags, struct sockaddr *from, int *fromlenaddr) NO_SYSCALL_STUB; }
7575+30 AUE_ACCEPT ALL { int accept(int s, caddr_t name, socklen_t *anamelen) NO_SYSCALL_STUB; }
7676+31 AUE_GETPEERNAME ALL { int getpeername(int fdes, caddr_t asa, socklen_t *alen) NO_SYSCALL_STUB; }
7777+32 AUE_GETSOCKNAME ALL { int getsockname(int fdes, caddr_t asa, socklen_t *alen) NO_SYSCALL_STUB; }
7878+#else
7979+27 AUE_NULL ALL { int nosys(void); }
8080+28 AUE_NULL ALL { int nosys(void); }
8181+29 AUE_NULL ALL { int nosys(void); }
8282+30 AUE_NULL ALL { int nosys(void); }
8383+31 AUE_NULL ALL { int nosys(void); }
8484+32 AUE_NULL ALL { int nosys(void); }
8585+#endif /* SOCKETS */
8686+33 AUE_ACCESS ALL { int access(user_addr_t path, int flags); }
8787+34 AUE_CHFLAGS ALL { int chflags(char *path, int flags); }
8888+35 AUE_FCHFLAGS ALL { int fchflags(int fd, int flags); }
8989+36 AUE_SYNC ALL { int sync(void); }
9090+37 AUE_KILL ALL { int kill(int pid, int signum, int posix) NO_SYSCALL_STUB; }
9191+38 AUE_NULL ALL { int nosys(void); } { old stat }
9292+39 AUE_GETPPID ALL { int getppid(void); }
9393+40 AUE_NULL ALL { int nosys(void); } { old lstat }
9494+41 AUE_DUP ALL { int dup(u_int fd); }
9595+42 AUE_PIPE ALL { int pipe(void); }
9696+43 AUE_GETEGID ALL { int getegid(void); }
9797+44 AUE_NULL ALL { int nosys(void); } { old profil }
9898+45 AUE_NULL ALL { int nosys(void); } { old ktrace }
9999+46 AUE_SIGACTION ALL { int sigaction(int signum, struct __sigaction *nsa, struct sigaction *osa) NO_SYSCALL_STUB; }
100100+47 AUE_GETGID ALL { int getgid(void); }
101101+48 AUE_SIGPROCMASK ALL { int sigprocmask(int how, user_addr_t mask, user_addr_t omask); }
102102+49 AUE_GETLOGIN ALL { int getlogin(char *namebuf, u_int namelen) NO_SYSCALL_STUB; }
103103+50 AUE_SETLOGIN ALL { int setlogin(char *namebuf) NO_SYSCALL_STUB; }
104104+51 AUE_ACCT ALL { int acct(char *path); }
105105+52 AUE_SIGPENDING ALL { int sigpending(struct sigvec *osv); }
106106+53 AUE_SIGALTSTACK ALL { int sigaltstack(struct sigaltstack *nss, struct sigaltstack *oss) NO_SYSCALL_STUB ; }
107107+54 AUE_IOCTL ALL { int ioctl(int fd, u_long com, caddr_t data) NO_SYSCALL_STUB; }
108108+55 AUE_REBOOT ALL { int reboot(int opt, char *command); }
109109+56 AUE_REVOKE ALL { int revoke(char *path); }
110110+57 AUE_SYMLINK ALL { int symlink(char *path, char *link); }
111111+58 AUE_READLINK ALL { int readlink(char *path, char *buf, int count); }
112112+59 AUE_EXECVE ALL { int execve(char *fname, char **argp, char **envp); }
113113+60 AUE_UMASK ALL { int umask(int newmask); }
114114+61 AUE_CHROOT ALL { int chroot(user_addr_t path); }
115115+62 AUE_NULL ALL { int nosys(void); } { old fstat }
116116+63 AUE_NULL ALL { int nosys(void); } { used internally, reserved }
117117+64 AUE_NULL ALL { int nosys(void); } { old getpagesize }
118118+65 AUE_MSYNC ALL { int msync(caddr_t addr, size_t len, int flags) NO_SYSCALL_STUB; }
119119+66 AUE_VFORK ALL { int vfork(void); }
120120+67 AUE_NULL ALL { int nosys(void); } { old vread }
121121+68 AUE_NULL ALL { int nosys(void); } { old vwrite }
122122+69 AUE_NULL ALL { int nosys(void); } { old sbrk }
123123+70 AUE_NULL ALL { int nosys(void); } { old sstk }
124124+71 AUE_NULL ALL { int nosys(void); } { old mmap }
125125+72 AUE_NULL ALL { int nosys(void); } { old vadvise }
126126+73 AUE_MUNMAP ALL { int munmap(caddr_t addr, size_t len) NO_SYSCALL_STUB; }
127127+74 AUE_MPROTECT ALL { int mprotect(caddr_t addr, size_t len, int prot) NO_SYSCALL_STUB; }
128128+75 AUE_MADVISE ALL { int madvise(caddr_t addr, size_t len, int behav); }
129129+76 AUE_NULL ALL { int nosys(void); } { old vhangup }
130130+77 AUE_NULL ALL { int nosys(void); } { old vlimit }
131131+78 AUE_MINCORE ALL { int mincore(user_addr_t addr, user_size_t len, user_addr_t vec); }
132132+79 AUE_GETGROUPS ALL { int getgroups(u_int gidsetsize, gid_t *gidset); }
133133+80 AUE_SETGROUPS ALL { int setgroups(u_int gidsetsize, gid_t *gidset); }
134134+81 AUE_GETPGRP ALL { int getpgrp(void); }
135135+82 AUE_SETPGRP ALL { int setpgid(int pid, int pgid); }
136136+83 AUE_SETITIMER ALL { int setitimer(u_int which, struct itimerval *itv, struct itimerval *oitv); }
137137+84 AUE_NULL ALL { int nosys(void); } { old wait }
138138+85 AUE_SWAPON ALL { int swapon(void); }
139139+86 AUE_GETITIMER ALL { int getitimer(u_int which, struct itimerval *itv); }
140140+87 AUE_NULL ALL { int nosys(void); } { old gethostname }
141141+88 AUE_NULL ALL { int nosys(void); } { old sethostname }
142142+89 AUE_GETDTABLESIZE ALL { int getdtablesize(void); }
143143+90 AUE_DUP2 ALL { int dup2(u_int from, u_int to); }
144144+91 AUE_NULL ALL { int nosys(void); } { old getdopt }
145145+92 AUE_FCNTL ALL { int fcntl(int fd, int cmd, long arg) NO_SYSCALL_STUB; }
146146+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; }
147147+94 AUE_NULL ALL { int nosys(void); } { old setdopt }
148148+95 AUE_FSYNC ALL { int fsync(int fd); }
149149+96 AUE_SETPRIORITY ALL { int setpriority(int which, id_t who, int prio) NO_SYSCALL_STUB; }
150150+#if SOCKETS
151151+97 AUE_SOCKET ALL { int socket(int domain, int type, int protocol); }
152152+98 AUE_CONNECT ALL { int connect(int s, caddr_t name, socklen_t namelen) NO_SYSCALL_STUB; }
153153+#else
154154+97 AUE_NULL ALL { int nosys(void); }
155155+98 AUE_NULL ALL { int nosys(void); }
156156+#endif /* SOCKETS */
157157+99 AUE_NULL ALL { int nosys(void); } { old accept }
158158+100 AUE_GETPRIORITY ALL { int getpriority(int which, id_t who); }
159159+101 AUE_NULL ALL { int nosys(void); } { old send }
160160+102 AUE_NULL ALL { int nosys(void); } { old recv }
161161+103 AUE_NULL ALL { int nosys(void); } { old sigreturn }
162162+#if SOCKETS
163163+104 AUE_BIND ALL { int bind(int s, caddr_t name, socklen_t namelen) NO_SYSCALL_STUB; }
164164+105 AUE_SETSOCKOPT ALL { int setsockopt(int s, int level, int name, caddr_t val, socklen_t valsize); }
165165+106 AUE_LISTEN ALL { int listen(int s, int backlog) NO_SYSCALL_STUB; }
166166+#else
167167+104 AUE_NULL ALL { int nosys(void); }
168168+105 AUE_NULL ALL { int nosys(void); }
169169+106 AUE_NULL ALL { int nosys(void); }
170170+#endif /* SOCKETS */
171171+107 AUE_NULL ALL { int nosys(void); } { old vtimes }
172172+108 AUE_NULL ALL { int nosys(void); } { old sigvec }
173173+109 AUE_NULL ALL { int nosys(void); } { old sigblock }
174174+110 AUE_NULL ALL { int nosys(void); } { old sigsetmask }
175175+111 AUE_NULL ALL { int sigsuspend(sigset_t mask) NO_SYSCALL_STUB; }
176176+112 AUE_NULL ALL { int nosys(void); } { old sigstack }
177177+#if SOCKETS
178178+113 AUE_NULL ALL { int nosys(void); } { old recvmsg }
179179+114 AUE_NULL ALL { int nosys(void); } { old sendmsg }
180180+#else
181181+113 AUE_NULL ALL { int nosys(void); }
182182+114 AUE_NULL ALL { int nosys(void); }
183183+#endif /* SOCKETS */
184184+115 AUE_NULL ALL { int nosys(void); } { old vtrace }
185185+116 AUE_GETTIMEOFDAY ALL { int gettimeofday(struct timeval *tp, struct timezone *tzp) NO_SYSCALL_STUB; }
186186+117 AUE_GETRUSAGE ALL { int getrusage(int who, struct rusage *rusage); }
187187+#if SOCKETS
188188+118 AUE_GETSOCKOPT ALL { int getsockopt(int s, int level, int name, caddr_t val, socklen_t *avalsize); }
189189+#else
190190+118 AUE_NULL ALL { int nosys(void); }
191191+#endif /* SOCKETS */
192192+119 AUE_NULL ALL { int nosys(void); } { old resuba }
193193+120 AUE_READV ALL { user_ssize_t readv(int fd, struct iovec *iovp, u_int iovcnt); }
194194+121 AUE_WRITEV ALL { user_ssize_t writev(int fd, struct iovec *iovp, u_int iovcnt); }
195195+122 AUE_SETTIMEOFDAY ALL { int settimeofday(struct timeval *tv, struct timezone *tzp) NO_SYSCALL_STUB; }
196196+123 AUE_FCHOWN ALL { int fchown(int fd, int uid, int gid); }
197197+124 AUE_FCHMOD ALL { int fchmod(int fd, int mode) NO_SYSCALL_STUB; }
198198+125 AUE_NULL ALL { int nosys(void); } { old recvfrom }
199199+126 AUE_SETREUID ALL { int setreuid(uid_t ruid, uid_t euid) NO_SYSCALL_STUB; }
200200+127 AUE_SETREGID ALL { int setregid(gid_t rgid, gid_t egid) NO_SYSCALL_STUB; }
201201+128 AUE_RENAME ALL { int rename(char *from, char *to) NO_SYSCALL_STUB; }
202202+129 AUE_NULL ALL { int nosys(void); } { old truncate }
203203+130 AUE_NULL ALL { int nosys(void); } { old ftruncate }
204204+131 AUE_FLOCK ALL { int flock(int fd, int how); }
205205+132 AUE_MKFIFO ALL { int mkfifo(user_addr_t path, int mode); }
206206+#if SOCKETS
207207+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; }
208208+134 AUE_SHUTDOWN ALL { int shutdown(int s, int how); }
209209+135 AUE_SOCKETPAIR ALL { int socketpair(int domain, int type, int protocol, int *rsv) NO_SYSCALL_STUB; }
210210+#else
211211+133 AUE_NULL ALL { int nosys(void); }
212212+134 AUE_NULL ALL { int nosys(void); }
213213+135 AUE_NULL ALL { int nosys(void); }
214214+#endif /* SOCKETS */
215215+136 AUE_MKDIR ALL { int mkdir(user_addr_t path, int mode); }
216216+137 AUE_RMDIR ALL { int rmdir(char *path) NO_SYSCALL_STUB; }
217217+138 AUE_UTIMES ALL { int utimes(char *path, struct timeval *tptr); }
218218+139 AUE_FUTIMES ALL { int futimes(int fd, struct timeval *tptr); }
219219+140 AUE_ADJTIME ALL { int adjtime(struct timeval *delta, struct timeval *olddelta); }
220220+141 AUE_NULL ALL { int nosys(void); } { old getpeername }
221221+142 AUE_SYSCTL ALL { int gethostuuid(unsigned char *uuid_buf, const struct timespec *timeoutp, int spi) NO_SYSCALL_STUB; }
222222+143 AUE_NULL ALL { int nosys(void); } { old sethostid }
223223+144 AUE_NULL ALL { int nosys(void); } { old getrlimit }
224224+145 AUE_NULL ALL { int nosys(void); } { old setrlimit }
225225+146 AUE_NULL ALL { int nosys(void); } { old killpg }
226226+147 AUE_SETSID ALL { int setsid(void); }
227227+148 AUE_NULL ALL { int nosys(void); } { old setquota }
228228+149 AUE_NULL ALL { int nosys(void); } { old qquota }
229229+150 AUE_NULL ALL { int nosys(void); } { old getsockname }
230230+151 AUE_GETPGID ALL { int getpgid(pid_t pid); }
231231+152 AUE_SETPRIVEXEC ALL { int setprivexec(int flag); }
232232+153 AUE_PREAD ALL { user_ssize_t pread(int fd, user_addr_t buf, user_size_t nbyte, off_t offset); }
233233+154 AUE_PWRITE ALL { user_ssize_t pwrite(int fd, user_addr_t buf, user_size_t nbyte, off_t offset); }
234234+235235+#if NFSSERVER
236236+155 AUE_NFS_SVC ALL { int nfssvc(int flag, caddr_t argp); }
237237+#else
238238+155 AUE_NULL ALL { int nosys(void); }
239239+#endif
240240+241241+156 AUE_NULL ALL { int nosys(void); } { old getdirentries }
242242+157 AUE_STATFS ALL { int statfs(char *path, struct statfs *buf); }
243243+158 AUE_FSTATFS ALL { int fstatfs(int fd, struct statfs *buf); }
244244+159 AUE_UNMOUNT ALL { int unmount(user_addr_t path, int flags); }
245245+160 AUE_NULL ALL { int nosys(void); } { old async_daemon }
246246+247247+#if NFSSERVER
248248+161 AUE_NFS_GETFH ALL { int getfh(char *fname, fhandle_t *fhp); }
249249+#else
250250+161 AUE_NULL ALL { int nosys(void); }
251251+#endif
252252+253253+162 AUE_NULL ALL { int nosys(void); } { old getdomainname }
254254+163 AUE_NULL ALL { int nosys(void); } { old setdomainname }
255255+164 AUE_NULL ALL { int nosys(void); }
256256+165 AUE_QUOTACTL ALL { int quotactl(const char *path, int cmd, int uid, caddr_t arg); }
257257+166 AUE_NULL ALL { int nosys(void); } { old exportfs }
258258+167 AUE_MOUNT ALL { int mount(char *type, char *path, int flags, caddr_t data); }
259259+168 AUE_NULL ALL { int nosys(void); } { old ustat }
260260+169 AUE_CSOPS ALL { int csops(pid_t pid, uint32_t ops, user_addr_t useraddr, user_size_t usersize); }
261261+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); }
262262+171 AUE_NULL ALL { int nosys(void); } { old wait3 }
263263+172 AUE_NULL ALL { int nosys(void); } { old rpause }
264264+173 AUE_WAITID ALL { int waitid(idtype_t idtype, id_t id, siginfo_t *infop, int options); }
265265+174 AUE_NULL ALL { int nosys(void); } { old getdents }
266266+175 AUE_NULL ALL { int nosys(void); } { old gc_control }
267267+176 AUE_NULL ALL { int nosys(void); } { old add_profil }
268268+177 AUE_NULL ALL { int nosys(void); }
269269+178 AUE_NULL ALL { int nosys(void); }
270270+179 AUE_NULL ALL { int nosys(void); }
271271+180 AUE_KDEBUGTRACE ALL { int kdebug_trace(int code, int arg1, int arg2, int arg3, int arg4, int arg5) NO_SYSCALL_STUB; }
272272+181 AUE_SETGID ALL { int setgid(gid_t gid); }
273273+182 AUE_SETEGID ALL { int setegid(gid_t egid); }
274274+183 AUE_SETEUID ALL { int seteuid(uid_t euid); }
275275+184 AUE_SIGRETURN ALL { int sigreturn(struct ucontext *uctx, int infostyle) NO_SYSCALL_STUB; }
276276+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; }
277277+186 AUE_NULL ALL { int nosys(void); }
278278+187 AUE_FDATASYNC ALL { int fdatasync(int fd); }
279279+188 AUE_STAT ALL { int stat(user_addr_t path, user_addr_t ub); }
280280+189 AUE_FSTAT ALL { int fstat(int fd, user_addr_t ub); }
281281+190 AUE_LSTAT ALL { int lstat(user_addr_t path, user_addr_t ub); }
282282+191 AUE_PATHCONF ALL { int pathconf(char *path, int name); }
283283+192 AUE_FPATHCONF ALL { int fpathconf(int fd, int name); }
284284+193 AUE_NULL ALL { int nosys(void); }
285285+194 AUE_GETRLIMIT ALL { int getrlimit(u_int which, struct rlimit *rlp) NO_SYSCALL_STUB; }
286286+195 AUE_SETRLIMIT ALL { int setrlimit(u_int which, struct rlimit *rlp) NO_SYSCALL_STUB; }
287287+196 AUE_GETDIRENTRIES ALL { int getdirentries(int fd, char *buf, u_int count, long *basep); }
288288+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; }
289289+198 AUE_NULL ALL { int nosys(void); } { __syscall }
290290+199 AUE_LSEEK ALL { off_t lseek(int fd, off_t offset, int whence); }
291291+200 AUE_TRUNCATE ALL { int truncate(char *path, off_t length); }
292292+201 AUE_FTRUNCATE ALL { int ftruncate(int fd, off_t length); }
293293+202 AUE_SYSCTL ALL { int sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen) NO_SYSCALL_STUB; }
294294+203 AUE_MLOCK ALL { int mlock(caddr_t addr, size_t len); }
295295+204 AUE_MUNLOCK ALL { int munlock(caddr_t addr, size_t len); }
296296+205 AUE_UNDELETE ALL { int undelete(user_addr_t path); }
297297+298298+206 AUE_NULL ALL { int nosys(void); } { old ATsocket }
299299+207 AUE_NULL ALL { int nosys(void); } { old ATgetmsg }
300300+208 AUE_NULL ALL { int nosys(void); } { old ATputmsg }
301301+209 AUE_NULL ALL { int nosys(void); } { old ATsndreq }
302302+210 AUE_NULL ALL { int nosys(void); } { old ATsndrsp }
303303+211 AUE_NULL ALL { int nosys(void); } { old ATgetreq }
304304+212 AUE_NULL ALL { int nosys(void); } { old ATgetrsp }
305305+213 AUE_NULL ALL { int nosys(void); } { Reserved for AppleTalk }
306306+307307+214 AUE_NULL ALL { int nosys(void); }
308308+215 AUE_NULL ALL { int nosys(void); }
309309+310310+; System Calls 216 - 230 are reserved for calls to support HFS/HFS Plus
311311+; file system semantics. Currently, we only use 215-227. The rest is
312312+; for future expansion in anticipation of new MacOS APIs for HFS Plus.
313313+; These calls are not conditionalized because while they are specific
314314+; to HFS semantics, they are not specific to the HFS filesystem.
315315+; We expect all filesystems to recognize the call and report that it is
316316+; not supported or to actually implement it.
317317+318318+; 216-> 219 used to be mkcomplex and {f,l}statv variants. They are gone now.
319319+216 AUE_NULL ALL { int open_dprotected_np(user_addr_t path, int flags, int class, int dpflags, int mode) NO_SYSCALL_STUB; }
320320+217 AUE_NULL ALL { int nosys(void); }
321321+218 AUE_NULL ALL { int nosys(void); }
322322+219 AUE_NULL ALL { int nosys(void); }
323323+220 AUE_GETATTRLIST ALL { int getattrlist(const char *path, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options) NO_SYSCALL_STUB; }
324324+221 AUE_SETATTRLIST ALL { int setattrlist(const char *path, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options) NO_SYSCALL_STUB; }
325325+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); }
326326+223 AUE_EXCHANGEDATA ALL { int exchangedata(const char *path1, const char *path2, u_long options); }
327327+224 AUE_NULL ALL { int nosys(void); } { old checkuseraccess / fsgetpath (which moved to 427) }
328328+225 AUE_SEARCHFS ALL { int searchfs(const char *path, struct fssearchblock *searchblock, uint32_t *nummatches, uint32_t scriptcode, uint32_t options, struct searchstate *state); }
329329+226 AUE_DELETE ALL { int delete(user_addr_t path) NO_SYSCALL_STUB; } { private delete (Carbon semantics) }
330330+227 AUE_COPYFILE ALL { int copyfile(char *from, char *to, int mode, int flags) NO_SYSCALL_STUB; }
331331+228 AUE_FGETATTRLIST ALL { int fgetattrlist(int fd, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options); }
332332+229 AUE_FSETATTRLIST ALL { int fsetattrlist(int fd, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options); }
333333+230 AUE_POLL ALL { int poll(struct pollfd *fds, u_int nfds, int timeout); }
334334+231 AUE_WATCHEVENT ALL { int watchevent(struct eventreq *u_req, int u_eventmask); }
335335+232 AUE_WAITEVENT ALL { int waitevent(struct eventreq *u_req, struct timeval *tv); }
336336+233 AUE_MODWATCH ALL { int modwatch(struct eventreq *u_req, int u_eventmask); }
337337+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); }
338338+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); }
339339+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); }
340340+237 AUE_FSETXATTR ALL { int fsetxattr(int fd, user_addr_t attrname, user_addr_t value, size_t size, uint32_t position, int options); }
341341+238 AUE_REMOVEXATTR ALL { int removexattr(user_addr_t path, user_addr_t attrname, int options); }
342342+239 AUE_FREMOVEXATTR ALL { int fremovexattr(int fd, user_addr_t attrname, int options); }
343343+240 AUE_LISTXATTR ALL { user_ssize_t listxattr(user_addr_t path, user_addr_t namebuf, size_t bufsize, int options); }
344344+241 AUE_FLISTXATTR ALL { user_ssize_t flistxattr(int fd, user_addr_t namebuf, size_t bufsize, int options); }
345345+242 AUE_FSCTL ALL { int fsctl(const char *path, u_long cmd, caddr_t data, u_int options); }
346346+243 AUE_INITGROUPS ALL { int initgroups(u_int gidsetsize, gid_t *gidset, int gmuid) NO_SYSCALL_STUB; }
347347+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; }
348348+245 AUE_FFSCTL ALL { int ffsctl(int fd, u_long cmd, caddr_t data, u_int options); }
349349+246 AUE_NULL ALL { int nosys(void); }
350350+351351+#if NFSCLIENT
352352+247 AUE_NULL ALL { int nfsclnt(int flag, caddr_t argp); }
353353+#else
354354+247 AUE_NULL ALL { int nosys(void); }
355355+#endif
356356+#if NFSSERVER
357357+248 AUE_FHOPEN ALL { int fhopen(const struct fhandle *u_fhp, int flags); }
358358+#else
359359+248 AUE_NULL ALL { int nosys(void); }
360360+#endif
361361+362362+249 AUE_NULL ALL { int nosys(void); }
363363+250 AUE_MINHERIT ALL { int minherit(void *addr, size_t len, int inherit); }
364364+#if SYSV_SEM
365365+251 AUE_SEMSYS ALL { int semsys(u_int which, int a2, int a3, int a4, int a5) NO_SYSCALL_STUB; }
366366+#else
367367+251 AUE_NULL ALL { int nosys(void); }
368368+#endif
369369+#if SYSV_MSG
370370+252 AUE_MSGSYS ALL { int msgsys(u_int which, int a2, int a3, int a4, int a5) NO_SYSCALL_STUB; }
371371+#else
372372+252 AUE_NULL ALL { int nosys(void); }
373373+#endif
374374+#if SYSV_SHM
375375+253 AUE_SHMSYS ALL { int shmsys(u_int which, int a2, int a3, int a4) NO_SYSCALL_STUB; }
376376+#else
377377+253 AUE_NULL ALL { int nosys(void); }
378378+#endif
379379+#if SYSV_SEM
380380+254 AUE_SEMCTL ALL { int semctl(int semid, int semnum, int cmd, semun_t arg) NO_SYSCALL_STUB; }
381381+255 AUE_SEMGET ALL { int semget(key_t key, int nsems, int semflg); }
382382+256 AUE_SEMOP ALL { int semop(int semid, struct sembuf *sops, int nsops); }
383383+257 AUE_NULL ALL { int nosys(void); }
384384+#else
385385+254 AUE_NULL ALL { int nosys(void); }
386386+255 AUE_NULL ALL { int nosys(void); }
387387+256 AUE_NULL ALL { int nosys(void); }
388388+257 AUE_NULL ALL { int nosys(void); }
389389+#endif
390390+#if SYSV_MSG
391391+258 AUE_MSGCTL ALL { int msgctl(int msqid, int cmd, struct msqid_ds *buf) NO_SYSCALL_STUB; }
392392+259 AUE_MSGGET ALL { int msgget(key_t key, int msgflg); }
393393+260 AUE_MSGSND ALL { int msgsnd(int msqid, void *msgp, size_t msgsz, int msgflg); }
394394+261 AUE_MSGRCV ALL { user_ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); }
395395+#else
396396+258 AUE_NULL ALL { int nosys(void); }
397397+259 AUE_NULL ALL { int nosys(void); }
398398+260 AUE_NULL ALL { int nosys(void); }
399399+261 AUE_NULL ALL { int nosys(void); }
400400+#endif
401401+#if SYSV_SHM
402402+262 AUE_SHMAT ALL { user_addr_t shmat(int shmid, void *shmaddr, int shmflg); }
403403+263 AUE_SHMCTL ALL { int shmctl(int shmid, int cmd, struct shmid_ds *buf) NO_SYSCALL_STUB; }
404404+264 AUE_SHMDT ALL { int shmdt(void *shmaddr); }
405405+265 AUE_SHMGET ALL { int shmget(key_t key, size_t size, int shmflg); }
406406+#else
407407+262 AUE_NULL ALL { int nosys(void); }
408408+263 AUE_NULL ALL { int nosys(void); }
409409+264 AUE_NULL ALL { int nosys(void); }
410410+265 AUE_NULL ALL { int nosys(void); }
411411+#endif
412412+266 AUE_SHMOPEN ALL { int shm_open(const char *name, int oflag, int mode) NO_SYSCALL_STUB; }
413413+267 AUE_SHMUNLINK ALL { int shm_unlink(const char *name); }
414414+268 AUE_SEMOPEN ALL { user_addr_t sem_open(const char *name, int oflag, int mode, int value) NO_SYSCALL_STUB; }
415415+269 AUE_SEMCLOSE ALL { int sem_close(sem_t *sem); }
416416+270 AUE_SEMUNLINK ALL { int sem_unlink(const char *name); }
417417+271 AUE_SEMWAIT ALL { int sem_wait(sem_t *sem); }
418418+272 AUE_SEMTRYWAIT ALL { int sem_trywait(sem_t *sem); }
419419+273 AUE_SEMPOST ALL { int sem_post(sem_t *sem); }
420420+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; }
421421+275 AUE_NULL ALL { int enosys(void); } { old sem_init }
422422+276 AUE_NULL ALL { int enosys(void); } { old sem_destroy }
423423+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; }
424424+278 AUE_UMASK_EXTENDED ALL { int umask_extended(int newmask, user_addr_t xsecurity) NO_SYSCALL_STUB; }
425425+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; }
426426+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; }
427427+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; }
428428+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; }
429429+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; }
430430+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; }
431431+285 AUE_SETTID ALL { int settid(uid_t uid, gid_t gid) NO_SYSCALL_STUB; }
432432+286 AUE_GETTID ALL { int gettid(uid_t *uidp, gid_t *gidp) NO_SYSCALL_STUB; }
433433+287 AUE_SETSGROUPS ALL { int setsgroups(int setlen, user_addr_t guidset) NO_SYSCALL_STUB; }
434434+288 AUE_GETSGROUPS ALL { int getsgroups(user_addr_t setlen, user_addr_t guidset) NO_SYSCALL_STUB; }
435435+289 AUE_SETWGROUPS ALL { int setwgroups(int setlen, user_addr_t guidset) NO_SYSCALL_STUB; }
436436+290 AUE_GETWGROUPS ALL { int getwgroups(user_addr_t setlen, user_addr_t guidset) NO_SYSCALL_STUB; }
437437+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; }
438438+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; }
439439+#if CONFIG_EXT_RESOLVER
440440+293 AUE_IDENTITYSVC ALL { int identitysvc(int opcode, user_addr_t message) NO_SYSCALL_STUB; }
441441+#else
442442+293 AUE_NULL ALL { int nosys(void); }
443443+#endif
444444+294 AUE_NULL ALL { int shared_region_check_np(uint64_t *start_address) NO_SYSCALL_STUB; }
445445+295 AUE_NULL ALL { int nosys(void); } { old shared_region_map_np }
446446+296 AUE_NULL ALL { int vm_pressure_monitor(int wait_for_pressure, int nsecs_monitored, uint32_t *pages_reclaimed); }
447447+#if PSYNCH
448448+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; }
449449+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; }
450450+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; }
451451+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; }
452452+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; }
453453+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; }
454454+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; }
455455+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; }
456456+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; }
457457+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; }
458458+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; }
459459+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; }
460460+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; }
461461+#else
462462+297 AUE_NULL ALL { int nosys(void); } { old reset_shared_file }
463463+298 AUE_NULL ALL { int nosys(void); } { old new_system_shared_regions }
464464+299 AUE_NULL ALL { int enosys(void); } { old shared_region_map_file_np }
465465+300 AUE_NULL ALL { int enosys(void); } { old shared_region_make_private_np }
466466+301 AUE_NULL ALL { int nosys(void); }
467467+302 AUE_NULL ALL { int nosys(void); }
468468+303 AUE_NULL ALL { int nosys(void); }
469469+304 AUE_NULL ALL { int nosys(void); }
470470+305 AUE_NULL ALL { int nosys(void); }
471471+306 AUE_NULL ALL { int nosys(void); }
472472+307 AUE_NULL ALL { int nosys(void); }
473473+308 AUE_NULL ALL { int nosys(void); }
474474+309 AUE_NULL ALL { int nosys(void); }
475475+#endif
476476+310 AUE_GETSID ALL { int getsid(pid_t pid); }
477477+311 AUE_SETTIDWITHPID ALL { int settid_with_pid(pid_t pid, int assume) NO_SYSCALL_STUB; }
478478+#if PSYNCH
479479+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; }
480480+#else
481481+312 AUE_NULL ALL { int nosys(void); } { old __pthread_cond_timedwait }
482482+#endif
483483+313 AUE_NULL ALL { int aio_fsync(int op, user_addr_t aiocbp); }
484484+314 AUE_NULL ALL { user_ssize_t aio_return(user_addr_t aiocbp); }
485485+315 AUE_NULL ALL { int aio_suspend(user_addr_t aiocblist, int nent, user_addr_t timeoutp); }
486486+316 AUE_NULL ALL { int aio_cancel(int fd, user_addr_t aiocbp); }
487487+317 AUE_NULL ALL { int aio_error(user_addr_t aiocbp); }
488488+318 AUE_NULL ALL { int aio_read(user_addr_t aiocbp); }
489489+319 AUE_NULL ALL { int aio_write(user_addr_t aiocbp); }
490490+320 AUE_LIOLISTIO ALL { int lio_listio(int mode, user_addr_t aiocblist, int nent, user_addr_t sigp); }
491491+321 AUE_NULL ALL { int nosys(void); } { old __pthread_cond_wait }
492492+322 AUE_IOPOLICYSYS ALL { int iopolicysys(int cmd, void *arg) NO_SYSCALL_STUB; }
493493+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; }
494494+324 AUE_MLOCKALL ALL { int mlockall(int how); }
495495+325 AUE_MUNLOCKALL ALL { int munlockall(int how); }
496496+326 AUE_NULL ALL { int nosys(void); }
497497+327 AUE_ISSETUGID ALL { int issetugid(void); }
498498+328 AUE_PTHREADKILL ALL { int __pthread_kill(int thread_port, int sig); }
499499+329 AUE_PTHREADSIGMASK ALL { int __pthread_sigmask(int how, user_addr_t set, user_addr_t oset); }
500500+330 AUE_SIGWAIT ALL { int __sigwait(user_addr_t set, user_addr_t sig); }
501501+331 AUE_NULL ALL { int __disable_threadsignal(int value); }
502502+332 AUE_NULL ALL { int __pthread_markcancel(int thread_port); }
503503+333 AUE_NULL ALL { int __pthread_canceled(int action); }
504504+505505+;#if OLD_SEMWAIT_SIGNAL
506506+;334 AUE_NULL ALL { int nosys(void); } { old __semwait_signal }
507507+;#else
508508+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); }
509509+;#endif
510510+511511+335 AUE_NULL ALL { int nosys(void); } { old utrace }
512512+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; }
513513+#if SENDFILE
514514+337 AUE_SENDFILE ALL { int sendfile(int fd, int s, off_t offset, off_t *nbytes, struct sf_hdtr *hdtr, int flags); }
515515+#else /* !SENDFILE */
516516+337 AUE_NULL ALL { int nosys(void); }
517517+#endif /* SENDFILE */
518518+338 AUE_STAT64 ALL { int stat64(user_addr_t path, user_addr_t ub); }
519519+339 AUE_FSTAT64 ALL { int fstat64(int fd, user_addr_t ub); }
520520+340 AUE_LSTAT64 ALL { int lstat64(user_addr_t path, user_addr_t ub); }
521521+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; }
522522+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; }
523523+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; }
524524+344 AUE_GETDIRENTRIES64 ALL { user_ssize_t getdirentries64(int fd, void *buf, user_size_t bufsize, off_t *position) NO_SYSCALL_STUB; }
525525+345 AUE_STATFS64 ALL { int statfs64(char *path, struct statfs64 *buf); }
526526+346 AUE_FSTATFS64 ALL { int fstatfs64(int fd, struct statfs64 *buf); }
527527+347 AUE_GETFSSTAT64 ALL { int getfsstat64(user_addr_t buf, int bufsize, int flags); }
528528+348 AUE_NULL ALL { int __pthread_chdir(user_addr_t path); }
529529+349 AUE_NULL ALL { int __pthread_fchdir(int fd); }
530530+350 AUE_AUDIT ALL { int audit(void *record, int length); }
531531+351 AUE_AUDITON ALL { int auditon(int cmd, void *data, int length); }
532532+352 AUE_NULL ALL { int nosys(void); }
533533+353 AUE_GETAUID ALL { int getauid(au_id_t *auid); }
534534+354 AUE_SETAUID ALL { int setauid(au_id_t *auid); }
535535+355 AUE_NULL ALL { int nosys(void); } { old getaudit }
536536+356 AUE_NULL ALL { int nosys(void); } { old setaudit }
537537+357 AUE_GETAUDIT_ADDR ALL { int getaudit_addr(struct auditinfo_addr *auditinfo_addr, int length); }
538538+358 AUE_SETAUDIT_ADDR ALL { int setaudit_addr(struct auditinfo_addr *auditinfo_addr, int length); }
539539+359 AUE_AUDITCTL ALL { int auditctl(char *path); }
540540+#if CONFIG_WORKQUEUE
541541+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; }
542542+361 AUE_NULL ALL { int bsdthread_terminate(user_addr_t stackaddr, size_t freesize, uint32_t port, uint32_t sem) NO_SYSCALL_STUB; }
543543+#else
544544+360 AUE_NULL ALL { int nosys(void); }
545545+361 AUE_NULL ALL { int nosys(void); }
546546+#endif /* CONFIG_WORKQUEUE */
547547+362 AUE_KQUEUE ALL { int kqueue(void); }
548548+363 AUE_NULL ALL { int kevent(int fd, const struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); }
549549+364 AUE_LCHOWN ALL { int lchown(user_addr_t path, uid_t owner, gid_t group) NO_SYSCALL_STUB; }
550550+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; }
551551+#if CONFIG_WORKQUEUE
552552+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; }
553553+367 AUE_WORKQOPEN ALL { int workq_open(void) NO_SYSCALL_STUB; }
554554+368 AUE_WORKQOPS ALL { int workq_kernreturn(int options, user_addr_t item, int affinity, int prio) NO_SYSCALL_STUB; }
555555+#else
556556+366 AUE_NULL ALL { int nosys(void); }
557557+367 AUE_NULL ALL { int nosys(void); }
558558+368 AUE_NULL ALL { int nosys(void); }
559559+#endif /* CONFIG_WORKQUEUE */
560560+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); }
561561+#if OLD_SEMWAIT_SIGNAL
562562+370 AUE_SEMWAITSIGNAL ALL { int __old_semwait_signal(int cond_sem, int mutex_sem, int timeout, int relative, const struct timespec *ts); }
563563+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; }
564564+#else
565565+370 AUE_NULL ALL { int nosys(void); } { old __semwait_signal }
566566+371 AUE_NULL ALL { int nosys(void); } { old __semwait_signal }
567567+#endif
568568+372 AUE_NULL ALL { uint64_t thread_selfid (void) NO_SYSCALL_STUB; }
569569+373 AUE_LEDGER ALL { int ledger(int cmd, caddr_t arg1, caddr_t arg2, caddr_t arg3); }
570570+374 AUE_NULL ALL { int nosys(void); }
571571+375 AUE_NULL ALL { int nosys(void); }
572572+376 AUE_NULL ALL { int nosys(void); }
573573+377 AUE_NULL ALL { int nosys(void); }
574574+378 AUE_NULL ALL { int nosys(void); }
575575+379 AUE_NULL ALL { int nosys(void); }
576576+380 AUE_MAC_EXECVE ALL { int __mac_execve(char *fname, char **argp, char **envp, struct mac *mac_p); }
577577+#if CONFIG_MACF
578578+381 AUE_MAC_SYSCALL ALL { int __mac_syscall(char *policy, int call, user_addr_t arg); }
579579+382 AUE_MAC_GET_FILE ALL { int __mac_get_file(char *path_p, struct mac *mac_p); }
580580+383 AUE_MAC_SET_FILE ALL { int __mac_set_file(char *path_p, struct mac *mac_p); }
581581+384 AUE_MAC_GET_LINK ALL { int __mac_get_link(char *path_p, struct mac *mac_p); }
582582+385 AUE_MAC_SET_LINK ALL { int __mac_set_link(char *path_p, struct mac *mac_p); }
583583+386 AUE_MAC_GET_PROC ALL { int __mac_get_proc(struct mac *mac_p); }
584584+387 AUE_MAC_SET_PROC ALL { int __mac_set_proc(struct mac *mac_p); }
585585+388 AUE_MAC_GET_FD ALL { int __mac_get_fd(int fd, struct mac *mac_p); }
586586+389 AUE_MAC_SET_FD ALL { int __mac_set_fd(int fd, struct mac *mac_p); }
587587+390 AUE_MAC_GET_PID ALL { int __mac_get_pid(pid_t pid, struct mac *mac_p); }
588588+391 AUE_MAC_GET_LCID ALL { int __mac_get_lcid(pid_t lcid, struct mac *mac_p); }
589589+392 AUE_MAC_GET_LCTX ALL { int __mac_get_lctx(struct mac *mac_p); }
590590+393 AUE_MAC_SET_LCTX ALL { int __mac_set_lctx(struct mac *mac_p); }
591591+#else
592592+381 AUE_MAC_SYSCALL ALL { int enosys(void); }
593593+382 AUE_MAC_GET_FILE ALL { int nosys(void); }
594594+383 AUE_MAC_SET_FILE ALL { int nosys(void); }
595595+384 AUE_MAC_GET_LINK ALL { int nosys(void); }
596596+385 AUE_MAC_SET_LINK ALL { int nosys(void); }
597597+386 AUE_MAC_GET_PROC ALL { int nosys(void); }
598598+387 AUE_MAC_SET_PROC ALL { int nosys(void); }
599599+388 AUE_MAC_GET_FD ALL { int nosys(void); }
600600+389 AUE_MAC_SET_FD ALL { int nosys(void); }
601601+390 AUE_MAC_GET_PID ALL { int nosys(void); }
602602+391 AUE_MAC_GET_LCID ALL { int nosys(void); }
603603+392 AUE_MAC_GET_LCTX ALL { int nosys(void); }
604604+393 AUE_MAC_SET_LCTX ALL { int nosys(void); }
605605+#endif
606606+394 AUE_SETLCID ALL { int setlcid(pid_t pid, pid_t lcid) NO_SYSCALL_STUB; }
607607+395 AUE_GETLCID ALL { int getlcid(pid_t pid) NO_SYSCALL_STUB; }
608608+396 AUE_NULL ALL { user_ssize_t read_nocancel(int fd, user_addr_t cbuf, user_size_t nbyte) NO_SYSCALL_STUB; }
609609+397 AUE_NULL ALL { user_ssize_t write_nocancel(int fd, user_addr_t cbuf, user_size_t nbyte) NO_SYSCALL_STUB; }
610610+398 AUE_OPEN_RWTC ALL { int open_nocancel(user_addr_t path, int flags, int mode) NO_SYSCALL_STUB; }
611611+399 AUE_CLOSE ALL { int close_nocancel(int fd) NO_SYSCALL_STUB; }
612612+400 AUE_WAIT4 ALL { int wait4_nocancel(int pid, user_addr_t status, int options, user_addr_t rusage) NO_SYSCALL_STUB; }
613613+#if SOCKETS
614614+401 AUE_RECVMSG ALL { int recvmsg_nocancel(int s, struct msghdr *msg, int flags) NO_SYSCALL_STUB; }
615615+402 AUE_SENDMSG ALL { int sendmsg_nocancel(int s, caddr_t msg, int flags) NO_SYSCALL_STUB; }
616616+403 AUE_RECVFROM ALL { int recvfrom_nocancel(int s, void *buf, size_t len, int flags, struct sockaddr *from, int *fromlenaddr) NO_SYSCALL_STUB; }
617617+404 AUE_ACCEPT ALL { int accept_nocancel(int s, caddr_t name, socklen_t *anamelen) NO_SYSCALL_STUB; }
618618+#else
619619+401 AUE_NULL ALL { int nosys(void); }
620620+402 AUE_NULL ALL { int nosys(void); }
621621+403 AUE_NULL ALL { int nosys(void); }
622622+404 AUE_NULL ALL { int nosys(void); }
623623+#endif /* SOCKETS */
624624+405 AUE_MSYNC ALL { int msync_nocancel(caddr_t addr, size_t len, int flags) NO_SYSCALL_STUB; }
625625+406 AUE_FCNTL ALL { int fcntl_nocancel(int fd, int cmd, long arg) NO_SYSCALL_STUB; }
626626+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; }
627627+408 AUE_FSYNC ALL { int fsync_nocancel(int fd) NO_SYSCALL_STUB; }
628628+#if SOCKETS
629629+409 AUE_CONNECT ALL { int connect_nocancel(int s, caddr_t name, socklen_t namelen) NO_SYSCALL_STUB; }
630630+#else
631631+409 AUE_NULL ALL { int nosys(void); }
632632+#endif /* SOCKETS */
633633+410 AUE_NULL ALL { int sigsuspend_nocancel(sigset_t mask) NO_SYSCALL_STUB; }
634634+411 AUE_READV ALL { user_ssize_t readv_nocancel(int fd, struct iovec *iovp, u_int iovcnt) NO_SYSCALL_STUB; }
635635+412 AUE_WRITEV ALL { user_ssize_t writev_nocancel(int fd, struct iovec *iovp, u_int iovcnt) NO_SYSCALL_STUB; }
636636+#if SOCKETS
637637+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; }
638638+#else
639639+413 AUE_NULL ALL { int nosys(void); }
640640+#endif /* SOCKETS */
641641+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; }
642642+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; }
643643+416 AUE_WAITID ALL { int waitid_nocancel(idtype_t idtype, id_t id, siginfo_t *infop, int options) NO_SYSCALL_STUB; }
644644+417 AUE_POLL ALL { int poll_nocancel(struct pollfd *fds, u_int nfds, int timeout) NO_SYSCALL_STUB; }
645645+#if SYSV_MSG
646646+418 AUE_MSGSND ALL { int msgsnd_nocancel(int msqid, void *msgp, size_t msgsz, int msgflg) NO_SYSCALL_STUB; }
647647+419 AUE_MSGRCV ALL { user_ssize_t msgrcv_nocancel(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg) NO_SYSCALL_STUB; }
648648+#else
649649+418 AUE_NULL ALL { int nosys(void); }
650650+419 AUE_NULL ALL { int nosys(void); }
651651+#endif
652652+420 AUE_SEMWAIT ALL { int sem_wait_nocancel(sem_t *sem) NO_SYSCALL_STUB; }
653653+421 AUE_NULL ALL { int aio_suspend_nocancel(user_addr_t aiocblist, int nent, user_addr_t timeoutp) NO_SYSCALL_STUB; }
654654+422 AUE_SIGWAIT ALL { int __sigwait_nocancel(user_addr_t set, user_addr_t sig) NO_SYSCALL_STUB; }
655655+;#if OLD_SEMWAIT_SIGNAL
656656+;423 AUE_NULL ALL { int nosys(void); } { old __semwait_signal_nocancel }
657657+;#else
658658+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); }
659659+;#endif
660660+424 AUE_MAC_MOUNT ALL { int __mac_mount(char *type, char *path, int flags, caddr_t data, struct mac *mac_p); }
661661+#if CONFIG_MACF
662662+425 AUE_MAC_GET_MOUNT ALL { int __mac_get_mount(char *path, struct mac *mac_p); }
663663+#else
664664+425 AUE_MAC_GET_MOUNT ALL { int nosys(void); }
665665+#endif
666666+426 AUE_MAC_GETFSSTAT ALL { int __mac_getfsstat(user_addr_t buf, int bufsize, user_addr_t mac, int macsize, int flags); }
667667+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) }
668668+428 AUE_NULL ALL { mach_port_name_t audit_session_self(void); }
669669+429 AUE_NULL ALL { int audit_session_join(mach_port_name_t port); }
670670+430 AUE_NULL ALL { int fileport_makeport(int fd, user_addr_t portnamep); }
671671+431 AUE_NULL ALL { int fileport_makefd(mach_port_name_t port); }
672672+432 AUE_NULL ALL { int audit_session_port(au_asid_t asid, user_addr_t portnamep); }
673673+433 AUE_NULL ALL { int pid_suspend(int pid); }
674674+434 AUE_NULL ALL { int pid_resume(int pid); }
675675+435 AUE_NULL ALL { int nosys(void); }
676676+436 AUE_NULL ALL { int nosys(void); }
677677+437 AUE_NULL ALL { int nosys(void); } { old shared_region_slide_np }
678678+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; }
679679+439 AUE_NULL ALL { int kas_info(int selector, void *value, size_t *size); }
680680+#if CONFIG_MEMORYSTATUS
681681+440 AUE_NULL ALL { int memorystatus_control(uint32_t command, int32_t pid, uint32_t flags, user_addr_t buffer, size_t buffersize); }
682682+#else
683683+440 AUE_NULL ALL { int nosys(void); }
684684+#endif
685685+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; }
686686+442 AUE_CLOSE ALL { int guarded_close_np(int fd, const guardid_t *guard); }
687687+443 AUE_KQUEUE ALL { int guarded_kqueue_np(const guardid_t *guard, u_int guardflags); }
688688+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); }
689689+445 AUE_NULL ALL { int nosys(void); } { old __proc_suppress }
690690+446 AUE_NULL ALL { int proc_rlimit_control(pid_t pid, int flavor, void *arg); }
691691+#if SOCKETS
692692+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); }
693693+448 AUE_NULL ALL { int disconnectx(int s, associd_t aid, connid_t cid); }
694694+449 AUE_NULL ALL { int peeloff(int s, associd_t aid); }
695695+450 AUE_SOCKET ALL { int socket_delegate(int domain, int type, int protocol, pid_t epid); }
696696+#else
697697+447 AUE_NULL ALL { int nosys(void); }
698698+448 AUE_NULL ALL { int nosys(void); }
699699+449 AUE_NULL ALL { int nosys(void); }
700700+450 AUE_NULL ALL { int nosys(void); }
701701+#endif /* SOCKETS */
702702+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; }
703703+#if CONFIG_PROC_UUID_POLICY
704704+452 AUE_NULL ALL { int proc_uuid_policy(uint32_t operation, uuid_t uuid, size_t uuidlen, uint32_t flags); }
705705+#else
706706+452 AUE_NULL ALL { int nosys(void); }
707707+#endif
708708+#if CONFIG_MEMORYSTATUS
709709+453 AUE_NULL ALL { int memorystatus_get_level(user_addr_t level); }
710710+#else
711711+453 AUE_NULL ALL { int nosys(void); }
712712+#endif
713713+454 AUE_NULL ALL { int system_override(uint64_t timeout, uint64_t flags); }
714714+455 AUE_NULL ALL { int vfs_purge(void); }
715715+456 AUE_NULL ALL { int sfi_ctl(uint32_t operation, uint32_t sfi_class, uint64_t time, uint64_t *out_time) NO_SYSCALL_STUB; }
716716+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; }
717717+#if CONFIG_COALITIONS
718718+458 AUE_NULL ALL { int coalition(uint32_t operation, uint64_t *cid, uint32_t flags) NO_SYSCALL_STUB; }
719719+459 AUE_NULL ALL { int coalition_info(uint32_t flavor, uint64_t *cid, void *buffer, size_t *bufsize) NO_SYSCALL_STUB; }
720720+#else
721721+458 AUE_NULL ALL { int enosys(void); }
722722+459 AUE_NULL ALL { int enosys(void); }
723723+#endif /* COALITIONS */
724724+#if NECP
725725+460 AUE_NULL ALL { int necp_match_policy(uint8_t *parameters, size_t parameters_size, struct necp_aggregate_result *returned_result); }
726726+#else
727727+460 AUE_NULL ALL { int nosys(void); }
728728+#endif /* NECP */
729729+461 AUE_GETATTRLISTBULK ALL { int getattrlistbulk(int dirfd, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, uint64_t options); }
730730+462 AUE_NULL ALL { int enosys(void); } /* PLACEHOLDER for CLONEFILE */
731731+463 AUE_OPENAT_RWTC ALL { int openat(int fd, user_addr_t path, int flags, int mode) NO_SYSCALL_STUB; }
732732+464 AUE_OPENAT_RWTC ALL { int openat_nocancel(int fd, user_addr_t path, int flags, int mode) NO_SYSCALL_STUB; }
733733+465 AUE_RENAMEAT ALL { int renameat(int fromfd, char *from, int tofd, char *to) NO_SYSCALL_STUB; }
734734+466 AUE_FACCESSAT ALL { int faccessat(int fd, user_addr_t path, int amode, int flag); }
735735+467 AUE_FCHMODAT ALL { int fchmodat(int fd, user_addr_t path, int mode, int flag); }
736736+468 AUE_FCHOWNAT ALL { int fchownat(int fd, user_addr_t path, uid_t uid,gid_t gid, int flag); }
737737+469 AUE_FSTATAT ALL { int fstatat(int fd, user_addr_t path, user_addr_t ub, int flag); }
738738+470 AUE_FSTATAT ALL { int fstatat64(int fd, user_addr_t path, user_addr_t ub, int flag); }
739739+471 AUE_LINKAT ALL { int linkat(int fd1, user_addr_t path, int fd2, user_addr_t link, int flag); }
740740+472 AUE_UNLINKAT ALL { int unlinkat(int fd, user_addr_t path, int flag) NO_SYSCALL_STUB; }
741741+473 AUE_READLINKAT ALL { int readlinkat(int fd, user_addr_t path, user_addr_t buf, size_t bufsize); }
742742+474 AUE_SYMLINKAT ALL { int symlinkat(user_addr_t *path1, int fd, user_addr_t path2); }
743743+475 AUE_MKDIRAT ALL { int mkdirat(int fd, user_addr_t path, int mode); }
744744+476 AUE_GETATTRLISTAT ALL { int getattrlistat(int fd, const char *path, struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options); }
745745+477 AUE_NULL ALL { int proc_trace_log(pid_t pid, uint64_t uniqueid); }
746746+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; }
747747+479 AUE_OPENBYID_RWT ALL { int openbyid_np(user_addr_t fsid, user_addr_t objid, int oflags); }
748748+#if SOCKETS
749749+480 AUE_NULL ALL { user_ssize_t recvmsg_x(int s, struct msghdr_x *msgp, u_int cnt, int flags); }
750750+481 AUE_NULL ALL { user_ssize_t sendmsg_x(int s, struct msghdr_x *msgp, u_int cnt, int flags); }
751751+#else
752752+480 AUE_NULL ALL { int nosys(void); }
753753+481 AUE_NULL ALL { int nosys(void); }
754754+#endif /* SOCKETS */
755755+482 AUE_NULL ALL { uint64_t thread_selfusage(void) NO_SYSCALL_STUB; }
756756+#if CONFIG_CSR
757757+483 AUE_NULL ALL { int csrctl(uint32_t op, user_addr_t useraddr, user_addr_t usersize) NO_SYSCALL_STUB; }
758758+#else
759759+483 AUE_NULL ALL { int enosys(void); }
760760+#endif /* CSR */
761761+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; }
762762+485 AUE_NULL ALL { user_ssize_t guarded_write_np(int fd, const guardid_t *guard, user_addr_t cbuf, user_size_t nbyte); }
763763+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); }
764764+487 AUE_WRITEV ALL { user_ssize_t guarded_writev_np(int fd, const guardid_t *guard, struct iovec *iovp, u_int iovcnt); }
765765+#if CONFIG_SECLUDED_RENAME
766766+488 AUE_RENAME ALL { int rename_ext(char *from, char *to, u_int flags) NO_SYSCALL_STUB; }
767767+#else
768768+488 AUE_NULL ALL { int enosys(void); }
769769+#endif
770770+#if CONFIG_CODE_DECRYPTION
771771+489 AUE_MPROTECT ALL { int mremap_encrypted(caddr_t addr, size_t len, uint32_t cryptid, uint32_t cputype, uint32_t cpusubtype); }
772772+#else
773773+489 AUE_NULL ALL { int enosys(void); }
774774+#endif