Regen
This commit is contained in:
parent
e26d16aac3
commit
9ae4eb70ff
|
@ -1,10 +1,10 @@
|
|||
/* $NetBSD: darwin_syscall.h,v 1.51 2007/11/10 13:24:27 dsl Exp $ */
|
||||
/* $NetBSD: darwin_syscall.h,v 1.52 2007/12/12 21:29:43 dsl Exp $ */
|
||||
|
||||
/*
|
||||
* System call numbers.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.34 2007/11/10 13:23:18 dsl Exp
|
||||
* created from NetBSD: syscalls.master,v 1.35 2007/12/12 21:24:36 dsl Exp
|
||||
*/
|
||||
|
||||
#ifndef _DARWIN_SYS_SYSCALL_H_
|
||||
|
@ -27,18 +27,39 @@
|
|||
/* syscall: "write" ret: "ssize_t" args: "int" "const void *" "size_t" */
|
||||
#define DARWIN_SYS_write 4
|
||||
|
||||
/* syscall: "open" ret: "int" args: "const char *" "int" "..." */
|
||||
#define DARWIN_SYS_open 5
|
||||
|
||||
/* syscall: "close" ret: "int" args: "int" */
|
||||
#define DARWIN_SYS_close 6
|
||||
|
||||
/* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage *" */
|
||||
#define DARWIN_SYS_wait4 7
|
||||
|
||||
/* syscall: "ocreat" ret: "int" args: "const char *" "mode_t" */
|
||||
#define DARWIN_SYS_ocreat 8
|
||||
|
||||
/* syscall: "link" ret: "int" args: "const char *" "const char *" */
|
||||
#define DARWIN_SYS_link 9
|
||||
|
||||
/* syscall: "unlink" ret: "int" args: "const char *" */
|
||||
#define DARWIN_SYS_unlink 10
|
||||
|
||||
/* syscall: "chdir" ret: "int" args: "const char *" */
|
||||
#define DARWIN_SYS_chdir 12
|
||||
|
||||
/* syscall: "fchdir" ret: "int" args: "int" */
|
||||
#define DARWIN_SYS_fchdir 13
|
||||
|
||||
/* syscall: "mknod" ret: "int" args: "const char *" "mode_t" "dev_t" */
|
||||
#define DARWIN_SYS_mknod 14
|
||||
|
||||
/* syscall: "chmod" ret: "int" args: "const char *" "mode_t" */
|
||||
#define DARWIN_SYS_chmod 15
|
||||
|
||||
/* syscall: "chown" ret: "int" args: "const char *" "uid_t" "gid_t" */
|
||||
#define DARWIN_SYS_chown 16
|
||||
|
||||
/* syscall: "break" ret: "int" args: "char *" */
|
||||
#define DARWIN_SYS_break 17
|
||||
|
||||
|
@ -51,6 +72,12 @@
|
|||
/* syscall: "getpid" ret: "pid_t" args: */
|
||||
#define DARWIN_SYS_getpid 20
|
||||
|
||||
/* syscall: "mount" ret: "int" args: "const char *" "const char *" "int" "void *" */
|
||||
#define DARWIN_SYS_mount 21
|
||||
|
||||
/* syscall: "unmount" ret: "int" args: "const char *" "int" */
|
||||
#define DARWIN_SYS_unmount 22
|
||||
|
||||
/* syscall: "setuid" ret: "int" args: "uid_t" */
|
||||
#define DARWIN_SYS_setuid 23
|
||||
|
||||
|
@ -87,6 +114,12 @@
|
|||
/* syscall: "getsockname" ret: "int" args: "int" "struct sockaddr *" "unsigned int *" */
|
||||
#define DARWIN_SYS_getsockname 32
|
||||
|
||||
/* syscall: "access" ret: "int" args: "const char *" "int" */
|
||||
#define DARWIN_SYS_access 33
|
||||
|
||||
/* syscall: "chflags" ret: "int" args: "const char *" "u_long" */
|
||||
#define DARWIN_SYS_chflags 34
|
||||
|
||||
/* syscall: "fchflags" ret: "int" args: "int" "u_long" */
|
||||
#define DARWIN_SYS_fchflags 35
|
||||
|
||||
|
@ -96,9 +129,15 @@
|
|||
/* syscall: "kill" ret: "int" args: "int" "int" */
|
||||
#define DARWIN_SYS_kill 37
|
||||
|
||||
/* syscall: "stat43" ret: "int" args: "const char *" "struct stat43 *" */
|
||||
#define DARWIN_SYS_stat43 38
|
||||
|
||||
/* syscall: "getppid" ret: "pid_t" args: */
|
||||
#define DARWIN_SYS_getppid 39
|
||||
|
||||
/* syscall: "lstat43" ret: "int" args: "const char *" "struct stat43 *" */
|
||||
#define DARWIN_SYS_lstat43 40
|
||||
|
||||
/* syscall: "dup" ret: "int" args: "int" */
|
||||
#define DARWIN_SYS_dup 41
|
||||
|
||||
|
@ -139,6 +178,9 @@
|
|||
/* syscall: "__setlogin" ret: "int" args: "const char *" */
|
||||
#define DARWIN_SYS___setlogin 50
|
||||
|
||||
/* syscall: "acct" ret: "int" args: "const char *" */
|
||||
#define DARWIN_SYS_acct 51
|
||||
|
||||
/* syscall: "sigpending13" ret: "int" args: */
|
||||
#define DARWIN_SYS_sigpending13 52
|
||||
|
||||
|
@ -151,9 +193,24 @@
|
|||
/* syscall: "oreboot" ret: "int" args: "int" */
|
||||
#define DARWIN_SYS_oreboot 55
|
||||
|
||||
/* syscall: "revoke" ret: "int" args: "const char *" */
|
||||
#define DARWIN_SYS_revoke 56
|
||||
|
||||
/* syscall: "symlink" ret: "int" args: "const char *" "const char *" */
|
||||
#define DARWIN_SYS_symlink 57
|
||||
|
||||
/* syscall: "readlink" ret: "int" args: "const char *" "char *" "size_t" */
|
||||
#define DARWIN_SYS_readlink 58
|
||||
|
||||
/* syscall: "execve" ret: "int" args: "const char *" "char *const *" "char *const *" */
|
||||
#define DARWIN_SYS_execve 59
|
||||
|
||||
/* syscall: "umask" ret: "mode_t" args: "mode_t" */
|
||||
#define DARWIN_SYS_umask 60
|
||||
|
||||
/* syscall: "chroot" ret: "int" args: "const char *" */
|
||||
#define DARWIN_SYS_chroot 61
|
||||
|
||||
/* syscall: "fstat43" ret: "int" args: "int" "struct stat43 *" */
|
||||
#define DARWIN_SYS_fstat43 62
|
||||
|
||||
|
@ -210,6 +267,9 @@
|
|||
/* syscall: "owait" ret: "int" args: */
|
||||
#define DARWIN_SYS_owait 84
|
||||
|
||||
/* syscall: "swapon" ret: "int" args: "const char *" */
|
||||
#define DARWIN_SYS_swapon 85
|
||||
|
||||
/* syscall: "getitimer" ret: "int" args: "int" "struct itimerval *" */
|
||||
#define DARWIN_SYS_getitimer 86
|
||||
|
||||
|
@ -321,12 +381,21 @@
|
|||
/* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */
|
||||
#define DARWIN_SYS_setregid 127
|
||||
|
||||
/* syscall: "rename" ret: "int" args: "const char *" "const char *" */
|
||||
#define DARWIN_SYS_rename 128
|
||||
|
||||
/* syscall: "otruncate" ret: "int" args: "const char *" "long" */
|
||||
#define DARWIN_SYS_otruncate 129
|
||||
|
||||
/* syscall: "oftruncate" ret: "int" args: "int" "long" */
|
||||
#define DARWIN_SYS_oftruncate 130
|
||||
|
||||
/* syscall: "flock" ret: "int" args: "int" "int" */
|
||||
#define DARWIN_SYS_flock 131
|
||||
|
||||
/* syscall: "mkfifo" ret: "int" args: "const char *" "mode_t" */
|
||||
#define DARWIN_SYS_mkfifo 132
|
||||
|
||||
/* syscall: "sendto" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "const struct sockaddr *" "unsigned int" */
|
||||
#define DARWIN_SYS_sendto 133
|
||||
|
||||
|
@ -336,6 +405,15 @@
|
|||
/* syscall: "socketpair" ret: "int" args: "int" "int" "int" "int *" */
|
||||
#define DARWIN_SYS_socketpair 135
|
||||
|
||||
/* syscall: "mkdir" ret: "int" args: "const char *" "mode_t" */
|
||||
#define DARWIN_SYS_mkdir 136
|
||||
|
||||
/* syscall: "rmdir" ret: "int" args: "const char *" */
|
||||
#define DARWIN_SYS_rmdir 137
|
||||
|
||||
/* syscall: "utimes" ret: "int" args: "const char *" "const struct timeval *" */
|
||||
#define DARWIN_SYS_utimes 138
|
||||
|
||||
/* syscall: "adjtime" ret: "int" args: "const struct timeval *" "struct timeval *" */
|
||||
#define DARWIN_SYS_adjtime 140
|
||||
|
||||
|
@ -377,6 +455,9 @@
|
|||
#define DARWIN_SYS_fstatfs 158
|
||||
|
||||
#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
|
||||
/* syscall: "getfh" ret: "int" args: "const char *" "fhandle_t *" */
|
||||
#define DARWIN_SYS_getfh 161
|
||||
|
||||
#else
|
||||
/* 161 is excluded getfh */
|
||||
#endif
|
||||
|
@ -410,6 +491,9 @@
|
|||
/* syscall: "lstat12" ret: "int" args: "const char *" "struct stat12 *" */
|
||||
#define DARWIN_SYS_lstat12 190
|
||||
|
||||
/* syscall: "pathconf" ret: "long" args: "const char *" "int" */
|
||||
#define DARWIN_SYS_pathconf 191
|
||||
|
||||
/* syscall: "fpathconf" ret: "long" args: "int" "int" */
|
||||
#define DARWIN_SYS_fpathconf 192
|
||||
|
||||
|
@ -428,6 +512,9 @@
|
|||
/* syscall: "lseek" ret: "off_t" args: "int" "long" "long" "int" */
|
||||
#define DARWIN_SYS_lseek 199
|
||||
|
||||
/* syscall: "truncate" ret: "int" args: "const char *" "int" "off_t" */
|
||||
#define DARWIN_SYS_truncate 200
|
||||
|
||||
/* syscall: "ftruncate" ret: "int" args: "int" "int" "off_t" */
|
||||
#define DARWIN_SYS_ftruncate 201
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
/* $NetBSD: darwin_syscallargs.h,v 1.51 2007/11/10 13:24:27 dsl Exp $ */
|
||||
/* $NetBSD: darwin_syscallargs.h,v 1.52 2007/12/12 21:29:43 dsl Exp $ */
|
||||
|
||||
/*
|
||||
* System call argument lists.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.34 2007/11/10 13:23:18 dsl Exp
|
||||
* created from NetBSD: syscalls.master,v 1.35 2007/12/12 21:24:36 dsl Exp
|
||||
*/
|
||||
|
||||
#ifndef _DARWIN_SYS_SYSCALLARGS_H_
|
||||
|
@ -31,35 +31,6 @@
|
|||
typedef char call##_check_args[sizeof (struct call##_args) \
|
||||
<= DARWIN_SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1];
|
||||
|
||||
struct bsd_sys_open_args {
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(int) flags;
|
||||
syscallarg(mode_t) mode;
|
||||
};
|
||||
check_syscall_args(bsd_sys_open)
|
||||
|
||||
struct bsd_compat_43_sys_creat_args {
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(mode_t) mode;
|
||||
};
|
||||
check_syscall_args(bsd_compat_43_sys_creat)
|
||||
|
||||
struct bsd_sys_link_args {
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(const char *) link;
|
||||
};
|
||||
check_syscall_args(bsd_sys_link)
|
||||
|
||||
struct bsd_sys_unlink_args {
|
||||
syscallarg(const char *) path;
|
||||
};
|
||||
check_syscall_args(bsd_sys_unlink)
|
||||
|
||||
struct bsd_sys_chdir_args {
|
||||
syscallarg(const char *) path;
|
||||
};
|
||||
check_syscall_args(bsd_sys_chdir)
|
||||
|
||||
struct darwin_sys_mknod_args {
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(mode_t) mode;
|
||||
|
@ -67,39 +38,12 @@ struct darwin_sys_mknod_args {
|
|||
};
|
||||
check_syscall_args(darwin_sys_mknod)
|
||||
|
||||
struct bsd_sys_chmod_args {
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(mode_t) mode;
|
||||
};
|
||||
check_syscall_args(bsd_sys_chmod)
|
||||
|
||||
struct bsd_sys_chown_args {
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(uid_t) uid;
|
||||
syscallarg(gid_t) gid;
|
||||
};
|
||||
check_syscall_args(bsd_sys_chown)
|
||||
|
||||
struct darwin_sys_getfsstat_args {
|
||||
syscallarg(struct darwin_statfs *) buf;
|
||||
syscallarg(long) bufsize;
|
||||
syscallarg(int) flags;
|
||||
};
|
||||
check_syscall_args(darwin_sys_getfsstat)
|
||||
|
||||
struct bsd_sys_mount_args {
|
||||
syscallarg(const char *) type;
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(int) flags;
|
||||
syscallarg(void *) data;
|
||||
};
|
||||
check_syscall_args(bsd_sys_mount)
|
||||
|
||||
struct bsd_sys_unmount_args {
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(int) flags;
|
||||
};
|
||||
check_syscall_args(bsd_sys_unmount)
|
||||
#ifdef COMPAT_43
|
||||
#else
|
||||
#endif
|
||||
|
@ -142,30 +86,6 @@ struct darwin_sys_getsockname_args {
|
|||
syscallarg(unsigned int *) alen;
|
||||
};
|
||||
check_syscall_args(darwin_sys_getsockname)
|
||||
|
||||
struct bsd_sys_access_args {
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(int) flags;
|
||||
};
|
||||
check_syscall_args(bsd_sys_access)
|
||||
|
||||
struct bsd_sys_chflags_args {
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(u_long) flags;
|
||||
};
|
||||
check_syscall_args(bsd_sys_chflags)
|
||||
|
||||
struct bsd_compat_43_sys_stat_args {
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(struct stat43 *) ub;
|
||||
};
|
||||
check_syscall_args(bsd_compat_43_sys_stat)
|
||||
|
||||
struct bsd_compat_43_sys_lstat_args {
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(struct stat43 *) ub;
|
||||
};
|
||||
check_syscall_args(bsd_compat_43_sys_lstat)
|
||||
#if defined(KTRACE) || !defined(_KERNEL)
|
||||
#else
|
||||
#endif
|
||||
|
@ -187,11 +107,6 @@ struct darwin_sys_sigprocmask_args {
|
|||
};
|
||||
check_syscall_args(darwin_sys_sigprocmask)
|
||||
|
||||
struct bsd_sys_acct_args {
|
||||
syscallarg(const char *) path;
|
||||
};
|
||||
check_syscall_args(bsd_sys_acct)
|
||||
|
||||
struct darwin_sys_ioctl_args {
|
||||
syscallarg(int) fd;
|
||||
syscallarg(u_long) com;
|
||||
|
@ -199,41 +114,6 @@ struct darwin_sys_ioctl_args {
|
|||
};
|
||||
check_syscall_args(darwin_sys_ioctl)
|
||||
|
||||
struct bsd_sys_revoke_args {
|
||||
syscallarg(const char *) path;
|
||||
};
|
||||
check_syscall_args(bsd_sys_revoke)
|
||||
|
||||
struct bsd_sys_symlink_args {
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(const char *) link;
|
||||
};
|
||||
check_syscall_args(bsd_sys_symlink)
|
||||
|
||||
struct bsd_sys_readlink_args {
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(char *) buf;
|
||||
syscallarg(size_t) count;
|
||||
};
|
||||
check_syscall_args(bsd_sys_readlink)
|
||||
|
||||
struct bsd_sys_execve_args {
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(char *const *) argp;
|
||||
syscallarg(char *const *) envp;
|
||||
};
|
||||
check_syscall_args(bsd_sys_execve)
|
||||
|
||||
struct bsd_sys_chroot_args {
|
||||
syscallarg(const char *) path;
|
||||
};
|
||||
check_syscall_args(bsd_sys_chroot)
|
||||
|
||||
struct bsd_compat_12_sys_swapon_args {
|
||||
syscallarg(const char *) name;
|
||||
};
|
||||
check_syscall_args(bsd_compat_12_sys_swapon)
|
||||
|
||||
struct darwin_sys_socket_args {
|
||||
syscallarg(int) domain;
|
||||
syscallarg(int) type;
|
||||
|
@ -260,24 +140,6 @@ struct darwin_sys_bind_args {
|
|||
};
|
||||
check_syscall_args(darwin_sys_bind)
|
||||
|
||||
struct bsd_sys_rename_args {
|
||||
syscallarg(const char *) from;
|
||||
syscallarg(const char *) to;
|
||||
};
|
||||
check_syscall_args(bsd_sys_rename)
|
||||
|
||||
struct bsd_compat_43_sys_truncate_args {
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(long) length;
|
||||
};
|
||||
check_syscall_args(bsd_compat_43_sys_truncate)
|
||||
|
||||
struct bsd_sys_mkfifo_args {
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(mode_t) mode;
|
||||
};
|
||||
check_syscall_args(bsd_sys_mkfifo)
|
||||
|
||||
struct darwin_sys_sendto_args {
|
||||
syscallarg(int) s;
|
||||
syscallarg(const void *) buf;
|
||||
|
@ -287,23 +149,6 @@ struct darwin_sys_sendto_args {
|
|||
syscallarg(unsigned int) tolen;
|
||||
};
|
||||
check_syscall_args(darwin_sys_sendto)
|
||||
|
||||
struct bsd_sys_mkdir_args {
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(mode_t) mode;
|
||||
};
|
||||
check_syscall_args(bsd_sys_mkdir)
|
||||
|
||||
struct bsd_sys_rmdir_args {
|
||||
syscallarg(const char *) path;
|
||||
};
|
||||
check_syscall_args(bsd_sys_rmdir)
|
||||
|
||||
struct bsd_sys_utimes_args {
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(const struct timeval *) tptr;
|
||||
};
|
||||
check_syscall_args(bsd_sys_utimes)
|
||||
#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
|
||||
#else
|
||||
#endif
|
||||
|
@ -320,12 +165,6 @@ struct darwin_sys_fstatfs_args {
|
|||
};
|
||||
check_syscall_args(darwin_sys_fstatfs)
|
||||
#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
|
||||
|
||||
struct bsd_sys_getfh_args {
|
||||
syscallarg(const char *) fname;
|
||||
syscallarg(fhandle_t *) fhp;
|
||||
};
|
||||
check_syscall_args(bsd_sys_getfh)
|
||||
#else
|
||||
#endif
|
||||
|
||||
|
@ -363,12 +202,6 @@ struct darwin_sys_lstat_args {
|
|||
};
|
||||
check_syscall_args(darwin_sys_lstat)
|
||||
|
||||
struct bsd_sys_pathconf_args {
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(int) name;
|
||||
};
|
||||
check_syscall_args(bsd_sys_pathconf)
|
||||
|
||||
struct darwin_sys_lseek_args {
|
||||
syscallarg(int) fd;
|
||||
syscallarg(long) off1;
|
||||
|
@ -377,13 +210,6 @@ struct darwin_sys_lseek_args {
|
|||
};
|
||||
check_syscall_args(darwin_sys_lseek)
|
||||
|
||||
struct bsd_sys_truncate_args {
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(int) pad;
|
||||
syscallarg(off_t) length;
|
||||
};
|
||||
check_syscall_args(bsd_sys_truncate)
|
||||
|
||||
struct darwin_sys___sysctl_args {
|
||||
syscallarg(int *) name;
|
||||
syscallarg(u_int) namelen;
|
||||
|
@ -394,11 +220,6 @@ struct darwin_sys___sysctl_args {
|
|||
};
|
||||
check_syscall_args(darwin_sys___sysctl)
|
||||
|
||||
struct bsd_sys_undelete_args {
|
||||
syscallarg(const char *) path;
|
||||
};
|
||||
check_syscall_args(bsd_sys_undelete)
|
||||
|
||||
struct darwin_sys_getattrlist_args {
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(struct darwin_attrlist *) alist;
|
||||
|
@ -494,27 +315,27 @@ int sys_read(struct lwp *, void *, register_t *);
|
|||
|
||||
int sys_write(struct lwp *, void *, register_t *);
|
||||
|
||||
int bsd_sys_open(struct lwp *, void *, register_t *);
|
||||
int sys_open(struct lwp *, void *, register_t *);
|
||||
|
||||
int sys_close(struct lwp *, void *, register_t *);
|
||||
|
||||
int sys_wait4(struct lwp *, void *, register_t *);
|
||||
|
||||
int bsd_compat_43_sys_creat(struct lwp *, void *, register_t *);
|
||||
int compat_43_sys_creat(struct lwp *, void *, register_t *);
|
||||
|
||||
int bsd_sys_link(struct lwp *, void *, register_t *);
|
||||
int sys_link(struct lwp *, void *, register_t *);
|
||||
|
||||
int bsd_sys_unlink(struct lwp *, void *, register_t *);
|
||||
int sys_unlink(struct lwp *, void *, register_t *);
|
||||
|
||||
int bsd_sys_chdir(struct lwp *, void *, register_t *);
|
||||
int sys_chdir(struct lwp *, void *, register_t *);
|
||||
|
||||
int sys_fchdir(struct lwp *, void *, register_t *);
|
||||
|
||||
int darwin_sys_mknod(struct lwp *, void *, register_t *);
|
||||
|
||||
int bsd_sys_chmod(struct lwp *, void *, register_t *);
|
||||
int sys_chmod(struct lwp *, void *, register_t *);
|
||||
|
||||
int bsd_sys_chown(struct lwp *, void *, register_t *);
|
||||
int sys_chown(struct lwp *, void *, register_t *);
|
||||
|
||||
int sys_obreak(struct lwp *, void *, register_t *);
|
||||
|
||||
|
@ -524,9 +345,9 @@ int compat_43_sys_lseek(struct lwp *, void *, register_t *);
|
|||
|
||||
int darwin_sys_getpid(struct lwp *, void *, register_t *);
|
||||
|
||||
int bsd_sys_mount(struct lwp *, void *, register_t *);
|
||||
int compat_40_sys_mount(struct lwp *, void *, register_t *);
|
||||
|
||||
int bsd_sys_unmount(struct lwp *, void *, register_t *);
|
||||
int sys_unmount(struct lwp *, void *, register_t *);
|
||||
|
||||
int sys_setuid(struct lwp *, void *, register_t *);
|
||||
|
||||
|
@ -553,9 +374,9 @@ int darwin_sys_getpeername(struct lwp *, void *, register_t *);
|
|||
|
||||
int darwin_sys_getsockname(struct lwp *, void *, register_t *);
|
||||
|
||||
int bsd_sys_access(struct lwp *, void *, register_t *);
|
||||
int sys_access(struct lwp *, void *, register_t *);
|
||||
|
||||
int bsd_sys_chflags(struct lwp *, void *, register_t *);
|
||||
int sys_chflags(struct lwp *, void *, register_t *);
|
||||
|
||||
int sys_fchflags(struct lwp *, void *, register_t *);
|
||||
|
||||
|
@ -563,11 +384,11 @@ int sys_sync(struct lwp *, void *, register_t *);
|
|||
|
||||
int sys_kill(struct lwp *, void *, register_t *);
|
||||
|
||||
int bsd_compat_43_sys_stat(struct lwp *, void *, register_t *);
|
||||
int compat_43_sys_stat(struct lwp *, void *, register_t *);
|
||||
|
||||
int sys_getppid(struct lwp *, void *, register_t *);
|
||||
|
||||
int bsd_compat_43_sys_lstat(struct lwp *, void *, register_t *);
|
||||
int compat_43_sys_lstat(struct lwp *, void *, register_t *);
|
||||
|
||||
int sys_dup(struct lwp *, void *, register_t *);
|
||||
|
||||
|
@ -597,7 +418,7 @@ int sys___getlogin(struct lwp *, void *, register_t *);
|
|||
|
||||
int sys___setlogin(struct lwp *, void *, register_t *);
|
||||
|
||||
int bsd_sys_acct(struct lwp *, void *, register_t *);
|
||||
int sys_acct(struct lwp *, void *, register_t *);
|
||||
|
||||
int compat_13_sys_sigpending(struct lwp *, void *, register_t *);
|
||||
|
||||
|
@ -607,17 +428,17 @@ int darwin_sys_ioctl(struct lwp *, void *, register_t *);
|
|||
|
||||
int sys_reboot(struct lwp *, void *, register_t *);
|
||||
|
||||
int bsd_sys_revoke(struct lwp *, void *, register_t *);
|
||||
int sys_revoke(struct lwp *, void *, register_t *);
|
||||
|
||||
int bsd_sys_symlink(struct lwp *, void *, register_t *);
|
||||
int sys_symlink(struct lwp *, void *, register_t *);
|
||||
|
||||
int bsd_sys_readlink(struct lwp *, void *, register_t *);
|
||||
int sys_readlink(struct lwp *, void *, register_t *);
|
||||
|
||||
int bsd_sys_execve(struct lwp *, void *, register_t *);
|
||||
int sys_execve(struct lwp *, void *, register_t *);
|
||||
|
||||
int sys_umask(struct lwp *, void *, register_t *);
|
||||
|
||||
int bsd_sys_chroot(struct lwp *, void *, register_t *);
|
||||
int sys_chroot(struct lwp *, void *, register_t *);
|
||||
|
||||
int compat_43_sys_fstat(struct lwp *, void *, register_t *);
|
||||
|
||||
|
@ -655,7 +476,7 @@ int sys_setitimer(struct lwp *, void *, register_t *);
|
|||
|
||||
int compat_43_sys_wait(struct lwp *, void *, register_t *);
|
||||
|
||||
int bsd_compat_12_sys_swapon(struct lwp *, void *, register_t *);
|
||||
int compat_12_sys_swapon(struct lwp *, void *, register_t *);
|
||||
|
||||
int sys_getitimer(struct lwp *, void *, register_t *);
|
||||
|
||||
|
@ -731,15 +552,15 @@ int sys_setreuid(struct lwp *, void *, register_t *);
|
|||
|
||||
int sys_setregid(struct lwp *, void *, register_t *);
|
||||
|
||||
int bsd_sys_rename(struct lwp *, void *, register_t *);
|
||||
int sys_rename(struct lwp *, void *, register_t *);
|
||||
|
||||
int bsd_compat_43_sys_truncate(struct lwp *, void *, register_t *);
|
||||
int compat_43_sys_truncate(struct lwp *, void *, register_t *);
|
||||
|
||||
int compat_43_sys_ftruncate(struct lwp *, void *, register_t *);
|
||||
|
||||
int sys_flock(struct lwp *, void *, register_t *);
|
||||
|
||||
int bsd_sys_mkfifo(struct lwp *, void *, register_t *);
|
||||
int sys_mkfifo(struct lwp *, void *, register_t *);
|
||||
|
||||
int darwin_sys_sendto(struct lwp *, void *, register_t *);
|
||||
|
||||
|
@ -747,11 +568,11 @@ int sys_shutdown(struct lwp *, void *, register_t *);
|
|||
|
||||
int sys_socketpair(struct lwp *, void *, register_t *);
|
||||
|
||||
int bsd_sys_mkdir(struct lwp *, void *, register_t *);
|
||||
int sys_mkdir(struct lwp *, void *, register_t *);
|
||||
|
||||
int bsd_sys_rmdir(struct lwp *, void *, register_t *);
|
||||
int sys_rmdir(struct lwp *, void *, register_t *);
|
||||
|
||||
int bsd_sys_utimes(struct lwp *, void *, register_t *);
|
||||
int sys_utimes(struct lwp *, void *, register_t *);
|
||||
|
||||
int sys_adjtime(struct lwp *, void *, register_t *);
|
||||
|
||||
|
@ -781,7 +602,7 @@ int darwin_sys_statfs(struct lwp *, void *, register_t *);
|
|||
int darwin_sys_fstatfs(struct lwp *, void *, register_t *);
|
||||
|
||||
#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
|
||||
int bsd_sys_getfh(struct lwp *, void *, register_t *);
|
||||
int compat_30_sys_getfh(struct lwp *, void *, register_t *);
|
||||
|
||||
#else
|
||||
#endif
|
||||
|
@ -805,7 +626,7 @@ int darwin_sys_fstat(struct lwp *, void *, register_t *);
|
|||
|
||||
int darwin_sys_lstat(struct lwp *, void *, register_t *);
|
||||
|
||||
int bsd_sys_pathconf(struct lwp *, void *, register_t *);
|
||||
int sys_pathconf(struct lwp *, void *, register_t *);
|
||||
|
||||
int sys_fpathconf(struct lwp *, void *, register_t *);
|
||||
|
||||
|
@ -817,7 +638,7 @@ int compat_12_sys_getdirentries(struct lwp *, void *, register_t *);
|
|||
|
||||
int darwin_sys_lseek(struct lwp *, void *, register_t *);
|
||||
|
||||
int bsd_sys_truncate(struct lwp *, void *, register_t *);
|
||||
int sys_truncate(struct lwp *, void *, register_t *);
|
||||
|
||||
int sys_ftruncate(struct lwp *, void *, register_t *);
|
||||
|
||||
|
@ -827,7 +648,7 @@ int sys_mlock(struct lwp *, void *, register_t *);
|
|||
|
||||
int sys_munlock(struct lwp *, void *, register_t *);
|
||||
|
||||
int bsd_sys_undelete(struct lwp *, void *, register_t *);
|
||||
int sys_undelete(struct lwp *, void *, register_t *);
|
||||
|
||||
int darwin_sys_getattrlist(struct lwp *, void *, register_t *);
|
||||
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
/* $NetBSD: darwin_syscalls.c,v 1.52 2007/11/10 13:24:27 dsl Exp $ */
|
||||
/* $NetBSD: darwin_syscalls.c,v 1.53 2007/12/12 21:29:43 dsl Exp $ */
|
||||
|
||||
/*
|
||||
* System call names.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.34 2007/11/10 13:23:18 dsl Exp
|
||||
* created from NetBSD: syscalls.master,v 1.35 2007/12/12 21:24:36 dsl Exp
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: darwin_syscalls.c,v 1.52 2007/11/10 13:24:27 dsl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: darwin_syscalls.c,v 1.53 2007/12/12 21:29:43 dsl Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_ktrace.h"
|
||||
|
@ -24,7 +24,6 @@ __KERNEL_RCSID(0, "$NetBSD: darwin_syscalls.c,v 1.52 2007/11/10 13:24:27 dsl Exp
|
|||
#include <sys/signal.h>
|
||||
#include <sys/mount.h>
|
||||
#include <sys/syscallargs.h>
|
||||
#include <compat/common/compat_file.h>
|
||||
#include <compat/sys/signal.h>
|
||||
#include <compat/mach/mach_types.h>
|
||||
#include <compat/mach/mach_vm.h>
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
/* $NetBSD: darwin_sysent.c,v 1.52 2007/11/10 13:24:27 dsl Exp $ */
|
||||
/* $NetBSD: darwin_sysent.c,v 1.53 2007/12/12 21:29:43 dsl Exp $ */
|
||||
|
||||
/*
|
||||
* System call switch table.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.34 2007/11/10 13:23:18 dsl Exp
|
||||
* created from NetBSD: syscalls.master,v 1.35 2007/12/12 21:24:36 dsl Exp
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: darwin_sysent.c,v 1.52 2007/11/10 13:24:27 dsl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: darwin_sysent.c,v 1.53 2007/12/12 21:29:43 dsl Exp $");
|
||||
|
||||
#include "opt_ktrace.h"
|
||||
#include "opt_nfsserver.h"
|
||||
|
@ -23,7 +23,6 @@ __KERNEL_RCSID(0, "$NetBSD: darwin_sysent.c,v 1.52 2007/11/10 13:24:27 dsl Exp $
|
|||
#include <sys/signal.h>
|
||||
#include <sys/mount.h>
|
||||
#include <sys/syscallargs.h>
|
||||
#include <compat/common/compat_file.h>
|
||||
#include <compat/sys/signal.h>
|
||||
#include <compat/mach/mach_types.h>
|
||||
#include <compat/mach/mach_vm.h>
|
||||
|
@ -46,30 +45,30 @@ struct sysent darwin_sysent[] = {
|
|||
sys_read }, /* 3 = read */
|
||||
{ ns(struct sys_write_args), 0,
|
||||
sys_write }, /* 4 = write */
|
||||
{ ns(struct bsd_sys_open_args), 0,
|
||||
bsd_sys_open }, /* 5 = open */
|
||||
{ ns(struct sys_open_args), 0,
|
||||
sys_open }, /* 5 = open */
|
||||
{ ns(struct sys_close_args), 0,
|
||||
sys_close }, /* 6 = close */
|
||||
{ ns(struct sys_wait4_args), 0,
|
||||
sys_wait4 }, /* 7 = wait4 */
|
||||
{ ns(struct bsd_compat_43_sys_creat_args), 0,
|
||||
bsd_compat_43_sys_creat }, /* 8 = ocreat */
|
||||
{ ns(struct bsd_sys_link_args), 0,
|
||||
bsd_sys_link }, /* 9 = link */
|
||||
{ ns(struct bsd_sys_unlink_args), 0,
|
||||
bsd_sys_unlink }, /* 10 = unlink */
|
||||
{ ns(struct compat_43_sys_creat_args), 0,
|
||||
compat_43_sys_creat }, /* 8 = ocreat */
|
||||
{ ns(struct sys_link_args), 0,
|
||||
sys_link }, /* 9 = link */
|
||||
{ ns(struct sys_unlink_args), 0,
|
||||
sys_unlink }, /* 10 = unlink */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 11 = unimplemented execv */
|
||||
{ ns(struct bsd_sys_chdir_args), 0,
|
||||
bsd_sys_chdir }, /* 12 = chdir */
|
||||
{ ns(struct sys_chdir_args), 0,
|
||||
sys_chdir }, /* 12 = chdir */
|
||||
{ ns(struct sys_fchdir_args), 0,
|
||||
sys_fchdir }, /* 13 = fchdir */
|
||||
{ ns(struct darwin_sys_mknod_args), 0,
|
||||
darwin_sys_mknod }, /* 14 = mknod */
|
||||
{ ns(struct bsd_sys_chmod_args), 0,
|
||||
bsd_sys_chmod }, /* 15 = chmod */
|
||||
{ ns(struct bsd_sys_chown_args), 0,
|
||||
bsd_sys_chown }, /* 16 = chown */
|
||||
{ ns(struct sys_chmod_args), 0,
|
||||
sys_chmod }, /* 15 = chmod */
|
||||
{ ns(struct sys_chown_args), 0,
|
||||
sys_chown }, /* 16 = chown */
|
||||
{ ns(struct sys_obreak_args), 0,
|
||||
sys_obreak }, /* 17 = break */
|
||||
{ ns(struct darwin_sys_getfsstat_args), 0,
|
||||
|
@ -78,10 +77,10 @@ struct sysent darwin_sysent[] = {
|
|||
compat_43_sys_lseek }, /* 19 = olseek */
|
||||
{ 0, 0, 0,
|
||||
darwin_sys_getpid }, /* 20 = getpid */
|
||||
{ ns(struct bsd_sys_mount_args), 0,
|
||||
bsd_sys_mount }, /* 21 = mount */
|
||||
{ ns(struct bsd_sys_unmount_args), 0,
|
||||
bsd_sys_unmount }, /* 22 = unmount */
|
||||
{ ns(struct compat_40_sys_mount_args), 0,
|
||||
compat_40_sys_mount }, /* 21 = mount */
|
||||
{ ns(struct sys_unmount_args), 0,
|
||||
sys_unmount }, /* 22 = unmount */
|
||||
{ ns(struct sys_setuid_args), 0,
|
||||
sys_setuid }, /* 23 = setuid */
|
||||
#ifdef COMPAT_43
|
||||
|
@ -107,22 +106,22 @@ struct sysent darwin_sysent[] = {
|
|||
darwin_sys_getpeername }, /* 31 = getpeername */
|
||||
{ ns(struct darwin_sys_getsockname_args), 0,
|
||||
darwin_sys_getsockname }, /* 32 = getsockname */
|
||||
{ ns(struct bsd_sys_access_args), 0,
|
||||
bsd_sys_access }, /* 33 = access */
|
||||
{ ns(struct bsd_sys_chflags_args), 0,
|
||||
bsd_sys_chflags }, /* 34 = chflags */
|
||||
{ ns(struct sys_access_args), 0,
|
||||
sys_access }, /* 33 = access */
|
||||
{ ns(struct sys_chflags_args), 0,
|
||||
sys_chflags }, /* 34 = chflags */
|
||||
{ ns(struct sys_fchflags_args), 0,
|
||||
sys_fchflags }, /* 35 = fchflags */
|
||||
{ 0, 0, 0,
|
||||
sys_sync }, /* 36 = sync */
|
||||
{ ns(struct sys_kill_args), 0,
|
||||
sys_kill }, /* 37 = kill */
|
||||
{ ns(struct bsd_compat_43_sys_stat_args), 0,
|
||||
bsd_compat_43_sys_stat }, /* 38 = stat43 */
|
||||
{ ns(struct compat_43_sys_stat_args), 0,
|
||||
compat_43_sys_stat }, /* 38 = stat43 */
|
||||
{ 0, 0, 0,
|
||||
sys_getppid }, /* 39 = getppid */
|
||||
{ ns(struct bsd_compat_43_sys_lstat_args), 0,
|
||||
bsd_compat_43_sys_lstat }, /* 40 = lstat43 */
|
||||
{ ns(struct compat_43_sys_lstat_args), 0,
|
||||
compat_43_sys_lstat }, /* 40 = lstat43 */
|
||||
{ ns(struct sys_dup_args), 0,
|
||||
sys_dup }, /* 41 = dup */
|
||||
{ 0, 0, 0,
|
||||
|
@ -153,8 +152,8 @@ struct sysent darwin_sysent[] = {
|
|||
sys___getlogin }, /* 49 = __getlogin */
|
||||
{ ns(struct sys___setlogin_args), 0,
|
||||
sys___setlogin }, /* 50 = __setlogin */
|
||||
{ ns(struct bsd_sys_acct_args), 0,
|
||||
bsd_sys_acct }, /* 51 = acct */
|
||||
{ ns(struct sys_acct_args), 0,
|
||||
sys_acct }, /* 51 = acct */
|
||||
{ 0, 0, 0,
|
||||
compat_13_sys_sigpending }, /* 52 = sigpending13 */
|
||||
{ ns(struct compat_13_sys_sigaltstack_args), 0,
|
||||
|
@ -163,18 +162,18 @@ struct sysent darwin_sysent[] = {
|
|||
darwin_sys_ioctl }, /* 54 = ioctl */
|
||||
{ ns(struct sys_reboot_args), 0,
|
||||
sys_reboot }, /* 55 = oreboot */
|
||||
{ ns(struct bsd_sys_revoke_args), 0,
|
||||
bsd_sys_revoke }, /* 56 = revoke */
|
||||
{ ns(struct bsd_sys_symlink_args), 0,
|
||||
bsd_sys_symlink }, /* 57 = symlink */
|
||||
{ ns(struct bsd_sys_readlink_args), 0,
|
||||
bsd_sys_readlink }, /* 58 = readlink */
|
||||
{ ns(struct bsd_sys_execve_args), 0,
|
||||
bsd_sys_execve }, /* 59 = execve */
|
||||
{ ns(struct sys_revoke_args), 0,
|
||||
sys_revoke }, /* 56 = revoke */
|
||||
{ ns(struct sys_symlink_args), 0,
|
||||
sys_symlink }, /* 57 = symlink */
|
||||
{ ns(struct sys_readlink_args), 0,
|
||||
sys_readlink }, /* 58 = readlink */
|
||||
{ ns(struct sys_execve_args), 0,
|
||||
sys_execve }, /* 59 = execve */
|
||||
{ ns(struct sys_umask_args), 0,
|
||||
sys_umask }, /* 60 = umask */
|
||||
{ ns(struct bsd_sys_chroot_args), 0,
|
||||
bsd_sys_chroot }, /* 61 = chroot */
|
||||
{ ns(struct sys_chroot_args), 0,
|
||||
sys_chroot }, /* 61 = chroot */
|
||||
{ ns(struct compat_43_sys_fstat_args), 0,
|
||||
compat_43_sys_fstat }, /* 62 = fstat43 */
|
||||
{ 0, 0, 0,
|
||||
|
@ -221,8 +220,8 @@ struct sysent darwin_sysent[] = {
|
|||
sys_setitimer }, /* 83 = setitimer */
|
||||
{ 0, 0, 0,
|
||||
compat_43_sys_wait }, /* 84 = owait */
|
||||
{ ns(struct bsd_compat_12_sys_swapon_args), 0,
|
||||
bsd_compat_12_sys_swapon }, /* 85 = swapon */
|
||||
{ ns(struct compat_12_sys_swapon_args), 0,
|
||||
compat_12_sys_swapon }, /* 85 = swapon */
|
||||
{ ns(struct sys_getitimer_args), 0,
|
||||
sys_getitimer }, /* 86 = getitimer */
|
||||
{ ns(struct compat_43_sys_gethostname_args), 0,
|
||||
|
@ -307,28 +306,28 @@ struct sysent darwin_sysent[] = {
|
|||
sys_setreuid }, /* 126 = setreuid */
|
||||
{ ns(struct sys_setregid_args), 0,
|
||||
sys_setregid }, /* 127 = setregid */
|
||||
{ ns(struct bsd_sys_rename_args), 0,
|
||||
bsd_sys_rename }, /* 128 = rename */
|
||||
{ ns(struct bsd_compat_43_sys_truncate_args), 0,
|
||||
bsd_compat_43_sys_truncate }, /* 129 = otruncate */
|
||||
{ ns(struct sys_rename_args), 0,
|
||||
sys_rename }, /* 128 = rename */
|
||||
{ ns(struct compat_43_sys_truncate_args), 0,
|
||||
compat_43_sys_truncate }, /* 129 = otruncate */
|
||||
{ ns(struct compat_43_sys_ftruncate_args), 0,
|
||||
compat_43_sys_ftruncate }, /* 130 = oftruncate */
|
||||
{ ns(struct sys_flock_args), 0,
|
||||
sys_flock }, /* 131 = flock */
|
||||
{ ns(struct bsd_sys_mkfifo_args), 0,
|
||||
bsd_sys_mkfifo }, /* 132 = mkfifo */
|
||||
{ ns(struct sys_mkfifo_args), 0,
|
||||
sys_mkfifo }, /* 132 = mkfifo */
|
||||
{ ns(struct darwin_sys_sendto_args), 0,
|
||||
darwin_sys_sendto }, /* 133 = sendto */
|
||||
{ ns(struct sys_shutdown_args), 0,
|
||||
sys_shutdown }, /* 134 = shutdown */
|
||||
{ ns(struct sys_socketpair_args), 0,
|
||||
sys_socketpair }, /* 135 = socketpair */
|
||||
{ ns(struct bsd_sys_mkdir_args), 0,
|
||||
bsd_sys_mkdir }, /* 136 = mkdir */
|
||||
{ ns(struct bsd_sys_rmdir_args), 0,
|
||||
bsd_sys_rmdir }, /* 137 = rmdir */
|
||||
{ ns(struct bsd_sys_utimes_args), 0,
|
||||
bsd_sys_utimes }, /* 138 = utimes */
|
||||
{ ns(struct sys_mkdir_args), 0,
|
||||
sys_mkdir }, /* 136 = mkdir */
|
||||
{ ns(struct sys_rmdir_args), 0,
|
||||
sys_rmdir }, /* 137 = rmdir */
|
||||
{ ns(struct sys_utimes_args), 0,
|
||||
sys_utimes }, /* 138 = utimes */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 139 = unimplemented futimes */
|
||||
{ ns(struct sys_adjtime_args), 0,
|
||||
|
@ -379,8 +378,8 @@ struct sysent darwin_sysent[] = {
|
|||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 160 = unimplemented */
|
||||
#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
|
||||
{ ns(struct bsd_sys_getfh_args), 0,
|
||||
bsd_sys_getfh }, /* 161 = getfh */
|
||||
{ ns(struct compat_30_sys_getfh_args), 0,
|
||||
compat_30_sys_getfh }, /* 161 = getfh */
|
||||
#else
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 161 = excluded getfh */
|
||||
|
@ -443,8 +442,8 @@ struct sysent darwin_sysent[] = {
|
|||
darwin_sys_fstat }, /* 189 = fstat */
|
||||
{ ns(struct darwin_sys_lstat_args), 0,
|
||||
darwin_sys_lstat }, /* 190 = lstat12 */
|
||||
{ ns(struct bsd_sys_pathconf_args), 0,
|
||||
bsd_sys_pathconf }, /* 191 = pathconf */
|
||||
{ ns(struct sys_pathconf_args), 0,
|
||||
sys_pathconf }, /* 191 = pathconf */
|
||||
{ ns(struct sys_fpathconf_args), 0,
|
||||
sys_fpathconf }, /* 192 = fpathconf */
|
||||
{ 0, 0, 0,
|
||||
|
@ -461,8 +460,8 @@ struct sysent darwin_sysent[] = {
|
|||
sys_nosys }, /* 198 = unimplemented */
|
||||
{ ns(struct darwin_sys_lseek_args), 0,
|
||||
darwin_sys_lseek }, /* 199 = lseek */
|
||||
{ ns(struct bsd_sys_truncate_args), 0,
|
||||
bsd_sys_truncate }, /* 200 = truncate */
|
||||
{ ns(struct sys_truncate_args), 0,
|
||||
sys_truncate }, /* 200 = truncate */
|
||||
{ ns(struct sys_ftruncate_args), 0,
|
||||
sys_ftruncate }, /* 201 = ftruncate */
|
||||
{ ns(struct darwin_sys___sysctl_args), 0,
|
||||
|
@ -471,8 +470,8 @@ struct sysent darwin_sysent[] = {
|
|||
sys_mlock }, /* 203 = mlock */
|
||||
{ ns(struct sys_munlock_args), 0,
|
||||
sys_munlock }, /* 204 = munlock */
|
||||
{ ns(struct bsd_sys_undelete_args), 0,
|
||||
bsd_sys_undelete }, /* 205 = undelete */
|
||||
{ ns(struct sys_undelete_args), 0,
|
||||
sys_undelete }, /* 205 = undelete */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 206 = unimplemented atsocket */
|
||||
{ 0, 0, 0,
|
||||
|
|
Loading…
Reference in New Issue