1 1.1 deraadt /* 2 1.1 deraadt * System call argument lists. 3 1.1 deraadt * 4 1.1 deraadt * DO NOT EDIT-- this file is automatically generated. 5 1.4 deraadt * created from NetBSD: syscalls.master,v 1.21 1994/11/14 07:33:50 deraadt Exp 6 1.1 deraadt */ 7 1.1 deraadt 8 1.1 deraadt #define syscallarg(x) union { x datum; register_t pad; } 9 1.1 deraadt 10 1.1 deraadt struct sunos_open_args { 11 1.1 deraadt syscallarg(char *) path; 12 1.1 deraadt syscallarg(int) flags; 13 1.1 deraadt syscallarg(int) mode; 14 1.1 deraadt }; 15 1.1 deraadt 16 1.1 deraadt struct sunos_wait4_args { 17 1.1 deraadt syscallarg(int) pid; 18 1.1 deraadt syscallarg(int *) status; 19 1.1 deraadt syscallarg(int) options; 20 1.1 deraadt syscallarg(struct rusage *) rusage; 21 1.1 deraadt }; 22 1.1 deraadt 23 1.1 deraadt struct sunos_creat_args { 24 1.1 deraadt syscallarg(char *) path; 25 1.1 deraadt syscallarg(int) mode; 26 1.1 deraadt }; 27 1.1 deraadt 28 1.1 deraadt struct sunos_execv_args { 29 1.1 deraadt syscallarg(char *) path; 30 1.4 deraadt syscallarg(char **) argp; 31 1.1 deraadt }; 32 1.1 deraadt 33 1.1 deraadt struct sunos_mknod_args { 34 1.1 deraadt syscallarg(char *) path; 35 1.1 deraadt syscallarg(int) mode; 36 1.1 deraadt syscallarg(int) dev; 37 1.1 deraadt }; 38 1.1 deraadt 39 1.1 deraadt struct sunos_mctl_args { 40 1.1 deraadt syscallarg(caddr_t) addr; 41 1.1 deraadt syscallarg(int) len; 42 1.1 deraadt syscallarg(int) func; 43 1.1 deraadt syscallarg(void *) arg; 44 1.1 deraadt }; 45 1.1 deraadt 46 1.1 deraadt struct sunos_ioctl_args { 47 1.1 deraadt syscallarg(int) fd; 48 1.1 deraadt syscallarg(u_long) com; 49 1.1 deraadt syscallarg(caddr_t) data; 50 1.1 deraadt }; 51 1.1 deraadt 52 1.1 deraadt struct sunos_omsync_args { 53 1.1 deraadt syscallarg(caddr_t) addr; 54 1.1 deraadt syscallarg(int) len; 55 1.1 deraadt syscallarg(int) flags; 56 1.1 deraadt }; 57 1.1 deraadt 58 1.1 deraadt struct sunos_mmap_args { 59 1.1 deraadt syscallarg(caddr_t) addr; 60 1.1 deraadt syscallarg(int) len; 61 1.1 deraadt syscallarg(int) prot; 62 1.4 deraadt syscallarg(u_int) flags; 63 1.1 deraadt syscallarg(int) fd; 64 1.1 deraadt syscallarg(long) pos; 65 1.1 deraadt }; 66 1.1 deraadt 67 1.1 deraadt struct sunos_setpgid_args { 68 1.1 deraadt syscallarg(int) pid; 69 1.1 deraadt syscallarg(int) pgid; 70 1.1 deraadt }; 71 1.1 deraadt 72 1.1 deraadt struct sunos_setsockopt_args { 73 1.1 deraadt syscallarg(int) s; 74 1.1 deraadt syscallarg(int) level; 75 1.1 deraadt syscallarg(int) name; 76 1.1 deraadt syscallarg(caddr_t) val; 77 1.1 deraadt syscallarg(int) valsize; 78 1.1 deraadt }; 79 1.1 deraadt 80 1.1 deraadt struct sunos_getrlimit_args { 81 1.1 deraadt syscallarg(u_int) which; 82 1.1 deraadt syscallarg(struct orlimit *) rlp; 83 1.1 deraadt }; 84 1.1 deraadt 85 1.1 deraadt struct sunos_setrlimit_args { 86 1.1 deraadt syscallarg(u_int) which; 87 1.1 deraadt syscallarg(struct orlimit *) rlp; 88 1.1 deraadt }; 89 1.1 deraadt 90 1.1 deraadt struct sunos_nfssvc_args { 91 1.1 deraadt syscallarg(int) fd; 92 1.1 deraadt }; 93 1.1 deraadt 94 1.1 deraadt struct sunos_statfs_args { 95 1.1 deraadt syscallarg(char *) path; 96 1.1 deraadt syscallarg(struct sunos_statfs *) buf; 97 1.1 deraadt }; 98 1.1 deraadt 99 1.1 deraadt struct sunos_fstatfs_args { 100 1.1 deraadt syscallarg(int) fd; 101 1.1 deraadt syscallarg(struct sunos_statfs *) buf; 102 1.1 deraadt }; 103 1.1 deraadt 104 1.1 deraadt struct sunos_unmount_args { 105 1.1 deraadt syscallarg(char *) path; 106 1.1 deraadt syscallarg(int) flags; 107 1.1 deraadt }; 108 1.1 deraadt 109 1.1 deraadt struct sunos_quotactl_args { 110 1.1 deraadt syscallarg(int) cmd; 111 1.1 deraadt syscallarg(char *) special; 112 1.1 deraadt syscallarg(int) uid; 113 1.1 deraadt syscallarg(caddr_t) addr; 114 1.1 deraadt }; 115 1.1 deraadt 116 1.1 deraadt struct sunos_exportfs_args { 117 1.1 deraadt syscallarg(char *) path; 118 1.1 deraadt syscallarg(char *) ex; 119 1.1 deraadt }; 120 1.1 deraadt 121 1.1 deraadt struct sunos_mount_args { 122 1.1 deraadt syscallarg(char *) type; 123 1.1 deraadt syscallarg(char *) dir; 124 1.1 deraadt syscallarg(int) flags; 125 1.1 deraadt syscallarg(caddr_t) data; 126 1.1 deraadt }; 127 1.1 deraadt 128 1.1 deraadt struct sunos_ustat_args { 129 1.1 deraadt syscallarg(int) dev; 130 1.1 deraadt syscallarg(struct sunos_ustat *) buf; 131 1.1 deraadt }; 132 1.1 deraadt 133 1.1 deraadt struct sunos_auditsys_args { 134 1.1 deraadt syscallarg(char *) record; 135 1.1 deraadt }; 136 1.1 deraadt 137 1.1 deraadt struct sunos_getdents_args { 138 1.1 deraadt syscallarg(int) fd; 139 1.1 deraadt syscallarg(char *) buf; 140 1.1 deraadt syscallarg(int) nbytes; 141 1.1 deraadt }; 142 1.1 deraadt 143 1.1 deraadt struct sunos_fchroot_args { 144 1.1 deraadt syscallarg(int) fd; 145 1.1 deraadt }; 146 1.1 deraadt 147 1.1 deraadt struct sunos_sigpending_args { 148 1.1 deraadt syscallarg(int *) mask; 149 1.1 deraadt }; 150 1.1 deraadt 151 1.1 deraadt struct sunos_sysconf_args { 152 1.1 deraadt syscallarg(int) name; 153 1.1 deraadt }; 154 1.1 deraadt 155 1.1 deraadt struct sunos_uname_args { 156 1.1 deraadt syscallarg(struct sunos_utsname *) name; 157 1.1 deraadt }; 158 1.1 deraadt 159 1.1 deraadt #undef syscallarg 160