diff options
author | 1999-09-17 22:15:35 +0000 | |
---|---|---|
committer | 1999-09-17 22:15:35 +0000 | |
commit | c19d1da09c27269bc46470a165d056643fbe86a2 (patch) | |
tree | 56d30a0ba2757f33d9230b335ad5be0a061d3c1e | |
parent | alternate path (diff) | |
download | wireguard-openbsd-c19d1da09c27269bc46470a165d056643fbe86a2.tar.xz wireguard-openbsd-c19d1da09c27269bc46470a165d056643fbe86a2.zip |
regen
-rw-r--r-- | sys/compat/netbsd/netbsd_syscall.h | 56 | ||||
-rw-r--r-- | sys/compat/netbsd/netbsd_syscallargs.h | 198 | ||||
-rw-r--r-- | sys/compat/netbsd/netbsd_syscalls.c | 4 | ||||
-rw-r--r-- | sys/compat/netbsd/netbsd_sysent.c | 112 |
4 files changed, 253 insertions, 117 deletions
diff --git a/sys/compat/netbsd/netbsd_syscall.h b/sys/compat/netbsd/netbsd_syscall.h index b937180ea43..d83674e0e97 100644 --- a/sys/compat/netbsd/netbsd_syscall.h +++ b/sys/compat/netbsd/netbsd_syscall.h @@ -1,10 +1,10 @@ -/* $OpenBSD: netbsd_syscall.h,v 1.8 1999/09/17 15:04:47 kstailey Exp $ */ +/* $OpenBSD: netbsd_syscall.h,v 1.9 1999/09/17 22:15:35 kstailey Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.8 1999/09/17 15:03:18 kstailey Exp + * created from; OpenBSD: syscalls.master,v 1.9 1999/09/17 22:14:09 kstailey Exp */ /* syscall: "syscall" ret: "int" args: "int" "..." */ @@ -22,7 +22,7 @@ /* syscall: "write" ret: "ssize_t" args: "int" "const void *" "size_t" */ #define NETBSD_SYS_write 4 -/* syscall: "open" ret: "int" args: "const char *" "int" "..." */ +/* syscall: "open" ret: "int" args: "char *" "int" "..." */ #define NETBSD_SYS_open 5 /* syscall: "close" ret: "int" args: "int" */ @@ -34,26 +34,26 @@ /* syscall: "ocreat" ret: "int" args: "char *" "int" */ #define NETBSD_SYS_ocreat 8 -/* syscall: "link" ret: "int" args: "const char *" "const char *" */ +/* syscall: "link" ret: "int" args: "char *" "char *" */ #define NETBSD_SYS_link 9 -/* syscall: "unlink" ret: "int" args: "const char *" */ +/* syscall: "unlink" ret: "int" args: "char *" */ #define NETBSD_SYS_unlink 10 /* 11 is obsolete execv */ -/* syscall: "chdir" ret: "int" args: "const char *" */ +/* syscall: "chdir" ret: "int" args: "char *" */ #define NETBSD_SYS_chdir 12 /* syscall: "fchdir" ret: "int" args: "int" */ #define NETBSD_SYS_fchdir 13 -/* syscall: "mknod" ret: "int" args: "const char *" "int" "dev_t" */ +/* syscall: "mknod" ret: "int" args: "char *" "int" "dev_t" */ #define NETBSD_SYS_mknod 14 -/* syscall: "chmod" ret: "int" args: "const char *" "int" */ +/* syscall: "chmod" ret: "int" args: "char *" "int" */ #define NETBSD_SYS_chmod 15 -/* syscall: "chown" ret: "int" args: "const char *" "uid_t" "gid_t" */ +/* syscall: "chown" ret: "int" args: "char *" "uid_t" "gid_t" */ #define NETBSD_SYS_chown 16 /* syscall: "break" ret: "int" args: "char *" */ @@ -71,7 +71,7 @@ /* syscall: "mount" ret: "int" args: "const char *" "const char *" "int" "void *" */ #define NETBSD_SYS_mount 21 -/* syscall: "unmount" ret: "int" args: "const char *" "int" */ +/* syscall: "unmount" ret: "int" args: "char *" "int" */ #define NETBSD_SYS_unmount 22 /* syscall: "setuid" ret: "int" args: "uid_t" */ @@ -104,10 +104,10 @@ /* syscall: "getsockname" ret: "int" args: "int" "struct sockaddr *" "socklen_t *" */ #define NETBSD_SYS_getsockname 32 -/* syscall: "access" ret: "int" args: "const char *" "int" */ +/* syscall: "access" ret: "int" args: "char *" "int" */ #define NETBSD_SYS_access 33 -/* syscall: "chflags" ret: "int" args: "const char *" "u_int" */ +/* syscall: "chflags" ret: "int" args: "char *" "u_int" */ #define NETBSD_SYS_chflags 34 /* syscall: "fchflags" ret: "int" args: "int" "u_int" */ @@ -119,7 +119,7 @@ /* syscall: "kill" ret: "int" args: "int" "int" */ #define NETBSD_SYS_kill 37 -/* syscall: "ostat" ret: "int" args: "const char *" "struct ostat *" */ +/* syscall: "ostat" ret: "int" args: "char *" "struct ostat *" */ #define NETBSD_SYS_ostat 38 /* syscall: "getppid" ret: "pid_t" args: */ @@ -173,22 +173,22 @@ /* syscall: "reboot" ret: "int" args: "int" */ #define NETBSD_SYS_reboot 55 -/* syscall: "revoke" ret: "int" args: "const char *" */ +/* syscall: "revoke" ret: "int" args: "char *" */ #define NETBSD_SYS_revoke 56 -/* syscall: "symlink" ret: "int" args: "const char *" "const char *" */ +/* syscall: "symlink" ret: "int" args: "char *" "char *" */ #define NETBSD_SYS_symlink 57 -/* syscall: "readlink" ret: "int" args: "const char *" "char *" "size_t" */ +/* syscall: "readlink" ret: "int" args: "char *" "char *" "size_t" */ #define NETBSD_SYS_readlink 58 -/* syscall: "execve" ret: "int" args: "const char *" "char *const *" "char *const *" */ +/* syscall: "execve" ret: "int" args: "char *" "char **" "char **" */ #define NETBSD_SYS_execve 59 /* syscall: "umask" ret: "int" args: "int" */ #define NETBSD_SYS_umask 60 -/* syscall: "chroot" ret: "int" args: "const char *" */ +/* syscall: "chroot" ret: "int" args: "char *" */ #define NETBSD_SYS_chroot 61 /* syscall: "ofstat" ret: "int" args: "int" "struct ostat *" */ @@ -372,7 +372,7 @@ /* syscall: "osetregid" ret: "int" args: "int" "int" */ #define NETBSD_SYS_osetregid 127 -/* syscall: "rename" ret: "int" args: "const char *" "const char *" */ +/* syscall: "rename" ret: "int" args: "char *" "char *" */ #define NETBSD_SYS_rename 128 /* syscall: "otruncate" ret: "int" args: "char *" "long" */ @@ -384,7 +384,7 @@ /* syscall: "flock" ret: "int" args: "int" "int" */ #define NETBSD_SYS_flock 131 -/* syscall: "mkfifo" ret: "int" args: "const char *" "int" */ +/* syscall: "mkfifo" ret: "int" args: "char *" "int" */ #define NETBSD_SYS_mkfifo 132 /* syscall: "sendto" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "const struct sockaddr *" "socklen_t" */ @@ -396,10 +396,10 @@ /* syscall: "socketpair" ret: "int" args: "int" "int" "int" "int *" */ #define NETBSD_SYS_socketpair 135 -/* syscall: "mkdir" ret: "int" args: "const char *" "int" */ +/* syscall: "mkdir" ret: "int" args: "char *" "int" */ #define NETBSD_SYS_mkdir 136 -/* syscall: "rmdir" ret: "int" args: "const char *" */ +/* syscall: "rmdir" ret: "int" args: "char *" */ #define NETBSD_SYS_rmdir 137 /* syscall: "utimes" ret: "int" args: "const char *" "const struct timeval *" */ @@ -508,16 +508,16 @@ /* syscall: "lfs_segwait" ret: "int" args: "fsid_t *" "struct timeval *" */ #define NETBSD_SYS_lfs_segwait 187 -/* syscall: "stat" ret: "int" args: "const char *" "struct stat *" */ +/* syscall: "stat" ret: "int" args: "char *" "struct stat *" */ #define NETBSD_SYS_stat 188 /* syscall: "fstat" ret: "int" args: "int" "struct stat12 *" */ #define NETBSD_SYS_fstat 189 -/* syscall: "lstat" ret: "int" args: "const char *" "struct stat *" */ +/* syscall: "lstat" ret: "int" args: "char *" "struct stat *" */ #define NETBSD_SYS_lstat 190 -/* syscall: "pathconf" ret: "long" args: "const char *" "int" */ +/* syscall: "pathconf" ret: "long" args: "char *" "int" */ #define NETBSD_SYS_pathconf 191 /* syscall: "fpathconf" ret: "long" args: "int" "int" */ @@ -544,7 +544,7 @@ /* syscall: "lseek" ret: "off_t" args: "int" "int" "off_t" "int" */ #define NETBSD_SYS_lseek 199 -/* syscall: "truncate" ret: "int" args: "const char *" "int" "off_t" */ +/* syscall: "truncate" ret: "int" args: "char *" "int" "off_t" */ #define NETBSD_SYS_truncate 200 /* syscall: "ftruncate" ret: "int" args: "int" "int" "off_t" */ @@ -643,13 +643,13 @@ /* syscall: "msync" ret: "int" args: "void *" "size_t" "int" */ #define NETBSD_SYS_msync 277 -/* syscall: "__stat13" ret: "int" args: "const char *" "struct netbsd_stat *" */ +/* syscall: "__stat13" ret: "int" args: "char *" "struct netbsd_stat *" */ #define NETBSD_SYS___stat13 278 /* syscall: "__fstat13" ret: "int" args: "int" "struct netbsd_stat *" */ #define NETBSD_SYS___fstat13 279 -/* syscall: "__lstat13" ret: "int" args: "const char *" "struct netbsd_stat *" */ +/* syscall: "__lstat13" ret: "int" args: "char *" "struct netbsd_stat *" */ #define NETBSD_SYS___lstat13 280 /* syscall: "__sigaltstack14" ret: "int" args: "const struct netbsd_sigaltstack *" "struct netbsd_sigaltstack *" */ diff --git a/sys/compat/netbsd/netbsd_syscallargs.h b/sys/compat/netbsd/netbsd_syscallargs.h index 3227b391a9e..c61ce65917a 100644 --- a/sys/compat/netbsd/netbsd_syscallargs.h +++ b/sys/compat/netbsd/netbsd_syscallargs.h @@ -1,14 +1,129 @@ -/* $OpenBSD: netbsd_syscallargs.h,v 1.8 1999/09/17 15:04:47 kstailey Exp $ */ +/* $OpenBSD: netbsd_syscallargs.h,v 1.9 1999/09/17 22:15:35 kstailey Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.8 1999/09/17 15:03:18 kstailey Exp + * created from; OpenBSD: syscalls.master,v 1.9 1999/09/17 22:14:09 kstailey Exp */ #define syscallarg(x) union { x datum; register_t pad; } +struct netbsd_sys_open_args { + syscallarg(char *) path; + syscallarg(int) flags; + syscallarg(int) mode; +}; + +struct compat_43_netbsd_sys_creat_args { + syscallarg(char *) path; + syscallarg(int) mode; +}; + +struct netbsd_sys_link_args { + syscallarg(char *) path; + syscallarg(char *) link; +}; + +struct netbsd_sys_unlink_args { + syscallarg(char *) path; +}; + +struct netbsd_sys_chdir_args { + syscallarg(char *) path; +}; + +struct netbsd_sys_mknod_args { + syscallarg(char *) path; + syscallarg(int) mode; + syscallarg(dev_t) dev; +}; + +struct netbsd_sys_chmod_args { + syscallarg(char *) path; + syscallarg(int) mode; +}; + +struct netbsd_sys_chown_args { + syscallarg(char *) path; + syscallarg(uid_t) uid; + syscallarg(gid_t) gid; +}; + +struct netbsd_sys_unmount_args { + syscallarg(char *) path; + syscallarg(int) flags; +}; + +struct netbsd_sys_access_args { + syscallarg(char *) path; + syscallarg(int) flags; +}; + +struct netbsd_sys_chflags_args { + syscallarg(char *) path; + syscallarg(u_int) flags; +}; + +struct compat_43_netbsd_sys_stat_args { + syscallarg(char *) path; + syscallarg(struct ostat *) ub; +}; + +struct compat_43_netbsd_sys_lstat_args { + syscallarg(char *) path; + syscallarg(struct ostat *) ub; +}; + +struct netbsd_sys_revoke_args { + syscallarg(char *) path; +}; + +struct netbsd_sys_symlink_args { + syscallarg(char *) path; + syscallarg(char *) link; +}; + +struct netbsd_sys_readlink_args { + syscallarg(char *) path; + syscallarg(char *) buf; + syscallarg(size_t) count; +}; + +struct netbsd_sys_execve_args { + syscallarg(char *) path; + syscallarg(char **) argp; + syscallarg(char **) envp; +}; + +struct netbsd_sys_chroot_args { + syscallarg(char *) path; +}; + +struct netbsd_sys_rename_args { + syscallarg(char *) from; + syscallarg(char *) to; +}; + +struct compat_43_netbsd_sys_truncate_args { + syscallarg(char *) path; + syscallarg(long) length; +}; + +struct netbsd_sys_mkfifo_args { + syscallarg(char *) path; + syscallarg(int) mode; +}; + +struct netbsd_sys_mkdir_args { + syscallarg(char *) path; + syscallarg(int) mode; +}; + +struct netbsd_sys_rmdir_args { + syscallarg(char *) path; +}; + struct netbsd_sys_pread_args { syscallarg(int) fd; syscallarg(void *) buf; @@ -25,6 +140,27 @@ struct netbsd_sys_pwrite_args { syscallarg(off_t) offset; }; +struct netbsd_sys_stat_args { + syscallarg(char *) path; + syscallarg(struct stat *) ub; +}; + +struct netbsd_sys_lstat_args { + syscallarg(char *) path; + syscallarg(struct stat *) ub; +}; + +struct netbsd_sys_pathconf_args { + syscallarg(char *) path; + syscallarg(int) name; +}; + +struct netbsd_sys_truncate_args { + syscallarg(char *) path; + syscallarg(int) pad; + syscallarg(off_t) length; +}; + struct netbsd_sys_fdatasync_args { syscallarg(int) fd; }; @@ -46,7 +182,7 @@ struct netbsd_sys_lutimes_args { }; struct netbsd_sys___stat13_args { - syscallarg(const char *) path; + syscallarg(char *) path; syscallarg(struct netbsd_stat *) ub; }; @@ -56,7 +192,7 @@ struct netbsd_sys___fstat13_args { }; struct netbsd_sys___lstat13_args { - syscallarg(const char *) path; + syscallarg(char *) path; syscallarg(struct netbsd_stat *) ub; }; @@ -118,23 +254,23 @@ int sys_exit __P((struct proc *, void *, register_t *)); int sys_fork __P((struct proc *, void *, register_t *)); int sys_read __P((struct proc *, void *, register_t *)); int sys_write __P((struct proc *, void *, register_t *)); -int sys_open __P((struct proc *, void *, register_t *)); +int netbsd_sys_open __P((struct proc *, void *, register_t *)); int sys_close __P((struct proc *, void *, register_t *)); int sys_wait4 __P((struct proc *, void *, register_t *)); -int compat_43_sys_creat __P((struct proc *, void *, register_t *)); -int sys_link __P((struct proc *, void *, register_t *)); -int sys_unlink __P((struct proc *, void *, register_t *)); -int sys_chdir __P((struct proc *, void *, register_t *)); +int compat_43_netbsd_sys_creat __P((struct proc *, void *, register_t *)); +int netbsd_sys_link __P((struct proc *, void *, register_t *)); +int netbsd_sys_unlink __P((struct proc *, void *, register_t *)); +int netbsd_sys_chdir __P((struct proc *, void *, register_t *)); int sys_fchdir __P((struct proc *, void *, register_t *)); -int sys_mknod __P((struct proc *, void *, register_t *)); -int sys_chmod __P((struct proc *, void *, register_t *)); -int sys_chown __P((struct proc *, void *, register_t *)); +int netbsd_sys_mknod __P((struct proc *, void *, register_t *)); +int netbsd_sys_chmod __P((struct proc *, void *, register_t *)); +int netbsd_sys_chown __P((struct proc *, void *, register_t *)); int sys_obreak __P((struct proc *, void *, register_t *)); int sys_ogetfsstat __P((struct proc *, void *, register_t *)); int sys_lseek __P((struct proc *, void *, register_t *)); int sys_getpid __P((struct proc *, void *, register_t *)); int sys_mount __P((struct proc *, void *, register_t *)); -int sys_unmount __P((struct proc *, void *, register_t *)); +int netbsd_sys_unmount __P((struct proc *, void *, register_t *)); int sys_setuid __P((struct proc *, void *, register_t *)); int sys_getuid __P((struct proc *, void *, register_t *)); int sys_geteuid __P((struct proc *, void *, register_t *)); @@ -145,14 +281,14 @@ int sys_recvfrom __P((struct proc *, void *, register_t *)); int sys_accept __P((struct proc *, void *, register_t *)); int sys_getpeername __P((struct proc *, void *, register_t *)); int sys_getsockname __P((struct proc *, void *, register_t *)); -int sys_access __P((struct proc *, void *, register_t *)); -int sys_chflags __P((struct proc *, void *, register_t *)); +int netbsd_sys_access __P((struct proc *, void *, register_t *)); +int netbsd_sys_chflags __P((struct proc *, void *, register_t *)); int sys_fchflags __P((struct proc *, void *, register_t *)); int sys_sync __P((struct proc *, void *, register_t *)); int sys_kill __P((struct proc *, void *, register_t *)); -int sys_stat __P((struct proc *, void *, register_t *)); +int compat_43_netbsd_sys_stat __P((struct proc *, void *, register_t *)); int sys_getppid __P((struct proc *, void *, register_t *)); -int sys_lstat __P((struct proc *, void *, register_t *)); +int compat_43_netbsd_sys_lstat __P((struct proc *, void *, register_t *)); int sys_dup __P((struct proc *, void *, register_t *)); int sys_opipe __P((struct proc *, void *, register_t *)); int sys_getegid __P((struct proc *, void *, register_t *)); @@ -171,12 +307,12 @@ int sys_sigpending __P((struct proc *, void *, register_t *)); int sys_sigaltstack __P((struct proc *, void *, register_t *)); int sys_ioctl __P((struct proc *, void *, register_t *)); int sys_reboot __P((struct proc *, void *, register_t *)); -int sys_revoke __P((struct proc *, void *, register_t *)); -int sys_symlink __P((struct proc *, void *, register_t *)); -int sys_readlink __P((struct proc *, void *, register_t *)); -int sys_execve __P((struct proc *, void *, register_t *)); +int netbsd_sys_revoke __P((struct proc *, void *, register_t *)); +int netbsd_sys_symlink __P((struct proc *, void *, register_t *)); +int netbsd_sys_readlink __P((struct proc *, void *, register_t *)); +int netbsd_sys_execve __P((struct proc *, void *, register_t *)); int sys_umask __P((struct proc *, void *, register_t *)); -int sys_chroot __P((struct proc *, void *, register_t *)); +int netbsd_sys_chroot __P((struct proc *, void *, register_t *)); int sys_fstat __P((struct proc *, void *, register_t *)); int compat_43_sys_getkerninfo __P((struct proc *, void *, register_t *)); int compat_43_sys_getpagesize __P((struct proc *, void *, register_t *)); @@ -238,16 +374,16 @@ int sys_fchmod __P((struct proc *, void *, register_t *)); int compat_43_sys_recvfrom __P((struct proc *, void *, register_t *)); int compat_43_sys_setreuid __P((struct proc *, void *, register_t *)); int compat_43_sys_setregid __P((struct proc *, void *, register_t *)); -int sys_rename __P((struct proc *, void *, register_t *)); -int compat_43_sys_truncate __P((struct proc *, void *, register_t *)); +int netbsd_sys_rename __P((struct proc *, void *, register_t *)); +int compat_43_netbsd_sys_truncate __P((struct proc *, void *, register_t *)); int compat_43_sys_ftruncate __P((struct proc *, void *, register_t *)); int sys_flock __P((struct proc *, void *, register_t *)); -int sys_mkfifo __P((struct proc *, void *, register_t *)); +int netbsd_sys_mkfifo __P((struct proc *, void *, register_t *)); int sys_sendto __P((struct proc *, void *, register_t *)); int sys_shutdown __P((struct proc *, void *, register_t *)); int sys_socketpair __P((struct proc *, void *, register_t *)); -int sys_mkdir __P((struct proc *, void *, register_t *)); -int sys_rmdir __P((struct proc *, void *, register_t *)); +int netbsd_sys_mkdir __P((struct proc *, void *, register_t *)); +int netbsd_sys_rmdir __P((struct proc *, void *, register_t *)); int sys_utimes __P((struct proc *, void *, register_t *)); int sys_adjtime __P((struct proc *, void *, register_t *)); int compat_43_sys_getpeername __P((struct proc *, void *, register_t *)); @@ -304,10 +440,10 @@ int lfs_segclean __P((struct proc *, void *, register_t *)); int lfs_segwait __P((struct proc *, void *, register_t *)); #else #endif -int sys_stat __P((struct proc *, void *, register_t *)); +int netbsd_sys_stat __P((struct proc *, void *, register_t *)); int sys_fstat __P((struct proc *, void *, register_t *)); -int sys_lstat __P((struct proc *, void *, register_t *)); -int sys_pathconf __P((struct proc *, void *, register_t *)); +int netbsd_sys_lstat __P((struct proc *, void *, register_t *)); +int netbsd_sys_pathconf __P((struct proc *, void *, register_t *)); int sys_fpathconf __P((struct proc *, void *, register_t *)); int sys_swapctl __P((struct proc *, void *, register_t *)); int sys_getrlimit __P((struct proc *, void *, register_t *)); @@ -315,7 +451,7 @@ int sys_setrlimit __P((struct proc *, void *, register_t *)); int sys_getdirentries __P((struct proc *, void *, register_t *)); int sys_mmap __P((struct proc *, void *, register_t *)); int sys_lseek __P((struct proc *, void *, register_t *)); -int sys_truncate __P((struct proc *, void *, register_t *)); +int netbsd_sys_truncate __P((struct proc *, void *, register_t *)); int sys_ftruncate __P((struct proc *, void *, register_t *)); int sys___sysctl __P((struct proc *, void *, register_t *)); int sys_mlock __P((struct proc *, void *, register_t *)); diff --git a/sys/compat/netbsd/netbsd_syscalls.c b/sys/compat/netbsd/netbsd_syscalls.c index e515b81b4f7..4d5c6599fec 100644 --- a/sys/compat/netbsd/netbsd_syscalls.c +++ b/sys/compat/netbsd/netbsd_syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: netbsd_syscalls.c,v 1.8 1999/09/17 15:04:47 kstailey Exp $ */ +/* $OpenBSD: netbsd_syscalls.c,v 1.9 1999/09/17 22:15:35 kstailey Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.8 1999/09/17 15:03:18 kstailey Exp + * created from; OpenBSD: syscalls.master,v 1.9 1999/09/17 22:14:09 kstailey Exp */ char *netbsd_syscallnames[] = { diff --git a/sys/compat/netbsd/netbsd_sysent.c b/sys/compat/netbsd/netbsd_sysent.c index 1457b0c3bd1..f218809965d 100644 --- a/sys/compat/netbsd/netbsd_sysent.c +++ b/sys/compat/netbsd/netbsd_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: netbsd_sysent.c,v 1.8 1999/09/17 15:04:48 kstailey Exp $ */ +/* $OpenBSD: netbsd_sysent.c,v 1.9 1999/09/17 22:15:35 kstailey Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.8 1999/09/17 15:03:18 kstailey Exp + * created from; OpenBSD: syscalls.master,v 1.9 1999/09/17 22:14:09 kstailey Exp */ #include <sys/param.h> @@ -32,30 +32,30 @@ struct sysent netbsd_sysent[] = { sys_read }, /* 3 = read */ { 3, s(struct sys_write_args), sys_write }, /* 4 = write */ - { 3, s(struct sys_open_args), - sys_open }, /* 5 = open */ + { 3, s(struct netbsd_sys_open_args), + netbsd_sys_open }, /* 5 = open */ { 1, s(struct sys_close_args), sys_close }, /* 6 = close */ { 4, s(struct sys_wait4_args), sys_wait4 }, /* 7 = wait4 */ - { 2, s(struct compat_43_sys_creat_args), - compat_43_sys_creat }, /* 8 = ocreat */ - { 2, s(struct sys_link_args), - sys_link }, /* 9 = link */ - { 1, s(struct sys_unlink_args), - sys_unlink }, /* 10 = unlink */ + { 2, s(struct compat_43_netbsd_sys_creat_args), + compat_43_netbsd_sys_creat }, /* 8 = ocreat */ + { 2, s(struct netbsd_sys_link_args), + netbsd_sys_link }, /* 9 = link */ + { 1, s(struct netbsd_sys_unlink_args), + netbsd_sys_unlink }, /* 10 = unlink */ { 0, 0, sys_nosys }, /* 11 = obsolete execv */ - { 1, s(struct sys_chdir_args), - sys_chdir }, /* 12 = chdir */ + { 1, s(struct netbsd_sys_chdir_args), + netbsd_sys_chdir }, /* 12 = chdir */ { 1, s(struct sys_fchdir_args), sys_fchdir }, /* 13 = fchdir */ - { 3, s(struct sys_mknod_args), - sys_mknod }, /* 14 = mknod */ - { 2, s(struct sys_chmod_args), - sys_chmod }, /* 15 = chmod */ - { 3, s(struct sys_chown_args), - sys_chown }, /* 16 = chown */ + { 3, s(struct netbsd_sys_mknod_args), + netbsd_sys_mknod }, /* 14 = mknod */ + { 2, s(struct netbsd_sys_chmod_args), + netbsd_sys_chmod }, /* 15 = chmod */ + { 3, s(struct netbsd_sys_chown_args), + netbsd_sys_chown }, /* 16 = chown */ { 1, s(struct sys_obreak_args), sys_obreak }, /* 17 = break */ { 3, s(struct sys_ogetfsstat_args), @@ -66,8 +66,8 @@ struct sysent netbsd_sysent[] = { sys_getpid }, /* 20 = getpid */ { 4, s(struct sys_mount_args), sys_mount }, /* 21 = mount */ - { 2, s(struct sys_unmount_args), - sys_unmount }, /* 22 = unmount */ + { 2, s(struct netbsd_sys_unmount_args), + netbsd_sys_unmount }, /* 22 = unmount */ { 1, s(struct sys_setuid_args), sys_setuid }, /* 23 = setuid */ { 0, 0, @@ -88,22 +88,22 @@ struct sysent netbsd_sysent[] = { sys_getpeername }, /* 31 = getpeername */ { 3, s(struct sys_getsockname_args), sys_getsockname }, /* 32 = getsockname */ - { 2, s(struct sys_access_args), - sys_access }, /* 33 = access */ - { 2, s(struct sys_chflags_args), - sys_chflags }, /* 34 = chflags */ + { 2, s(struct netbsd_sys_access_args), + netbsd_sys_access }, /* 33 = access */ + { 2, s(struct netbsd_sys_chflags_args), + netbsd_sys_chflags }, /* 34 = chflags */ { 2, s(struct sys_fchflags_args), sys_fchflags }, /* 35 = fchflags */ { 0, 0, sys_sync }, /* 36 = sync */ { 2, s(struct sys_kill_args), sys_kill }, /* 37 = kill */ - { 2, s(struct sys_stat_args), - sys_stat }, /* 38 = ostat */ + { 2, s(struct compat_43_netbsd_sys_stat_args), + compat_43_netbsd_sys_stat }, /* 38 = ostat */ { 0, 0, sys_getppid }, /* 39 = getppid */ - { 2, s(struct sys_lstat_args), - sys_lstat }, /* 40 = olstat */ + { 2, s(struct compat_43_netbsd_sys_lstat_args), + compat_43_netbsd_sys_lstat }, /* 40 = olstat */ { 1, s(struct sys_dup_args), sys_dup }, /* 41 = dup */ { 0, 0, @@ -139,18 +139,18 @@ struct sysent netbsd_sysent[] = { sys_ioctl }, /* 54 = ioctl */ { 1, s(struct sys_reboot_args), sys_reboot }, /* 55 = reboot */ - { 1, s(struct sys_revoke_args), - sys_revoke }, /* 56 = revoke */ - { 2, s(struct sys_symlink_args), - sys_symlink }, /* 57 = symlink */ - { 3, s(struct sys_readlink_args), - sys_readlink }, /* 58 = readlink */ - { 3, s(struct sys_execve_args), - sys_execve }, /* 59 = execve */ + { 1, s(struct netbsd_sys_revoke_args), + netbsd_sys_revoke }, /* 56 = revoke */ + { 2, s(struct netbsd_sys_symlink_args), + netbsd_sys_symlink }, /* 57 = symlink */ + { 3, s(struct netbsd_sys_readlink_args), + netbsd_sys_readlink }, /* 58 = readlink */ + { 3, s(struct netbsd_sys_execve_args), + netbsd_sys_execve }, /* 59 = execve */ { 1, s(struct sys_umask_args), sys_umask }, /* 60 = umask */ - { 1, s(struct sys_chroot_args), - sys_chroot }, /* 61 = chroot */ + { 1, s(struct netbsd_sys_chroot_args), + netbsd_sys_chroot }, /* 61 = chroot */ { 2, s(struct sys_fstat_args), sys_fstat }, /* 62 = ofstat */ { 4, s(struct compat_43_sys_getkerninfo_args), @@ -288,26 +288,26 @@ struct sysent netbsd_sysent[] = { compat_43_sys_setreuid }, /* 126 = osetreuid */ { 2, s(struct compat_43_sys_setregid_args), compat_43_sys_setregid }, /* 127 = osetregid */ - { 2, s(struct sys_rename_args), - sys_rename }, /* 128 = rename */ - { 2, s(struct compat_43_sys_truncate_args), - compat_43_sys_truncate }, /* 129 = otruncate */ + { 2, s(struct netbsd_sys_rename_args), + netbsd_sys_rename }, /* 128 = rename */ + { 2, s(struct compat_43_netbsd_sys_truncate_args), + compat_43_netbsd_sys_truncate }, /* 129 = otruncate */ { 2, s(struct compat_43_sys_ftruncate_args), compat_43_sys_ftruncate }, /* 130 = oftruncate */ { 2, s(struct sys_flock_args), sys_flock }, /* 131 = flock */ - { 2, s(struct sys_mkfifo_args), - sys_mkfifo }, /* 132 = mkfifo */ + { 2, s(struct netbsd_sys_mkfifo_args), + netbsd_sys_mkfifo }, /* 132 = mkfifo */ { 6, s(struct sys_sendto_args), sys_sendto }, /* 133 = sendto */ { 2, s(struct sys_shutdown_args), sys_shutdown }, /* 134 = shutdown */ { 4, s(struct sys_socketpair_args), sys_socketpair }, /* 135 = socketpair */ - { 2, s(struct sys_mkdir_args), - sys_mkdir }, /* 136 = mkdir */ - { 1, s(struct sys_rmdir_args), - sys_rmdir }, /* 137 = rmdir */ + { 2, s(struct netbsd_sys_mkdir_args), + netbsd_sys_mkdir }, /* 136 = mkdir */ + { 1, s(struct netbsd_sys_rmdir_args), + netbsd_sys_rmdir }, /* 137 = rmdir */ { 2, s(struct sys_utimes_args), sys_utimes }, /* 138 = utimes */ { 0, 0, @@ -451,14 +451,14 @@ struct sysent netbsd_sysent[] = { { 0, 0, sys_nosys }, /* 187 = unimplemented */ #endif - { 2, s(struct sys_stat_args), - sys_stat }, /* 188 = stat */ + { 2, s(struct netbsd_sys_stat_args), + netbsd_sys_stat }, /* 188 = stat */ { 2, s(struct sys_fstat_args), sys_fstat }, /* 189 = fstat */ - { 2, s(struct sys_lstat_args), - sys_lstat }, /* 190 = lstat */ - { 2, s(struct sys_pathconf_args), - sys_pathconf }, /* 191 = pathconf */ + { 2, s(struct netbsd_sys_lstat_args), + netbsd_sys_lstat }, /* 190 = lstat */ + { 2, s(struct netbsd_sys_pathconf_args), + netbsd_sys_pathconf }, /* 191 = pathconf */ { 2, s(struct sys_fpathconf_args), sys_fpathconf }, /* 192 = fpathconf */ { 3, s(struct sys_swapctl_args), @@ -475,8 +475,8 @@ struct sysent netbsd_sysent[] = { sys_nosys }, /* 198 = __syscall (indir) */ { 4, s(struct sys_lseek_args), sys_lseek }, /* 199 = lseek */ - { 3, s(struct sys_truncate_args), - sys_truncate }, /* 200 = truncate */ + { 3, s(struct netbsd_sys_truncate_args), + netbsd_sys_truncate }, /* 200 = truncate */ { 3, s(struct sys_ftruncate_args), sys_ftruncate }, /* 201 = ftruncate */ { 6, s(struct sys___sysctl_args), |