1 /* 2 * System call prototypes. 3 * 4 * DO NOT EDIT-- this file is automatically generated. 5 * $FreeBSD$ 6 */ 7 8 #ifndef _FREEBSD32_SYSPROTO_H_ 9 #define _FREEBSD32_SYSPROTO_H_ 10 11 #include <sys/signal.h> 12 #include <sys/acl.h> 13 #include <sys/cpuset.h> 14 #include <sys/_ffcounter.h> 15 #include <sys/_semaphore.h> 16 #include <sys/ucontext.h> 17 #include <sys/wait.h> 18 19 #include <bsm/audit_kevents.h> 20 21 struct proc; 22 23 struct thread; 24 25 #define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \ 26 0 : sizeof(register_t) - sizeof(t)) 27 28 #if BYTE_ORDER == LITTLE_ENDIAN 29 #define PADL_(t) 0 30 #define PADR_(t) PAD_(t) 31 #else 32 #define PADL_(t) PAD_(t) 33 #define PADR_(t) 0 34 #endif 35 36 #if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__)) 37 #define PAD64_REQUIRED 38 #endif 39 struct freebsd32_wait4_args { 40 char pid_l_[PADL_(int)]; int pid; char pid_r_[PADR_(int)]; 41 char status_l_[PADL_(int *)]; int * status; char status_r_[PADR_(int *)]; 42 char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; 43 char rusage_l_[PADL_(struct rusage32 *)]; struct rusage32 * rusage; char rusage_r_[PADR_(struct rusage32 *)]; 44 }; 45 struct freebsd32_recvmsg_args { 46 char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; 47 char msg_l_[PADL_(struct msghdr32 *)]; struct msghdr32 * msg; char msg_r_[PADR_(struct msghdr32 *)]; 48 char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; 49 }; 50 struct freebsd32_sendmsg_args { 51 char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; 52 char msg_l_[PADL_(struct msghdr32 *)]; struct msghdr32 * msg; char msg_r_[PADR_(struct msghdr32 *)]; 53 char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; 54 }; 55 struct freebsd32_recvfrom_args { 56 char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; 57 char buf_l_[PADL_(uint32_t)]; uint32_t buf; char buf_r_[PADR_(uint32_t)]; 58 char len_l_[PADL_(uint32_t)]; uint32_t len; char len_r_[PADR_(uint32_t)]; 59 char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; 60 char from_l_[PADL_(uint32_t)]; uint32_t from; char from_r_[PADR_(uint32_t)]; 61 char fromlenaddr_l_[PADL_(uint32_t)]; uint32_t fromlenaddr; char fromlenaddr_r_[PADR_(uint32_t)]; 62 }; 63 struct freebsd10_freebsd32_pipe_args { 64 register_t dummy; 65 }; 66 struct ofreebsd32_sigpending_args { 67 register_t dummy; 68 }; 69 struct freebsd32_sigaltstack_args { 70 char ss_l_[PADL_(struct sigaltstack32 *)]; struct sigaltstack32 * ss; char ss_r_[PADR_(struct sigaltstack32 *)]; 71 char oss_l_[PADL_(struct sigaltstack32 *)]; struct sigaltstack32 * oss; char oss_r_[PADR_(struct sigaltstack32 *)]; 72 }; 73 struct freebsd32_ioctl_args { 74 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 75 char com_l_[PADL_(uint32_t)]; uint32_t com; char com_r_[PADR_(uint32_t)]; 76 char data_l_[PADL_(struct md_ioctl32 *)]; struct md_ioctl32 * data; char data_r_[PADR_(struct md_ioctl32 *)]; 77 }; 78 struct freebsd32_execve_args { 79 char fname_l_[PADL_(char *)]; char * fname; char fname_r_[PADR_(char *)]; 80 char argv_l_[PADL_(uint32_t *)]; uint32_t * argv; char argv_r_[PADR_(uint32_t *)]; 81 char envv_l_[PADL_(uint32_t *)]; uint32_t * envv; char envv_r_[PADR_(uint32_t *)]; 82 }; 83 struct freebsd32_mprotect_args { 84 char addr_l_[PADL_(void *)]; void * addr; char addr_r_[PADR_(void *)]; 85 char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)]; 86 char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)]; 87 }; 88 struct freebsd32_setitimer_args { 89 char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)]; 90 char itv_l_[PADL_(struct itimerval32 *)]; struct itimerval32 * itv; char itv_r_[PADR_(struct itimerval32 *)]; 91 char oitv_l_[PADL_(struct itimerval32 *)]; struct itimerval32 * oitv; char oitv_r_[PADR_(struct itimerval32 *)]; 92 }; 93 struct freebsd32_getitimer_args { 94 char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)]; 95 char itv_l_[PADL_(struct itimerval32 *)]; struct itimerval32 * itv; char itv_r_[PADR_(struct itimerval32 *)]; 96 }; 97 struct freebsd32_fcntl_args { 98 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 99 char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; 100 char arg_l_[PADL_(int)]; int arg; char arg_r_[PADR_(int)]; 101 }; 102 struct freebsd32_select_args { 103 char nd_l_[PADL_(int)]; int nd; char nd_r_[PADR_(int)]; 104 char in_l_[PADL_(fd_set *)]; fd_set * in; char in_r_[PADR_(fd_set *)]; 105 char ou_l_[PADL_(fd_set *)]; fd_set * ou; char ou_r_[PADR_(fd_set *)]; 106 char ex_l_[PADL_(fd_set *)]; fd_set * ex; char ex_r_[PADR_(fd_set *)]; 107 char tv_l_[PADL_(struct timeval32 *)]; struct timeval32 * tv; char tv_r_[PADR_(struct timeval32 *)]; 108 }; 109 struct freebsd32_gettimeofday_args { 110 char tp_l_[PADL_(struct timeval32 *)]; struct timeval32 * tp; char tp_r_[PADR_(struct timeval32 *)]; 111 char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)]; 112 }; 113 struct freebsd32_getrusage_args { 114 char who_l_[PADL_(int)]; int who; char who_r_[PADR_(int)]; 115 char rusage_l_[PADL_(struct rusage32 *)]; struct rusage32 * rusage; char rusage_r_[PADR_(struct rusage32 *)]; 116 }; 117 struct freebsd32_readv_args { 118 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 119 char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)]; 120 char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)]; 121 }; 122 struct freebsd32_writev_args { 123 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 124 char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)]; 125 char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)]; 126 }; 127 struct freebsd32_settimeofday_args { 128 char tv_l_[PADL_(struct timeval32 *)]; struct timeval32 * tv; char tv_r_[PADR_(struct timeval32 *)]; 129 char tzp_l_[PADL_(struct timezone *)]; struct timezone * tzp; char tzp_r_[PADR_(struct timezone *)]; 130 }; 131 struct freebsd32_utimes_args { 132 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 133 char tptr_l_[PADL_(struct timeval32 *)]; struct timeval32 * tptr; char tptr_r_[PADR_(struct timeval32 *)]; 134 }; 135 struct freebsd32_adjtime_args { 136 char delta_l_[PADL_(struct timeval32 *)]; struct timeval32 * delta; char delta_r_[PADR_(struct timeval32 *)]; 137 char olddelta_l_[PADL_(struct timeval32 *)]; struct timeval32 * olddelta; char olddelta_r_[PADR_(struct timeval32 *)]; 138 }; 139 struct freebsd32_sysarch_args { 140 char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)]; 141 char parms_l_[PADL_(char *)]; char * parms; char parms_r_[PADR_(char *)]; 142 }; 143 struct freebsd32_semsys_args { 144 char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; 145 char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)]; 146 char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)]; 147 char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)]; 148 char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)]; 149 }; 150 struct freebsd32_msgsys_args { 151 char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; 152 char a2_l_[PADL_(int)]; int a2; char a2_r_[PADR_(int)]; 153 char a3_l_[PADL_(int)]; int a3; char a3_r_[PADR_(int)]; 154 char a4_l_[PADL_(int)]; int a4; char a4_r_[PADR_(int)]; 155 char a5_l_[PADL_(int)]; int a5; char a5_r_[PADR_(int)]; 156 char a6_l_[PADL_(int)]; int a6; char a6_r_[PADR_(int)]; 157 }; 158 struct freebsd32_shmsys_args { 159 char which_l_[PADL_(uint32_t)]; uint32_t which; char which_r_[PADR_(uint32_t)]; 160 char a2_l_[PADL_(uint32_t)]; uint32_t a2; char a2_r_[PADR_(uint32_t)]; 161 char a3_l_[PADL_(uint32_t)]; uint32_t a3; char a3_r_[PADR_(uint32_t)]; 162 char a4_l_[PADL_(uint32_t)]; uint32_t a4; char a4_r_[PADR_(uint32_t)]; 163 }; 164 struct freebsd32_sysctl_args { 165 char name_l_[PADL_(int *)]; int * name; char name_r_[PADR_(int *)]; 166 char namelen_l_[PADL_(u_int)]; u_int namelen; char namelen_r_[PADR_(u_int)]; 167 char old_l_[PADL_(void *)]; void * old; char old_r_[PADR_(void *)]; 168 char oldlenp_l_[PADL_(uint32_t *)]; uint32_t * oldlenp; char oldlenp_r_[PADR_(uint32_t *)]; 169 char new_l_[PADL_(void *)]; void * new; char new_r_[PADR_(void *)]; 170 char newlen_l_[PADL_(uint32_t)]; uint32_t newlen; char newlen_r_[PADR_(uint32_t)]; 171 }; 172 struct freebsd32_futimes_args { 173 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 174 char tptr_l_[PADL_(struct timeval32 *)]; struct timeval32 * tptr; char tptr_r_[PADR_(struct timeval32 *)]; 175 }; 176 struct freebsd32_msgsnd_args { 177 char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; 178 char msgp_l_[PADL_(void *)]; void * msgp; char msgp_r_[PADR_(void *)]; 179 char msgsz_l_[PADL_(size_t)]; size_t msgsz; char msgsz_r_[PADR_(size_t)]; 180 char msgflg_l_[PADL_(int)]; int msgflg; char msgflg_r_[PADR_(int)]; 181 }; 182 struct freebsd32_msgrcv_args { 183 char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; 184 char msgp_l_[PADL_(void *)]; void * msgp; char msgp_r_[PADR_(void *)]; 185 char msgsz_l_[PADL_(size_t)]; size_t msgsz; char msgsz_r_[PADR_(size_t)]; 186 char msgtyp_l_[PADL_(long)]; long msgtyp; char msgtyp_r_[PADR_(long)]; 187 char msgflg_l_[PADL_(int)]; int msgflg; char msgflg_r_[PADR_(int)]; 188 }; 189 struct freebsd32_clock_gettime_args { 190 char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)]; 191 char tp_l_[PADL_(struct timespec32 *)]; struct timespec32 * tp; char tp_r_[PADR_(struct timespec32 *)]; 192 }; 193 struct freebsd32_clock_settime_args { 194 char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)]; 195 char tp_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * tp; char tp_r_[PADR_(const struct timespec32 *)]; 196 }; 197 struct freebsd32_clock_getres_args { 198 char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)]; 199 char tp_l_[PADL_(struct timespec32 *)]; struct timespec32 * tp; char tp_r_[PADR_(struct timespec32 *)]; 200 }; 201 struct freebsd32_ktimer_create_args { 202 char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)]; 203 char evp_l_[PADL_(struct sigevent32 *)]; struct sigevent32 * evp; char evp_r_[PADR_(struct sigevent32 *)]; 204 char timerid_l_[PADL_(int *)]; int * timerid; char timerid_r_[PADR_(int *)]; 205 }; 206 struct freebsd32_ktimer_settime_args { 207 char timerid_l_[PADL_(int)]; int timerid; char timerid_r_[PADR_(int)]; 208 char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; 209 char value_l_[PADL_(const struct itimerspec32 *)]; const struct itimerspec32 * value; char value_r_[PADR_(const struct itimerspec32 *)]; 210 char ovalue_l_[PADL_(struct itimerspec32 *)]; struct itimerspec32 * ovalue; char ovalue_r_[PADR_(struct itimerspec32 *)]; 211 }; 212 struct freebsd32_ktimer_gettime_args { 213 char timerid_l_[PADL_(int)]; int timerid; char timerid_r_[PADR_(int)]; 214 char value_l_[PADL_(struct itimerspec32 *)]; struct itimerspec32 * value; char value_r_[PADR_(struct itimerspec32 *)]; 215 }; 216 struct freebsd32_nanosleep_args { 217 char rqtp_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * rqtp; char rqtp_r_[PADR_(const struct timespec32 *)]; 218 char rmtp_l_[PADL_(struct timespec32 *)]; struct timespec32 * rmtp; char rmtp_r_[PADR_(struct timespec32 *)]; 219 }; 220 struct freebsd32_clock_nanosleep_args { 221 char clock_id_l_[PADL_(clockid_t)]; clockid_t clock_id; char clock_id_r_[PADR_(clockid_t)]; 222 char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; 223 char rqtp_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * rqtp; char rqtp_r_[PADR_(const struct timespec32 *)]; 224 char rmtp_l_[PADL_(struct timespec32 *)]; struct timespec32 * rmtp; char rmtp_r_[PADR_(struct timespec32 *)]; 225 }; 226 struct freebsd32_clock_getcpuclockid2_args { 227 char id1_l_[PADL_(uint32_t)]; uint32_t id1; char id1_r_[PADR_(uint32_t)]; 228 char id2_l_[PADL_(uint32_t)]; uint32_t id2; char id2_r_[PADR_(uint32_t)]; 229 char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; 230 char clock_id_l_[PADL_(clockid_t *)]; clockid_t * clock_id; char clock_id_r_[PADR_(clockid_t *)]; 231 }; 232 struct freebsd32_aio_read_args { 233 char aiocbp_l_[PADL_(struct aiocb32 *)]; struct aiocb32 * aiocbp; char aiocbp_r_[PADR_(struct aiocb32 *)]; 234 }; 235 struct freebsd32_aio_write_args { 236 char aiocbp_l_[PADL_(struct aiocb32 *)]; struct aiocb32 * aiocbp; char aiocbp_r_[PADR_(struct aiocb32 *)]; 237 }; 238 struct freebsd32_lio_listio_args { 239 char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; 240 char acb_list_l_[PADL_(struct aiocb32 *const *)]; struct aiocb32 *const * acb_list; char acb_list_r_[PADR_(struct aiocb32 *const *)]; 241 char nent_l_[PADL_(int)]; int nent; char nent_r_[PADR_(int)]; 242 char sig_l_[PADL_(struct sigevent32 *)]; struct sigevent32 * sig; char sig_r_[PADR_(struct sigevent32 *)]; 243 }; 244 struct freebsd32_lutimes_args { 245 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 246 char tptr_l_[PADL_(struct timeval32 *)]; struct timeval32 * tptr; char tptr_r_[PADR_(struct timeval32 *)]; 247 }; 248 struct freebsd32_preadv_args { 249 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 250 char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)]; 251 char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)]; 252 char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)]; 253 char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)]; 254 }; 255 struct freebsd32_pwritev_args { 256 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 257 char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)]; 258 char iovcnt_l_[PADL_(u_int)]; u_int iovcnt; char iovcnt_r_[PADR_(u_int)]; 259 char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)]; 260 char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)]; 261 }; 262 struct freebsd32_modstat_args { 263 char modid_l_[PADL_(int)]; int modid; char modid_r_[PADR_(int)]; 264 char stat_l_[PADL_(struct module_stat32 *)]; struct module_stat32 * stat; char stat_r_[PADR_(struct module_stat32 *)]; 265 }; 266 struct freebsd32_kldstat_args { 267 char fileid_l_[PADL_(int)]; int fileid; char fileid_r_[PADR_(int)]; 268 char stat_l_[PADL_(struct kld32_file_stat *)]; struct kld32_file_stat * stat; char stat_r_[PADR_(struct kld32_file_stat *)]; 269 }; 270 struct freebsd32_aio_return_args { 271 char aiocbp_l_[PADL_(struct aiocb32 *)]; struct aiocb32 * aiocbp; char aiocbp_r_[PADR_(struct aiocb32 *)]; 272 }; 273 struct freebsd32_aio_suspend_args { 274 char aiocbp_l_[PADL_(struct aiocb32 *const *)]; struct aiocb32 *const * aiocbp; char aiocbp_r_[PADR_(struct aiocb32 *const *)]; 275 char nent_l_[PADL_(int)]; int nent; char nent_r_[PADR_(int)]; 276 char timeout_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * timeout; char timeout_r_[PADR_(const struct timespec32 *)]; 277 }; 278 struct freebsd32_aio_error_args { 279 char aiocbp_l_[PADL_(struct aiocb32 *)]; struct aiocb32 * aiocbp; char aiocbp_r_[PADR_(struct aiocb32 *)]; 280 }; 281 struct freebsd32_jail_args { 282 char jail_l_[PADL_(struct jail32 *)]; struct jail32 * jail; char jail_r_[PADR_(struct jail32 *)]; 283 }; 284 struct freebsd32_sigtimedwait_args { 285 char set_l_[PADL_(const sigset_t *)]; const sigset_t * set; char set_r_[PADR_(const sigset_t *)]; 286 char info_l_[PADL_(siginfo_t *)]; siginfo_t * info; char info_r_[PADR_(siginfo_t *)]; 287 char timeout_l_[PADL_(const struct timespec *)]; const struct timespec * timeout; char timeout_r_[PADR_(const struct timespec *)]; 288 }; 289 struct freebsd32_sigwaitinfo_args { 290 char set_l_[PADL_(const sigset_t *)]; const sigset_t * set; char set_r_[PADR_(const sigset_t *)]; 291 char info_l_[PADL_(siginfo_t *)]; siginfo_t * info; char info_r_[PADR_(siginfo_t *)]; 292 }; 293 struct freebsd32_aio_waitcomplete_args { 294 char aiocbp_l_[PADL_(struct aiocb32 **)]; struct aiocb32 ** aiocbp; char aiocbp_r_[PADR_(struct aiocb32 **)]; 295 char timeout_l_[PADL_(struct timespec32 *)]; struct timespec32 * timeout; char timeout_r_[PADR_(struct timespec32 *)]; 296 }; 297 struct freebsd32_nmount_args { 298 char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)]; 299 char iovcnt_l_[PADL_(unsigned int)]; unsigned int iovcnt; char iovcnt_r_[PADR_(unsigned int)]; 300 char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; 301 }; 302 struct freebsd32_sendfile_args { 303 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 304 char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; 305 char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)]; 306 char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)]; 307 char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)]; 308 char hdtr_l_[PADL_(struct sf_hdtr32 *)]; struct sf_hdtr32 * hdtr; char hdtr_r_[PADR_(struct sf_hdtr32 *)]; 309 char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)]; 310 char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; 311 }; 312 struct freebsd32_ksem_init_args { 313 char idp_l_[PADL_(semid_t *)]; semid_t * idp; char idp_r_[PADR_(semid_t *)]; 314 char value_l_[PADL_(unsigned int)]; unsigned int value; char value_r_[PADR_(unsigned int)]; 315 }; 316 struct freebsd32_ksem_open_args { 317 char idp_l_[PADL_(semid_t *)]; semid_t * idp; char idp_r_[PADR_(semid_t *)]; 318 char name_l_[PADL_(const char *)]; const char * name; char name_r_[PADR_(const char *)]; 319 char oflag_l_[PADL_(int)]; int oflag; char oflag_r_[PADR_(int)]; 320 char mode_l_[PADL_(mode_t)]; mode_t mode; char mode_r_[PADR_(mode_t)]; 321 char value_l_[PADL_(unsigned int)]; unsigned int value; char value_r_[PADR_(unsigned int)]; 322 }; 323 struct freebsd32_sigaction_args { 324 char sig_l_[PADL_(int)]; int sig; char sig_r_[PADR_(int)]; 325 char act_l_[PADL_(struct sigaction32 *)]; struct sigaction32 * act; char act_r_[PADR_(struct sigaction32 *)]; 326 char oact_l_[PADL_(struct sigaction32 *)]; struct sigaction32 * oact; char oact_r_[PADR_(struct sigaction32 *)]; 327 }; 328 struct freebsd32_sigreturn_args { 329 char sigcntxp_l_[PADL_(const struct freebsd32_ucontext *)]; const struct freebsd32_ucontext * sigcntxp; char sigcntxp_r_[PADR_(const struct freebsd32_ucontext *)]; 330 }; 331 struct freebsd32_getcontext_args { 332 char ucp_l_[PADL_(struct freebsd32_ucontext *)]; struct freebsd32_ucontext * ucp; char ucp_r_[PADR_(struct freebsd32_ucontext *)]; 333 }; 334 struct freebsd32_setcontext_args { 335 char ucp_l_[PADL_(const struct freebsd32_ucontext *)]; const struct freebsd32_ucontext * ucp; char ucp_r_[PADR_(const struct freebsd32_ucontext *)]; 336 }; 337 struct freebsd32_swapcontext_args { 338 char oucp_l_[PADL_(struct freebsd32_ucontext *)]; struct freebsd32_ucontext * oucp; char oucp_r_[PADR_(struct freebsd32_ucontext *)]; 339 char ucp_l_[PADL_(const struct freebsd32_ucontext *)]; const struct freebsd32_ucontext * ucp; char ucp_r_[PADR_(const struct freebsd32_ucontext *)]; 340 }; 341 struct freebsd32_ksem_timedwait_args { 342 char id_l_[PADL_(semid_t)]; semid_t id; char id_r_[PADR_(semid_t)]; 343 char abstime_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * abstime; char abstime_r_[PADR_(const struct timespec32 *)]; 344 }; 345 struct freebsd32_thr_suspend_args { 346 char timeout_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * timeout; char timeout_r_[PADR_(const struct timespec32 *)]; 347 }; 348 struct freebsd32_umtx_op_args { 349 char obj_l_[PADL_(void *)]; void * obj; char obj_r_[PADR_(void *)]; 350 char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)]; 351 char val_l_[PADL_(u_long)]; u_long val; char val_r_[PADR_(u_long)]; 352 char uaddr_l_[PADL_(void *)]; void * uaddr; char uaddr_r_[PADR_(void *)]; 353 char uaddr2_l_[PADL_(void *)]; void * uaddr2; char uaddr2_r_[PADR_(void *)]; 354 }; 355 struct freebsd32_thr_new_args { 356 char param_l_[PADL_(struct thr_param32 *)]; struct thr_param32 * param; char param_r_[PADR_(struct thr_param32 *)]; 357 char param_size_l_[PADL_(int)]; int param_size; char param_size_r_[PADR_(int)]; 358 }; 359 struct freebsd32_sigqueue_args { 360 char pid_l_[PADL_(pid_t)]; pid_t pid; char pid_r_[PADR_(pid_t)]; 361 char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)]; 362 char value_l_[PADL_(int)]; int value; char value_r_[PADR_(int)]; 363 }; 364 struct freebsd32_kmq_open_args { 365 char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)]; 366 char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; 367 char mode_l_[PADL_(mode_t)]; mode_t mode; char mode_r_[PADR_(mode_t)]; 368 char attr_l_[PADL_(const struct mq_attr32 *)]; const struct mq_attr32 * attr; char attr_r_[PADR_(const struct mq_attr32 *)]; 369 }; 370 struct freebsd32_kmq_setattr_args { 371 char mqd_l_[PADL_(int)]; int mqd; char mqd_r_[PADR_(int)]; 372 char attr_l_[PADL_(const struct mq_attr32 *)]; const struct mq_attr32 * attr; char attr_r_[PADR_(const struct mq_attr32 *)]; 373 char oattr_l_[PADL_(struct mq_attr32 *)]; struct mq_attr32 * oattr; char oattr_r_[PADR_(struct mq_attr32 *)]; 374 }; 375 struct freebsd32_kmq_timedreceive_args { 376 char mqd_l_[PADL_(int)]; int mqd; char mqd_r_[PADR_(int)]; 377 char msg_ptr_l_[PADL_(char *)]; char * msg_ptr; char msg_ptr_r_[PADR_(char *)]; 378 char msg_len_l_[PADL_(size_t)]; size_t msg_len; char msg_len_r_[PADR_(size_t)]; 379 char msg_prio_l_[PADL_(unsigned *)]; unsigned * msg_prio; char msg_prio_r_[PADR_(unsigned *)]; 380 char abs_timeout_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * abs_timeout; char abs_timeout_r_[PADR_(const struct timespec32 *)]; 381 }; 382 struct freebsd32_kmq_timedsend_args { 383 char mqd_l_[PADL_(int)]; int mqd; char mqd_r_[PADR_(int)]; 384 char msg_ptr_l_[PADL_(const char *)]; const char * msg_ptr; char msg_ptr_r_[PADR_(const char *)]; 385 char msg_len_l_[PADL_(size_t)]; size_t msg_len; char msg_len_r_[PADR_(size_t)]; 386 char msg_prio_l_[PADL_(unsigned)]; unsigned msg_prio; char msg_prio_r_[PADR_(unsigned)]; 387 char abs_timeout_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * abs_timeout; char abs_timeout_r_[PADR_(const struct timespec32 *)]; 388 }; 389 struct freebsd32_kmq_notify_args { 390 char mqd_l_[PADL_(int)]; int mqd; char mqd_r_[PADR_(int)]; 391 char sigev_l_[PADL_(const struct sigevent32 *)]; const struct sigevent32 * sigev; char sigev_r_[PADR_(const struct sigevent32 *)]; 392 }; 393 struct freebsd32_aio_fsync_args { 394 char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)]; 395 char aiocbp_l_[PADL_(struct aiocb32 *)]; struct aiocb32 * aiocbp; char aiocbp_r_[PADR_(struct aiocb32 *)]; 396 }; 397 #ifdef PAD64_REQUIRED 398 struct freebsd32_pread_args { 399 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 400 char buf_l_[PADL_(void *)]; void * buf; char buf_r_[PADR_(void *)]; 401 char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)]; 402 char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)]; 403 char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)]; 404 char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)]; 405 }; 406 struct freebsd32_pwrite_args { 407 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 408 char buf_l_[PADL_(const void *)]; const void * buf; char buf_r_[PADR_(const void *)]; 409 char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)]; 410 char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)]; 411 char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)]; 412 char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)]; 413 }; 414 struct freebsd32_mmap_args { 415 char addr_l_[PADL_(caddr_t)]; caddr_t addr; char addr_r_[PADR_(caddr_t)]; 416 char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)]; 417 char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)]; 418 char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; 419 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 420 char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)]; 421 char pos1_l_[PADL_(uint32_t)]; uint32_t pos1; char pos1_r_[PADR_(uint32_t)]; 422 char pos2_l_[PADL_(uint32_t)]; uint32_t pos2; char pos2_r_[PADR_(uint32_t)]; 423 }; 424 struct freebsd32_lseek_args { 425 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 426 char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)]; 427 char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)]; 428 char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)]; 429 char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)]; 430 }; 431 struct freebsd32_truncate_args { 432 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 433 char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)]; 434 char length1_l_[PADL_(uint32_t)]; uint32_t length1; char length1_r_[PADR_(uint32_t)]; 435 char length2_l_[PADL_(uint32_t)]; uint32_t length2; char length2_r_[PADR_(uint32_t)]; 436 }; 437 struct freebsd32_ftruncate_args { 438 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 439 char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)]; 440 char length1_l_[PADL_(uint32_t)]; uint32_t length1; char length1_r_[PADR_(uint32_t)]; 441 char length2_l_[PADL_(uint32_t)]; uint32_t length2; char length2_r_[PADR_(uint32_t)]; 442 }; 443 #else 444 struct freebsd32_pread_args { 445 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 446 char buf_l_[PADL_(void *)]; void * buf; char buf_r_[PADR_(void *)]; 447 char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)]; 448 char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)]; 449 char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)]; 450 }; 451 struct freebsd32_pwrite_args { 452 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 453 char buf_l_[PADL_(const void *)]; const void * buf; char buf_r_[PADR_(const void *)]; 454 char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)]; 455 char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)]; 456 char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)]; 457 }; 458 struct freebsd32_mmap_args { 459 char addr_l_[PADL_(caddr_t)]; caddr_t addr; char addr_r_[PADR_(caddr_t)]; 460 char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)]; 461 char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)]; 462 char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; 463 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 464 char pos1_l_[PADL_(uint32_t)]; uint32_t pos1; char pos1_r_[PADR_(uint32_t)]; 465 char pos2_l_[PADL_(uint32_t)]; uint32_t pos2; char pos2_r_[PADR_(uint32_t)]; 466 }; 467 struct freebsd32_lseek_args { 468 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 469 char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)]; 470 char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)]; 471 char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)]; 472 }; 473 struct freebsd32_truncate_args { 474 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 475 char length1_l_[PADL_(uint32_t)]; uint32_t length1; char length1_r_[PADR_(uint32_t)]; 476 char length2_l_[PADL_(uint32_t)]; uint32_t length2; char length2_r_[PADR_(uint32_t)]; 477 }; 478 struct freebsd32_ftruncate_args { 479 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 480 char length1_l_[PADL_(uint32_t)]; uint32_t length1; char length1_r_[PADR_(uint32_t)]; 481 char length2_l_[PADL_(uint32_t)]; uint32_t length2; char length2_r_[PADR_(uint32_t)]; 482 }; 483 #endif 484 #ifdef PAD64_REQUIRED 485 struct freebsd32_cpuset_setid_args { 486 char which_l_[PADL_(cpuwhich_t)]; cpuwhich_t which; char which_r_[PADR_(cpuwhich_t)]; 487 char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)]; 488 char id1_l_[PADL_(uint32_t)]; uint32_t id1; char id1_r_[PADR_(uint32_t)]; 489 char id2_l_[PADL_(uint32_t)]; uint32_t id2; char id2_r_[PADR_(uint32_t)]; 490 char setid_l_[PADL_(cpusetid_t)]; cpusetid_t setid; char setid_r_[PADR_(cpusetid_t)]; 491 }; 492 #else 493 struct freebsd32_cpuset_setid_args { 494 char which_l_[PADL_(cpuwhich_t)]; cpuwhich_t which; char which_r_[PADR_(cpuwhich_t)]; 495 char id1_l_[PADL_(uint32_t)]; uint32_t id1; char id1_r_[PADR_(uint32_t)]; 496 char id2_l_[PADL_(uint32_t)]; uint32_t id2; char id2_r_[PADR_(uint32_t)]; 497 char setid_l_[PADL_(cpusetid_t)]; cpusetid_t setid; char setid_r_[PADR_(cpusetid_t)]; 498 }; 499 #endif 500 struct freebsd32_cpuset_getid_args { 501 char level_l_[PADL_(cpulevel_t)]; cpulevel_t level; char level_r_[PADR_(cpulevel_t)]; 502 char which_l_[PADL_(cpuwhich_t)]; cpuwhich_t which; char which_r_[PADR_(cpuwhich_t)]; 503 char id1_l_[PADL_(uint32_t)]; uint32_t id1; char id1_r_[PADR_(uint32_t)]; 504 char id2_l_[PADL_(uint32_t)]; uint32_t id2; char id2_r_[PADR_(uint32_t)]; 505 char setid_l_[PADL_(cpusetid_t *)]; cpusetid_t * setid; char setid_r_[PADR_(cpusetid_t *)]; 506 }; 507 struct freebsd32_cpuset_getaffinity_args { 508 char level_l_[PADL_(cpulevel_t)]; cpulevel_t level; char level_r_[PADR_(cpulevel_t)]; 509 char which_l_[PADL_(cpuwhich_t)]; cpuwhich_t which; char which_r_[PADR_(cpuwhich_t)]; 510 char id1_l_[PADL_(uint32_t)]; uint32_t id1; char id1_r_[PADR_(uint32_t)]; 511 char id2_l_[PADL_(uint32_t)]; uint32_t id2; char id2_r_[PADR_(uint32_t)]; 512 char cpusetsize_l_[PADL_(size_t)]; size_t cpusetsize; char cpusetsize_r_[PADR_(size_t)]; 513 char mask_l_[PADL_(cpuset_t *)]; cpuset_t * mask; char mask_r_[PADR_(cpuset_t *)]; 514 }; 515 struct freebsd32_cpuset_setaffinity_args { 516 char level_l_[PADL_(cpulevel_t)]; cpulevel_t level; char level_r_[PADR_(cpulevel_t)]; 517 char which_l_[PADL_(cpuwhich_t)]; cpuwhich_t which; char which_r_[PADR_(cpuwhich_t)]; 518 char id1_l_[PADL_(uint32_t)]; uint32_t id1; char id1_r_[PADR_(uint32_t)]; 519 char id2_l_[PADL_(uint32_t)]; uint32_t id2; char id2_r_[PADR_(uint32_t)]; 520 char cpusetsize_l_[PADL_(size_t)]; size_t cpusetsize; char cpusetsize_r_[PADR_(size_t)]; 521 char mask_l_[PADL_(const cpuset_t *)]; const cpuset_t * mask; char mask_r_[PADR_(const cpuset_t *)]; 522 }; 523 struct freebsd32_fexecve_args { 524 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 525 char argv_l_[PADL_(uint32_t *)]; uint32_t * argv; char argv_r_[PADR_(uint32_t *)]; 526 char envv_l_[PADL_(uint32_t *)]; uint32_t * envv; char envv_r_[PADR_(uint32_t *)]; 527 }; 528 struct freebsd32_futimesat_args { 529 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 530 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 531 char times_l_[PADL_(struct timeval *)]; struct timeval * times; char times_r_[PADR_(struct timeval *)]; 532 }; 533 struct freebsd32_jail_get_args { 534 char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)]; 535 char iovcnt_l_[PADL_(unsigned int)]; unsigned int iovcnt; char iovcnt_r_[PADR_(unsigned int)]; 536 char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; 537 }; 538 struct freebsd32_jail_set_args { 539 char iovp_l_[PADL_(struct iovec32 *)]; struct iovec32 * iovp; char iovp_r_[PADR_(struct iovec32 *)]; 540 char iovcnt_l_[PADL_(unsigned int)]; unsigned int iovcnt; char iovcnt_r_[PADR_(unsigned int)]; 541 char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; 542 }; 543 struct freebsd32_semctl_args { 544 char semid_l_[PADL_(int)]; int semid; char semid_r_[PADR_(int)]; 545 char semnum_l_[PADL_(int)]; int semnum; char semnum_r_[PADR_(int)]; 546 char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; 547 char arg_l_[PADL_(union semun32 *)]; union semun32 * arg; char arg_r_[PADR_(union semun32 *)]; 548 }; 549 struct freebsd32_msgctl_args { 550 char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; 551 char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; 552 char buf_l_[PADL_(struct msqid_ds32 *)]; struct msqid_ds32 * buf; char buf_r_[PADR_(struct msqid_ds32 *)]; 553 }; 554 struct freebsd32_shmctl_args { 555 char shmid_l_[PADL_(int)]; int shmid; char shmid_r_[PADR_(int)]; 556 char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; 557 char buf_l_[PADL_(struct shmid_ds32 *)]; struct shmid_ds32 * buf; char buf_r_[PADR_(struct shmid_ds32 *)]; 558 }; 559 struct freebsd32_pselect_args { 560 char nd_l_[PADL_(int)]; int nd; char nd_r_[PADR_(int)]; 561 char in_l_[PADL_(fd_set *)]; fd_set * in; char in_r_[PADR_(fd_set *)]; 562 char ou_l_[PADL_(fd_set *)]; fd_set * ou; char ou_r_[PADR_(fd_set *)]; 563 char ex_l_[PADL_(fd_set *)]; fd_set * ex; char ex_r_[PADR_(fd_set *)]; 564 char ts_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * ts; char ts_r_[PADR_(const struct timespec32 *)]; 565 char sm_l_[PADL_(const sigset_t *)]; const sigset_t * sm; char sm_r_[PADR_(const sigset_t *)]; 566 }; 567 #ifdef PAD64_REQUIRED 568 struct freebsd32_posix_fallocate_args { 569 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 570 char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)]; 571 char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)]; 572 char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)]; 573 char len1_l_[PADL_(uint32_t)]; uint32_t len1; char len1_r_[PADR_(uint32_t)]; 574 char len2_l_[PADL_(uint32_t)]; uint32_t len2; char len2_r_[PADR_(uint32_t)]; 575 }; 576 struct freebsd32_posix_fadvise_args { 577 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 578 char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)]; 579 char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)]; 580 char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)]; 581 char len1_l_[PADL_(uint32_t)]; uint32_t len1; char len1_r_[PADR_(uint32_t)]; 582 char len2_l_[PADL_(uint32_t)]; uint32_t len2; char len2_r_[PADR_(uint32_t)]; 583 char advice_l_[PADL_(int)]; int advice; char advice_r_[PADR_(int)]; 584 }; 585 struct freebsd32_wait6_args { 586 char idtype_l_[PADL_(int)]; int idtype; char idtype_r_[PADR_(int)]; 587 char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)]; 588 char id1_l_[PADL_(uint32_t)]; uint32_t id1; char id1_r_[PADR_(uint32_t)]; 589 char id2_l_[PADL_(uint32_t)]; uint32_t id2; char id2_r_[PADR_(uint32_t)]; 590 char status_l_[PADL_(int *)]; int * status; char status_r_[PADR_(int *)]; 591 char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; 592 char wrusage_l_[PADL_(struct wrusage32 *)]; struct wrusage32 * wrusage; char wrusage_r_[PADR_(struct wrusage32 *)]; 593 char info_l_[PADL_(siginfo_t *)]; siginfo_t * info; char info_r_[PADR_(siginfo_t *)]; 594 }; 595 #else 596 struct freebsd32_posix_fallocate_args { 597 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 598 char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)]; 599 char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)]; 600 char len1_l_[PADL_(uint32_t)]; uint32_t len1; char len1_r_[PADR_(uint32_t)]; 601 char len2_l_[PADL_(uint32_t)]; uint32_t len2; char len2_r_[PADR_(uint32_t)]; 602 }; 603 struct freebsd32_posix_fadvise_args { 604 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 605 char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)]; 606 char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)]; 607 char len1_l_[PADL_(uint32_t)]; uint32_t len1; char len1_r_[PADR_(uint32_t)]; 608 char len2_l_[PADL_(uint32_t)]; uint32_t len2; char len2_r_[PADR_(uint32_t)]; 609 char advice_l_[PADL_(int)]; int advice; char advice_r_[PADR_(int)]; 610 }; 611 struct freebsd32_wait6_args { 612 char idtype_l_[PADL_(int)]; int idtype; char idtype_r_[PADR_(int)]; 613 char id1_l_[PADL_(uint32_t)]; uint32_t id1; char id1_r_[PADR_(uint32_t)]; 614 char id2_l_[PADL_(uint32_t)]; uint32_t id2; char id2_r_[PADR_(uint32_t)]; 615 char status_l_[PADL_(int *)]; int * status; char status_r_[PADR_(int *)]; 616 char options_l_[PADL_(int)]; int options; char options_r_[PADR_(int)]; 617 char wrusage_l_[PADL_(struct wrusage32 *)]; struct wrusage32 * wrusage; char wrusage_r_[PADR_(struct wrusage32 *)]; 618 char info_l_[PADL_(siginfo_t *)]; siginfo_t * info; char info_r_[PADR_(siginfo_t *)]; 619 }; 620 #endif 621 struct freebsd32_cap_ioctls_limit_args { 622 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 623 char cmds_l_[PADL_(const uint32_t *)]; const uint32_t * cmds; char cmds_r_[PADR_(const uint32_t *)]; 624 char ncmds_l_[PADL_(size_t)]; size_t ncmds; char ncmds_r_[PADR_(size_t)]; 625 }; 626 struct freebsd32_cap_ioctls_get_args { 627 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 628 char cmds_l_[PADL_(uint32_t *)]; uint32_t * cmds; char cmds_r_[PADR_(uint32_t *)]; 629 char maxcmds_l_[PADL_(size_t)]; size_t maxcmds; char maxcmds_r_[PADR_(size_t)]; 630 }; 631 struct freebsd32_aio_mlock_args { 632 char aiocbp_l_[PADL_(struct aiocb32 *)]; struct aiocb32 * aiocbp; char aiocbp_r_[PADR_(struct aiocb32 *)]; 633 }; 634 #ifdef PAD64_REQUIRED 635 struct freebsd32_procctl_args { 636 char idtype_l_[PADL_(int)]; int idtype; char idtype_r_[PADR_(int)]; 637 char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)]; 638 char id1_l_[PADL_(uint32_t)]; uint32_t id1; char id1_r_[PADR_(uint32_t)]; 639 char id2_l_[PADL_(uint32_t)]; uint32_t id2; char id2_r_[PADR_(uint32_t)]; 640 char com_l_[PADL_(int)]; int com; char com_r_[PADR_(int)]; 641 char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)]; 642 }; 643 #else 644 struct freebsd32_procctl_args { 645 char idtype_l_[PADL_(int)]; int idtype; char idtype_r_[PADR_(int)]; 646 char id1_l_[PADL_(uint32_t)]; uint32_t id1; char id1_r_[PADR_(uint32_t)]; 647 char id2_l_[PADL_(uint32_t)]; uint32_t id2; char id2_r_[PADR_(uint32_t)]; 648 char com_l_[PADL_(int)]; int com; char com_r_[PADR_(int)]; 649 char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)]; 650 }; 651 #endif 652 struct freebsd32_ppoll_args { 653 char fds_l_[PADL_(struct pollfd *)]; struct pollfd * fds; char fds_r_[PADR_(struct pollfd *)]; 654 char nfds_l_[PADL_(u_int)]; u_int nfds; char nfds_r_[PADR_(u_int)]; 655 char ts_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * ts; char ts_r_[PADR_(const struct timespec32 *)]; 656 char set_l_[PADL_(const sigset_t *)]; const sigset_t * set; char set_r_[PADR_(const sigset_t *)]; 657 }; 658 struct freebsd32_futimens_args { 659 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 660 char times_l_[PADL_(struct timespec *)]; struct timespec * times; char times_r_[PADR_(struct timespec *)]; 661 }; 662 struct freebsd32_utimensat_args { 663 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 664 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 665 char times_l_[PADL_(struct timespec *)]; struct timespec * times; char times_r_[PADR_(struct timespec *)]; 666 char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)]; 667 }; 668 struct freebsd32_fstat_args { 669 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 670 char ub_l_[PADL_(struct stat32 *)]; struct stat32 * ub; char ub_r_[PADR_(struct stat32 *)]; 671 }; 672 struct freebsd32_fstatat_args { 673 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 674 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 675 char buf_l_[PADL_(struct stat32 *)]; struct stat32 * buf; char buf_r_[PADR_(struct stat32 *)]; 676 char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)]; 677 }; 678 struct freebsd32_fhstat_args { 679 char u_fhp_l_[PADL_(const struct fhandle *)]; const struct fhandle * u_fhp; char u_fhp_r_[PADR_(const struct fhandle *)]; 680 char sb_l_[PADL_(struct stat32 *)]; struct stat32 * sb; char sb_r_[PADR_(struct stat32 *)]; 681 }; 682 struct freebsd32_getdirentries_args { 683 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 684 char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)]; 685 char count_l_[PADL_(size_t)]; size_t count; char count_r_[PADR_(size_t)]; 686 char basep_l_[PADL_(int32_t *)]; int32_t * basep; char basep_r_[PADR_(int32_t *)]; 687 }; 688 struct freebsd32_kevent_args { 689 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 690 char changelist_l_[PADL_(const struct kevent32 *)]; const struct kevent32 * changelist; char changelist_r_[PADR_(const struct kevent32 *)]; 691 char nchanges_l_[PADL_(int)]; int nchanges; char nchanges_r_[PADR_(int)]; 692 char eventlist_l_[PADL_(struct kevent32 *)]; struct kevent32 * eventlist; char eventlist_r_[PADR_(struct kevent32 *)]; 693 char nevents_l_[PADL_(int)]; int nevents; char nevents_r_[PADR_(int)]; 694 char timeout_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * timeout; char timeout_r_[PADR_(const struct timespec32 *)]; 695 }; 696 #if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__)) 697 #define PAD64_REQUIRED 698 #endif 699 int freebsd32_wait4(struct thread *, struct freebsd32_wait4_args *); 700 int freebsd32_recvmsg(struct thread *, struct freebsd32_recvmsg_args *); 701 int freebsd32_sendmsg(struct thread *, struct freebsd32_sendmsg_args *); 702 int freebsd32_recvfrom(struct thread *, struct freebsd32_recvfrom_args *); 703 int freebsd32_sigaltstack(struct thread *, struct freebsd32_sigaltstack_args *); 704 int freebsd32_ioctl(struct thread *, struct freebsd32_ioctl_args *); 705 int freebsd32_execve(struct thread *, struct freebsd32_execve_args *); 706 int freebsd32_mprotect(struct thread *, struct freebsd32_mprotect_args *); 707 int freebsd32_setitimer(struct thread *, struct freebsd32_setitimer_args *); 708 int freebsd32_getitimer(struct thread *, struct freebsd32_getitimer_args *); 709 int freebsd32_fcntl(struct thread *, struct freebsd32_fcntl_args *); 710 int freebsd32_select(struct thread *, struct freebsd32_select_args *); 711 int freebsd32_gettimeofday(struct thread *, struct freebsd32_gettimeofday_args *); 712 int freebsd32_getrusage(struct thread *, struct freebsd32_getrusage_args *); 713 int freebsd32_readv(struct thread *, struct freebsd32_readv_args *); 714 int freebsd32_writev(struct thread *, struct freebsd32_writev_args *); 715 int freebsd32_settimeofday(struct thread *, struct freebsd32_settimeofday_args *); 716 int freebsd32_utimes(struct thread *, struct freebsd32_utimes_args *); 717 int freebsd32_adjtime(struct thread *, struct freebsd32_adjtime_args *); 718 int freebsd32_sysarch(struct thread *, struct freebsd32_sysarch_args *); 719 int freebsd32_semsys(struct thread *, struct freebsd32_semsys_args *); 720 int freebsd32_msgsys(struct thread *, struct freebsd32_msgsys_args *); 721 int freebsd32_shmsys(struct thread *, struct freebsd32_shmsys_args *); 722 int freebsd32_sysctl(struct thread *, struct freebsd32_sysctl_args *); 723 int freebsd32_futimes(struct thread *, struct freebsd32_futimes_args *); 724 int freebsd32_msgsnd(struct thread *, struct freebsd32_msgsnd_args *); 725 int freebsd32_msgrcv(struct thread *, struct freebsd32_msgrcv_args *); 726 int freebsd32_clock_gettime(struct thread *, struct freebsd32_clock_gettime_args *); 727 int freebsd32_clock_settime(struct thread *, struct freebsd32_clock_settime_args *); 728 int freebsd32_clock_getres(struct thread *, struct freebsd32_clock_getres_args *); 729 int freebsd32_ktimer_create(struct thread *, struct freebsd32_ktimer_create_args *); 730 int freebsd32_ktimer_settime(struct thread *, struct freebsd32_ktimer_settime_args *); 731 int freebsd32_ktimer_gettime(struct thread *, struct freebsd32_ktimer_gettime_args *); 732 int freebsd32_nanosleep(struct thread *, struct freebsd32_nanosleep_args *); 733 int freebsd32_clock_nanosleep(struct thread *, struct freebsd32_clock_nanosleep_args *); 734 int freebsd32_clock_getcpuclockid2(struct thread *, struct freebsd32_clock_getcpuclockid2_args *); 735 int freebsd32_aio_read(struct thread *, struct freebsd32_aio_read_args *); 736 int freebsd32_aio_write(struct thread *, struct freebsd32_aio_write_args *); 737 int freebsd32_lio_listio(struct thread *, struct freebsd32_lio_listio_args *); 738 int freebsd32_lutimes(struct thread *, struct freebsd32_lutimes_args *); 739 int freebsd32_preadv(struct thread *, struct freebsd32_preadv_args *); 740 int freebsd32_pwritev(struct thread *, struct freebsd32_pwritev_args *); 741 int freebsd32_modstat(struct thread *, struct freebsd32_modstat_args *); 742 int freebsd32_kldstat(struct thread *, struct freebsd32_kldstat_args *); 743 int freebsd32_aio_return(struct thread *, struct freebsd32_aio_return_args *); 744 int freebsd32_aio_suspend(struct thread *, struct freebsd32_aio_suspend_args *); 745 int freebsd32_aio_error(struct thread *, struct freebsd32_aio_error_args *); 746 int freebsd32_jail(struct thread *, struct freebsd32_jail_args *); 747 int freebsd32_sigtimedwait(struct thread *, struct freebsd32_sigtimedwait_args *); 748 int freebsd32_sigwaitinfo(struct thread *, struct freebsd32_sigwaitinfo_args *); 749 int freebsd32_aio_waitcomplete(struct thread *, struct freebsd32_aio_waitcomplete_args *); 750 int freebsd32_nmount(struct thread *, struct freebsd32_nmount_args *); 751 int freebsd32_sendfile(struct thread *, struct freebsd32_sendfile_args *); 752 int freebsd32_ksem_init(struct thread *, struct freebsd32_ksem_init_args *); 753 int freebsd32_ksem_open(struct thread *, struct freebsd32_ksem_open_args *); 754 int freebsd32_sigaction(struct thread *, struct freebsd32_sigaction_args *); 755 int freebsd32_sigreturn(struct thread *, struct freebsd32_sigreturn_args *); 756 int freebsd32_getcontext(struct thread *, struct freebsd32_getcontext_args *); 757 int freebsd32_setcontext(struct thread *, struct freebsd32_setcontext_args *); 758 int freebsd32_swapcontext(struct thread *, struct freebsd32_swapcontext_args *); 759 int freebsd32_ksem_timedwait(struct thread *, struct freebsd32_ksem_timedwait_args *); 760 int freebsd32_thr_suspend(struct thread *, struct freebsd32_thr_suspend_args *); 761 int freebsd32_umtx_op(struct thread *, struct freebsd32_umtx_op_args *); 762 int freebsd32_thr_new(struct thread *, struct freebsd32_thr_new_args *); 763 int freebsd32_sigqueue(struct thread *, struct freebsd32_sigqueue_args *); 764 int freebsd32_kmq_open(struct thread *, struct freebsd32_kmq_open_args *); 765 int freebsd32_kmq_setattr(struct thread *, struct freebsd32_kmq_setattr_args *); 766 int freebsd32_kmq_timedreceive(struct thread *, struct freebsd32_kmq_timedreceive_args *); 767 int freebsd32_kmq_timedsend(struct thread *, struct freebsd32_kmq_timedsend_args *); 768 int freebsd32_kmq_notify(struct thread *, struct freebsd32_kmq_notify_args *); 769 int freebsd32_aio_fsync(struct thread *, struct freebsd32_aio_fsync_args *); 770 #ifdef PAD64_REQUIRED 771 int freebsd32_pread(struct thread *, struct freebsd32_pread_args *); 772 int freebsd32_pwrite(struct thread *, struct freebsd32_pwrite_args *); 773 int freebsd32_mmap(struct thread *, struct freebsd32_mmap_args *); 774 int freebsd32_lseek(struct thread *, struct freebsd32_lseek_args *); 775 int freebsd32_truncate(struct thread *, struct freebsd32_truncate_args *); 776 int freebsd32_ftruncate(struct thread *, struct freebsd32_ftruncate_args *); 777 #else 778 int freebsd32_pread(struct thread *, struct freebsd32_pread_args *); 779 int freebsd32_pwrite(struct thread *, struct freebsd32_pwrite_args *); 780 int freebsd32_mmap(struct thread *, struct freebsd32_mmap_args *); 781 int freebsd32_lseek(struct thread *, struct freebsd32_lseek_args *); 782 int freebsd32_truncate(struct thread *, struct freebsd32_truncate_args *); 783 int freebsd32_ftruncate(struct thread *, struct freebsd32_ftruncate_args *); 784 #endif 785 #ifdef PAD64_REQUIRED 786 int freebsd32_cpuset_setid(struct thread *, struct freebsd32_cpuset_setid_args *); 787 #else 788 int freebsd32_cpuset_setid(struct thread *, struct freebsd32_cpuset_setid_args *); 789 #endif 790 int freebsd32_cpuset_getid(struct thread *, struct freebsd32_cpuset_getid_args *); 791 int freebsd32_cpuset_getaffinity(struct thread *, struct freebsd32_cpuset_getaffinity_args *); 792 int freebsd32_cpuset_setaffinity(struct thread *, struct freebsd32_cpuset_setaffinity_args *); 793 int freebsd32_fexecve(struct thread *, struct freebsd32_fexecve_args *); 794 int freebsd32_futimesat(struct thread *, struct freebsd32_futimesat_args *); 795 int freebsd32_jail_get(struct thread *, struct freebsd32_jail_get_args *); 796 int freebsd32_jail_set(struct thread *, struct freebsd32_jail_set_args *); 797 int freebsd32_semctl(struct thread *, struct freebsd32_semctl_args *); 798 int freebsd32_msgctl(struct thread *, struct freebsd32_msgctl_args *); 799 int freebsd32_shmctl(struct thread *, struct freebsd32_shmctl_args *); 800 int freebsd32_pselect(struct thread *, struct freebsd32_pselect_args *); 801 #ifdef PAD64_REQUIRED 802 int freebsd32_posix_fallocate(struct thread *, struct freebsd32_posix_fallocate_args *); 803 int freebsd32_posix_fadvise(struct thread *, struct freebsd32_posix_fadvise_args *); 804 int freebsd32_wait6(struct thread *, struct freebsd32_wait6_args *); 805 #else 806 int freebsd32_posix_fallocate(struct thread *, struct freebsd32_posix_fallocate_args *); 807 int freebsd32_posix_fadvise(struct thread *, struct freebsd32_posix_fadvise_args *); 808 int freebsd32_wait6(struct thread *, struct freebsd32_wait6_args *); 809 #endif 810 int freebsd32_cap_ioctls_limit(struct thread *, struct freebsd32_cap_ioctls_limit_args *); 811 int freebsd32_cap_ioctls_get(struct thread *, struct freebsd32_cap_ioctls_get_args *); 812 int freebsd32_aio_mlock(struct thread *, struct freebsd32_aio_mlock_args *); 813 #ifdef PAD64_REQUIRED 814 int freebsd32_procctl(struct thread *, struct freebsd32_procctl_args *); 815 #else 816 int freebsd32_procctl(struct thread *, struct freebsd32_procctl_args *); 817 #endif 818 int freebsd32_ppoll(struct thread *, struct freebsd32_ppoll_args *); 819 int freebsd32_futimens(struct thread *, struct freebsd32_futimens_args *); 820 int freebsd32_utimensat(struct thread *, struct freebsd32_utimensat_args *); 821 int freebsd32_fstat(struct thread *, struct freebsd32_fstat_args *); 822 int freebsd32_fstatat(struct thread *, struct freebsd32_fstatat_args *); 823 int freebsd32_fhstat(struct thread *, struct freebsd32_fhstat_args *); 824 int freebsd32_getdirentries(struct thread *, struct freebsd32_getdirentries_args *); 825 int freebsd32_kevent(struct thread *, struct freebsd32_kevent_args *); 826 827 #ifdef COMPAT_43 828 829 #if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__)) 830 #define PAD64_REQUIRED 831 #endif 832 struct ofreebsd32_lseek_args { 833 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 834 char offset_l_[PADL_(int)]; int offset; char offset_r_[PADR_(int)]; 835 char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)]; 836 }; 837 struct ofreebsd32_stat_args { 838 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 839 char ub_l_[PADL_(struct ostat32 *)]; struct ostat32 * ub; char ub_r_[PADR_(struct ostat32 *)]; 840 }; 841 struct ofreebsd32_lstat_args { 842 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 843 char ub_l_[PADL_(struct ostat *)]; struct ostat * ub; char ub_r_[PADR_(struct ostat *)]; 844 }; 845 struct ofreebsd32_sigaction_args { 846 char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)]; 847 char nsa_l_[PADL_(struct osigaction32 *)]; struct osigaction32 * nsa; char nsa_r_[PADR_(struct osigaction32 *)]; 848 char osa_l_[PADL_(struct osigaction32 *)]; struct osigaction32 * osa; char osa_r_[PADR_(struct osigaction32 *)]; 849 }; 850 struct ofreebsd32_sigprocmask_args { 851 char how_l_[PADL_(int)]; int how; char how_r_[PADR_(int)]; 852 char mask_l_[PADL_(osigset_t)]; osigset_t mask; char mask_r_[PADR_(osigset_t)]; 853 }; 854 struct ofreebsd32_fstat_args { 855 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 856 char ub_l_[PADL_(struct ostat32 *)]; struct ostat32 * ub; char ub_r_[PADR_(struct ostat32 *)]; 857 }; 858 struct ofreebsd32_getpagesize_args { 859 char dummy_l_[PADL_(int32_t)]; int32_t dummy; char dummy_r_[PADR_(int32_t)]; 860 }; 861 struct ofreebsd32_sigreturn_args { 862 char sigcntxp_l_[PADL_(struct ia32_sigcontext3 *)]; struct ia32_sigcontext3 * sigcntxp; char sigcntxp_r_[PADR_(struct ia32_sigcontext3 *)]; 863 }; 864 struct ofreebsd32_sigvec_args { 865 char signum_l_[PADL_(int)]; int signum; char signum_r_[PADR_(int)]; 866 char nsv_l_[PADL_(struct sigvec32 *)]; struct sigvec32 * nsv; char nsv_r_[PADR_(struct sigvec32 *)]; 867 char osv_l_[PADL_(struct sigvec32 *)]; struct sigvec32 * osv; char osv_r_[PADR_(struct sigvec32 *)]; 868 }; 869 struct ofreebsd32_sigblock_args { 870 char mask_l_[PADL_(int)]; int mask; char mask_r_[PADR_(int)]; 871 }; 872 struct ofreebsd32_sigsetmask_args { 873 char mask_l_[PADL_(int)]; int mask; char mask_r_[PADR_(int)]; 874 }; 875 struct ofreebsd32_sigsuspend_args { 876 char mask_l_[PADL_(int)]; int mask; char mask_r_[PADR_(int)]; 877 }; 878 struct ofreebsd32_sigstack_args { 879 char nss_l_[PADL_(struct sigstack32 *)]; struct sigstack32 * nss; char nss_r_[PADR_(struct sigstack32 *)]; 880 char oss_l_[PADL_(struct sigstack32 *)]; struct sigstack32 * oss; char oss_r_[PADR_(struct sigstack32 *)]; 881 }; 882 struct ofreebsd32_getdirentries_args { 883 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 884 char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)]; 885 char count_l_[PADL_(u_int)]; u_int count; char count_r_[PADR_(u_int)]; 886 char basep_l_[PADL_(uint32_t *)]; uint32_t * basep; char basep_r_[PADR_(uint32_t *)]; 887 }; 888 #ifdef PAD64_REQUIRED 889 #else 890 #endif 891 #ifdef PAD64_REQUIRED 892 #else 893 #endif 894 #ifdef PAD64_REQUIRED 895 #else 896 #endif 897 #ifdef PAD64_REQUIRED 898 #else 899 #endif 900 int ofreebsd32_lseek(struct thread *, struct ofreebsd32_lseek_args *); 901 int ofreebsd32_stat(struct thread *, struct ofreebsd32_stat_args *); 902 int ofreebsd32_lstat(struct thread *, struct ofreebsd32_lstat_args *); 903 int ofreebsd32_sigaction(struct thread *, struct ofreebsd32_sigaction_args *); 904 int ofreebsd32_sigprocmask(struct thread *, struct ofreebsd32_sigprocmask_args *); 905 int ofreebsd32_sigpending(struct thread *, struct ofreebsd32_sigpending_args *); 906 int ofreebsd32_fstat(struct thread *, struct ofreebsd32_fstat_args *); 907 int ofreebsd32_getpagesize(struct thread *, struct ofreebsd32_getpagesize_args *); 908 int ofreebsd32_sigreturn(struct thread *, struct ofreebsd32_sigreturn_args *); 909 int ofreebsd32_sigvec(struct thread *, struct ofreebsd32_sigvec_args *); 910 int ofreebsd32_sigblock(struct thread *, struct ofreebsd32_sigblock_args *); 911 int ofreebsd32_sigsetmask(struct thread *, struct ofreebsd32_sigsetmask_args *); 912 int ofreebsd32_sigsuspend(struct thread *, struct ofreebsd32_sigsuspend_args *); 913 int ofreebsd32_sigstack(struct thread *, struct ofreebsd32_sigstack_args *); 914 int ofreebsd32_getdirentries(struct thread *, struct ofreebsd32_getdirentries_args *); 915 916 #endif /* COMPAT_43 */ 917 918 919 #ifdef COMPAT_FREEBSD4 920 921 #if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__)) 922 #define PAD64_REQUIRED 923 #endif 924 struct freebsd4_freebsd32_getfsstat_args { 925 char buf_l_[PADL_(struct statfs32 *)]; struct statfs32 * buf; char buf_r_[PADR_(struct statfs32 *)]; 926 char bufsize_l_[PADL_(long)]; long bufsize; char bufsize_r_[PADR_(long)]; 927 char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; 928 }; 929 struct freebsd4_freebsd32_statfs_args { 930 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 931 char buf_l_[PADL_(struct statfs32 *)]; struct statfs32 * buf; char buf_r_[PADR_(struct statfs32 *)]; 932 }; 933 struct freebsd4_freebsd32_fstatfs_args { 934 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 935 char buf_l_[PADL_(struct statfs32 *)]; struct statfs32 * buf; char buf_r_[PADR_(struct statfs32 *)]; 936 }; 937 struct freebsd4_freebsd32_fhstatfs_args { 938 char u_fhp_l_[PADL_(const struct fhandle *)]; const struct fhandle * u_fhp; char u_fhp_r_[PADR_(const struct fhandle *)]; 939 char buf_l_[PADL_(struct statfs32 *)]; struct statfs32 * buf; char buf_r_[PADR_(struct statfs32 *)]; 940 }; 941 struct freebsd4_freebsd32_sendfile_args { 942 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 943 char s_l_[PADL_(int)]; int s; char s_r_[PADR_(int)]; 944 char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)]; 945 char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)]; 946 char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)]; 947 char hdtr_l_[PADL_(struct sf_hdtr32 *)]; struct sf_hdtr32 * hdtr; char hdtr_r_[PADR_(struct sf_hdtr32 *)]; 948 char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)]; 949 char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; 950 }; 951 struct freebsd4_freebsd32_sigaction_args { 952 char sig_l_[PADL_(int)]; int sig; char sig_r_[PADR_(int)]; 953 char act_l_[PADL_(struct sigaction32 *)]; struct sigaction32 * act; char act_r_[PADR_(struct sigaction32 *)]; 954 char oact_l_[PADL_(struct sigaction32 *)]; struct sigaction32 * oact; char oact_r_[PADR_(struct sigaction32 *)]; 955 }; 956 struct freebsd4_freebsd32_sigreturn_args { 957 char sigcntxp_l_[PADL_(const struct freebsd4_freebsd32_ucontext *)]; const struct freebsd4_freebsd32_ucontext * sigcntxp; char sigcntxp_r_[PADR_(const struct freebsd4_freebsd32_ucontext *)]; 958 }; 959 #ifdef PAD64_REQUIRED 960 #else 961 #endif 962 #ifdef PAD64_REQUIRED 963 #else 964 #endif 965 #ifdef PAD64_REQUIRED 966 #else 967 #endif 968 #ifdef PAD64_REQUIRED 969 #else 970 #endif 971 int freebsd4_freebsd32_getfsstat(struct thread *, struct freebsd4_freebsd32_getfsstat_args *); 972 int freebsd4_freebsd32_statfs(struct thread *, struct freebsd4_freebsd32_statfs_args *); 973 int freebsd4_freebsd32_fstatfs(struct thread *, struct freebsd4_freebsd32_fstatfs_args *); 974 int freebsd4_freebsd32_fhstatfs(struct thread *, struct freebsd4_freebsd32_fhstatfs_args *); 975 int freebsd4_freebsd32_sendfile(struct thread *, struct freebsd4_freebsd32_sendfile_args *); 976 int freebsd4_freebsd32_sigaction(struct thread *, struct freebsd4_freebsd32_sigaction_args *); 977 int freebsd4_freebsd32_sigreturn(struct thread *, struct freebsd4_freebsd32_sigreturn_args *); 978 979 #endif /* COMPAT_FREEBSD4 */ 980 981 982 #ifdef COMPAT_FREEBSD6 983 984 #if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__)) 985 #define PAD64_REQUIRED 986 #endif 987 struct freebsd6_freebsd32_pread_args { 988 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 989 char buf_l_[PADL_(void *)]; void * buf; char buf_r_[PADR_(void *)]; 990 char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)]; 991 char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)]; 992 char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)]; 993 char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)]; 994 }; 995 struct freebsd6_freebsd32_pwrite_args { 996 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 997 char buf_l_[PADL_(const void *)]; const void * buf; char buf_r_[PADR_(const void *)]; 998 char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)]; 999 char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)]; 1000 char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)]; 1001 char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)]; 1002 }; 1003 struct freebsd6_freebsd32_mmap_args { 1004 char addr_l_[PADL_(caddr_t)]; caddr_t addr; char addr_r_[PADR_(caddr_t)]; 1005 char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_t)]; 1006 char prot_l_[PADL_(int)]; int prot; char prot_r_[PADR_(int)]; 1007 char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; 1008 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 1009 char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)]; 1010 char pos1_l_[PADL_(uint32_t)]; uint32_t pos1; char pos1_r_[PADR_(uint32_t)]; 1011 char pos2_l_[PADL_(uint32_t)]; uint32_t pos2; char pos2_r_[PADR_(uint32_t)]; 1012 }; 1013 struct freebsd6_freebsd32_lseek_args { 1014 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 1015 char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)]; 1016 char offset1_l_[PADL_(uint32_t)]; uint32_t offset1; char offset1_r_[PADR_(uint32_t)]; 1017 char offset2_l_[PADL_(uint32_t)]; uint32_t offset2; char offset2_r_[PADR_(uint32_t)]; 1018 char whence_l_[PADL_(int)]; int whence; char whence_r_[PADR_(int)]; 1019 }; 1020 struct freebsd6_freebsd32_truncate_args { 1021 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 1022 char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)]; 1023 char length1_l_[PADL_(uint32_t)]; uint32_t length1; char length1_r_[PADR_(uint32_t)]; 1024 char length2_l_[PADL_(uint32_t)]; uint32_t length2; char length2_r_[PADR_(uint32_t)]; 1025 }; 1026 struct freebsd6_freebsd32_ftruncate_args { 1027 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 1028 char pad_l_[PADL_(int)]; int pad; char pad_r_[PADR_(int)]; 1029 char length1_l_[PADL_(uint32_t)]; uint32_t length1; char length1_r_[PADR_(uint32_t)]; 1030 char length2_l_[PADL_(uint32_t)]; uint32_t length2; char length2_r_[PADR_(uint32_t)]; 1031 }; 1032 struct freebsd6_freebsd32_aio_read_args { 1033 char aiocbp_l_[PADL_(struct oaiocb32 *)]; struct oaiocb32 * aiocbp; char aiocbp_r_[PADR_(struct oaiocb32 *)]; 1034 }; 1035 struct freebsd6_freebsd32_aio_write_args { 1036 char aiocbp_l_[PADL_(struct oaiocb32 *)]; struct oaiocb32 * aiocbp; char aiocbp_r_[PADR_(struct oaiocb32 *)]; 1037 }; 1038 struct freebsd6_freebsd32_lio_listio_args { 1039 char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; 1040 char acb_list_l_[PADL_(struct oaiocb32 *const *)]; struct oaiocb32 *const * acb_list; char acb_list_r_[PADR_(struct oaiocb32 *const *)]; 1041 char nent_l_[PADL_(int)]; int nent; char nent_r_[PADR_(int)]; 1042 char sig_l_[PADL_(struct osigevent32 *)]; struct osigevent32 * sig; char sig_r_[PADR_(struct osigevent32 *)]; 1043 }; 1044 #ifdef PAD64_REQUIRED 1045 #else 1046 #endif 1047 #ifdef PAD64_REQUIRED 1048 #else 1049 #endif 1050 #ifdef PAD64_REQUIRED 1051 #else 1052 #endif 1053 #ifdef PAD64_REQUIRED 1054 #else 1055 #endif 1056 int freebsd6_freebsd32_pread(struct thread *, struct freebsd6_freebsd32_pread_args *); 1057 int freebsd6_freebsd32_pwrite(struct thread *, struct freebsd6_freebsd32_pwrite_args *); 1058 int freebsd6_freebsd32_mmap(struct thread *, struct freebsd6_freebsd32_mmap_args *); 1059 int freebsd6_freebsd32_lseek(struct thread *, struct freebsd6_freebsd32_lseek_args *); 1060 int freebsd6_freebsd32_truncate(struct thread *, struct freebsd6_freebsd32_truncate_args *); 1061 int freebsd6_freebsd32_ftruncate(struct thread *, struct freebsd6_freebsd32_ftruncate_args *); 1062 int freebsd6_freebsd32_aio_read(struct thread *, struct freebsd6_freebsd32_aio_read_args *); 1063 int freebsd6_freebsd32_aio_write(struct thread *, struct freebsd6_freebsd32_aio_write_args *); 1064 int freebsd6_freebsd32_lio_listio(struct thread *, struct freebsd6_freebsd32_lio_listio_args *); 1065 1066 #endif /* COMPAT_FREEBSD6 */ 1067 1068 1069 #ifdef COMPAT_FREEBSD7 1070 1071 #if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__)) 1072 #define PAD64_REQUIRED 1073 #endif 1074 struct freebsd7_freebsd32_semctl_args { 1075 char semid_l_[PADL_(int)]; int semid; char semid_r_[PADR_(int)]; 1076 char semnum_l_[PADL_(int)]; int semnum; char semnum_r_[PADR_(int)]; 1077 char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; 1078 char arg_l_[PADL_(union semun32 *)]; union semun32 * arg; char arg_r_[PADR_(union semun32 *)]; 1079 }; 1080 struct freebsd7_freebsd32_msgctl_args { 1081 char msqid_l_[PADL_(int)]; int msqid; char msqid_r_[PADR_(int)]; 1082 char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; 1083 char buf_l_[PADL_(struct msqid_ds32_old *)]; struct msqid_ds32_old * buf; char buf_r_[PADR_(struct msqid_ds32_old *)]; 1084 }; 1085 struct freebsd7_freebsd32_shmctl_args { 1086 char shmid_l_[PADL_(int)]; int shmid; char shmid_r_[PADR_(int)]; 1087 char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)]; 1088 char buf_l_[PADL_(struct shmid_ds32_old *)]; struct shmid_ds32_old * buf; char buf_r_[PADR_(struct shmid_ds32_old *)]; 1089 }; 1090 #ifdef PAD64_REQUIRED 1091 #else 1092 #endif 1093 #ifdef PAD64_REQUIRED 1094 #else 1095 #endif 1096 #ifdef PAD64_REQUIRED 1097 #else 1098 #endif 1099 #ifdef PAD64_REQUIRED 1100 #else 1101 #endif 1102 int freebsd7_freebsd32_semctl(struct thread *, struct freebsd7_freebsd32_semctl_args *); 1103 int freebsd7_freebsd32_msgctl(struct thread *, struct freebsd7_freebsd32_msgctl_args *); 1104 int freebsd7_freebsd32_shmctl(struct thread *, struct freebsd7_freebsd32_shmctl_args *); 1105 1106 #endif /* COMPAT_FREEBSD7 */ 1107 1108 1109 #ifdef COMPAT_FREEBSD10 1110 1111 #if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__)) 1112 #define PAD64_REQUIRED 1113 #endif 1114 #ifdef PAD64_REQUIRED 1115 #else 1116 #endif 1117 #ifdef PAD64_REQUIRED 1118 #else 1119 #endif 1120 #ifdef PAD64_REQUIRED 1121 #else 1122 #endif 1123 #ifdef PAD64_REQUIRED 1124 #else 1125 #endif 1126 int freebsd10_freebsd32_pipe(struct thread *, struct freebsd10_freebsd32_pipe_args *); 1127 1128 #endif /* COMPAT_FREEBSD10 */ 1129 1130 1131 #ifdef COMPAT_FREEBSD11 1132 1133 #if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__)) 1134 #define PAD64_REQUIRED 1135 #endif 1136 struct freebsd11_freebsd32_mknod_args { 1137 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 1138 char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; 1139 char dev_l_[PADL_(int)]; int dev; char dev_r_[PADR_(int)]; 1140 }; 1141 struct freebsd11_freebsd32_stat_args { 1142 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 1143 char ub_l_[PADL_(struct freebsd11_stat32 *)]; struct freebsd11_stat32 * ub; char ub_r_[PADR_(struct freebsd11_stat32 *)]; 1144 }; 1145 struct freebsd11_freebsd32_fstat_args { 1146 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 1147 char ub_l_[PADL_(struct freebsd11_stat32 *)]; struct freebsd11_stat32 * ub; char ub_r_[PADR_(struct freebsd11_stat32 *)]; 1148 }; 1149 struct freebsd11_freebsd32_lstat_args { 1150 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 1151 char ub_l_[PADL_(struct freebsd11_stat32 *)]; struct freebsd11_stat32 * ub; char ub_r_[PADR_(struct freebsd11_stat32 *)]; 1152 }; 1153 struct freebsd11_freebsd32_getdirentries_args { 1154 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 1155 char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)]; 1156 char count_l_[PADL_(u_int)]; u_int count; char count_r_[PADR_(u_int)]; 1157 char basep_l_[PADL_(int32_t *)]; int32_t * basep; char basep_r_[PADR_(int32_t *)]; 1158 }; 1159 struct freebsd11_freebsd32_getdents_args { 1160 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 1161 char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)]; 1162 char count_l_[PADL_(int)]; int count; char count_r_[PADR_(int)]; 1163 }; 1164 struct freebsd11_freebsd32_fhstat_args { 1165 char u_fhp_l_[PADL_(const struct fhandle *)]; const struct fhandle * u_fhp; char u_fhp_r_[PADR_(const struct fhandle *)]; 1166 char sb_l_[PADL_(struct freebsd11_stat32 *)]; struct freebsd11_stat32 * sb; char sb_r_[PADR_(struct freebsd11_stat32 *)]; 1167 }; 1168 struct freebsd11_freebsd32_kevent_args { 1169 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 1170 char changelist_l_[PADL_(const struct kevent32_freebsd11 *)]; const struct kevent32_freebsd11 * changelist; char changelist_r_[PADR_(const struct kevent32_freebsd11 *)]; 1171 char nchanges_l_[PADL_(int)]; int nchanges; char nchanges_r_[PADR_(int)]; 1172 char eventlist_l_[PADL_(struct kevent32_freebsd11 *)]; struct kevent32_freebsd11 * eventlist; char eventlist_r_[PADR_(struct kevent32_freebsd11 *)]; 1173 char nevents_l_[PADL_(int)]; int nevents; char nevents_r_[PADR_(int)]; 1174 char timeout_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * timeout; char timeout_r_[PADR_(const struct timespec32 *)]; 1175 }; 1176 #ifdef PAD64_REQUIRED 1177 #else 1178 #endif 1179 #ifdef PAD64_REQUIRED 1180 #else 1181 #endif 1182 struct freebsd11_freebsd32_fstatat_args { 1183 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 1184 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 1185 char buf_l_[PADL_(struct freebsd11_stat32 *)]; struct freebsd11_stat32 * buf; char buf_r_[PADR_(struct freebsd11_stat32 *)]; 1186 char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)]; 1187 }; 1188 struct freebsd11_freebsd32_mknodat_args { 1189 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; 1190 char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; 1191 char mode_l_[PADL_(mode_t)]; mode_t mode; char mode_r_[PADR_(mode_t)]; 1192 char dev_l_[PADL_(uint32_t)]; uint32_t dev; char dev_r_[PADR_(uint32_t)]; 1193 }; 1194 #ifdef PAD64_REQUIRED 1195 #else 1196 #endif 1197 #ifdef PAD64_REQUIRED 1198 #else 1199 #endif 1200 int freebsd11_freebsd32_mknod(struct thread *, struct freebsd11_freebsd32_mknod_args *); 1201 int freebsd11_freebsd32_stat(struct thread *, struct freebsd11_freebsd32_stat_args *); 1202 int freebsd11_freebsd32_fstat(struct thread *, struct freebsd11_freebsd32_fstat_args *); 1203 int freebsd11_freebsd32_lstat(struct thread *, struct freebsd11_freebsd32_lstat_args *); 1204 int freebsd11_freebsd32_getdirentries(struct thread *, struct freebsd11_freebsd32_getdirentries_args *); 1205 int freebsd11_freebsd32_getdents(struct thread *, struct freebsd11_freebsd32_getdents_args *); 1206 int freebsd11_freebsd32_fhstat(struct thread *, struct freebsd11_freebsd32_fhstat_args *); 1207 int freebsd11_freebsd32_kevent(struct thread *, struct freebsd11_freebsd32_kevent_args *); 1208 int freebsd11_freebsd32_fstatat(struct thread *, struct freebsd11_freebsd32_fstatat_args *); 1209 int freebsd11_freebsd32_mknodat(struct thread *, struct freebsd11_freebsd32_mknodat_args *); 1210 1211 #endif /* COMPAT_FREEBSD11 */ 1212 1213 #define FREEBSD32_SYS_AUE_freebsd32_wait4 AUE_WAIT4 1214 #define FREEBSD32_SYS_AUE_freebsd11_freebsd32_mknod AUE_MKNOD 1215 #define FREEBSD32_SYS_AUE_freebsd4_freebsd32_getfsstat AUE_GETFSSTAT 1216 #define FREEBSD32_SYS_AUE_ofreebsd32_lseek AUE_LSEEK 1217 #define FREEBSD32_SYS_AUE_freebsd32_recvmsg AUE_RECVMSG 1218 #define FREEBSD32_SYS_AUE_freebsd32_sendmsg AUE_SENDMSG 1219 #define FREEBSD32_SYS_AUE_freebsd32_recvfrom AUE_RECVFROM 1220 #define FREEBSD32_SYS_AUE_ofreebsd32_stat AUE_STAT 1221 #define FREEBSD32_SYS_AUE_ofreebsd32_lstat AUE_LSTAT 1222 #define FREEBSD32_SYS_AUE_freebsd10_freebsd32_pipe AUE_PIPE 1223 #define FREEBSD32_SYS_AUE_ofreebsd32_sigaction AUE_SIGACTION 1224 #define FREEBSD32_SYS_AUE_ofreebsd32_sigprocmask AUE_SIGPROCMASK 1225 #define FREEBSD32_SYS_AUE_ofreebsd32_sigpending AUE_SIGPENDING 1226 #define FREEBSD32_SYS_AUE_freebsd32_sigaltstack AUE_SIGALTSTACK 1227 #define FREEBSD32_SYS_AUE_freebsd32_ioctl AUE_IOCTL 1228 #define FREEBSD32_SYS_AUE_freebsd32_execve AUE_EXECVE 1229 #define FREEBSD32_SYS_AUE_ofreebsd32_fstat AUE_FSTAT 1230 #define FREEBSD32_SYS_AUE_ofreebsd32_getpagesize AUE_NULL 1231 #define FREEBSD32_SYS_AUE_freebsd32_mprotect AUE_MPROTECT 1232 #define FREEBSD32_SYS_AUE_freebsd32_setitimer AUE_SETITIMER 1233 #define FREEBSD32_SYS_AUE_freebsd32_getitimer AUE_GETITIMER 1234 #define FREEBSD32_SYS_AUE_freebsd32_fcntl AUE_FCNTL 1235 #define FREEBSD32_SYS_AUE_freebsd32_select AUE_SELECT 1236 #define FREEBSD32_SYS_AUE_ofreebsd32_sigreturn AUE_SIGRETURN 1237 #define FREEBSD32_SYS_AUE_ofreebsd32_sigvec AUE_O_SIGVEC 1238 #define FREEBSD32_SYS_AUE_ofreebsd32_sigblock AUE_O_SIGBLOCK 1239 #define FREEBSD32_SYS_AUE_ofreebsd32_sigsetmask AUE_O_SIGSETMASK 1240 #define FREEBSD32_SYS_AUE_ofreebsd32_sigsuspend AUE_SIGSUSPEND 1241 #define FREEBSD32_SYS_AUE_ofreebsd32_sigstack AUE_O_SIGSTACK 1242 #define FREEBSD32_SYS_AUE_freebsd32_gettimeofday AUE_GETTIMEOFDAY 1243 #define FREEBSD32_SYS_AUE_freebsd32_getrusage AUE_GETRUSAGE 1244 #define FREEBSD32_SYS_AUE_freebsd32_readv AUE_READV 1245 #define FREEBSD32_SYS_AUE_freebsd32_writev AUE_WRITEV 1246 #define FREEBSD32_SYS_AUE_freebsd32_settimeofday AUE_SETTIMEOFDAY 1247 #define FREEBSD32_SYS_AUE_freebsd32_utimes AUE_UTIMES 1248 #define FREEBSD32_SYS_AUE_freebsd32_adjtime AUE_ADJTIME 1249 #define FREEBSD32_SYS_AUE_ofreebsd32_getdirentries AUE_GETDIRENTRIES 1250 #define FREEBSD32_SYS_AUE_freebsd4_freebsd32_statfs AUE_STATFS 1251 #define FREEBSD32_SYS_AUE_freebsd4_freebsd32_fstatfs AUE_FSTATFS 1252 #define FREEBSD32_SYS_AUE_freebsd32_sysarch AUE_SYSARCH 1253 #define FREEBSD32_SYS_AUE_freebsd32_semsys AUE_SEMSYS 1254 #define FREEBSD32_SYS_AUE_freebsd32_msgsys AUE_MSGSYS 1255 #define FREEBSD32_SYS_AUE_freebsd32_shmsys AUE_SHMSYS 1256 #define FREEBSD32_SYS_AUE_freebsd6_freebsd32_pread AUE_PREAD 1257 #define FREEBSD32_SYS_AUE_freebsd6_freebsd32_pwrite AUE_PWRITE 1258 #define FREEBSD32_SYS_AUE_freebsd11_freebsd32_stat AUE_STAT 1259 #define FREEBSD32_SYS_AUE_freebsd11_freebsd32_fstat AUE_FSTAT 1260 #define FREEBSD32_SYS_AUE_freebsd11_freebsd32_lstat AUE_LSTAT 1261 #define FREEBSD32_SYS_AUE_freebsd11_freebsd32_getdirentries AUE_GETDIRENTRIES 1262 #define FREEBSD32_SYS_AUE_freebsd6_freebsd32_mmap AUE_MMAP 1263 #define FREEBSD32_SYS_AUE_freebsd6_freebsd32_lseek AUE_LSEEK 1264 #define FREEBSD32_SYS_AUE_freebsd6_freebsd32_truncate AUE_TRUNCATE 1265 #define FREEBSD32_SYS_AUE_freebsd6_freebsd32_ftruncate AUE_FTRUNCATE 1266 #define FREEBSD32_SYS_AUE_freebsd32_sysctl AUE_SYSCTL 1267 #define FREEBSD32_SYS_AUE_freebsd32_futimes AUE_FUTIMES 1268 #define FREEBSD32_SYS_AUE_freebsd7_freebsd32_semctl AUE_SEMCTL 1269 #define FREEBSD32_SYS_AUE_freebsd7_freebsd32_msgctl AUE_MSGCTL 1270 #define FREEBSD32_SYS_AUE_freebsd32_msgsnd AUE_MSGSND 1271 #define FREEBSD32_SYS_AUE_freebsd32_msgrcv AUE_MSGRCV 1272 #define FREEBSD32_SYS_AUE_freebsd7_freebsd32_shmctl AUE_SHMCTL 1273 #define FREEBSD32_SYS_AUE_freebsd32_clock_gettime AUE_NULL 1274 #define FREEBSD32_SYS_AUE_freebsd32_clock_settime AUE_CLOCK_SETTIME 1275 #define FREEBSD32_SYS_AUE_freebsd32_clock_getres AUE_NULL 1276 #define FREEBSD32_SYS_AUE_freebsd32_ktimer_create AUE_NULL 1277 #define FREEBSD32_SYS_AUE_freebsd32_ktimer_settime AUE_NULL 1278 #define FREEBSD32_SYS_AUE_freebsd32_ktimer_gettime AUE_NULL 1279 #define FREEBSD32_SYS_AUE_freebsd32_nanosleep AUE_NULL 1280 #define FREEBSD32_SYS_AUE_freebsd32_clock_nanosleep AUE_NULL 1281 #define FREEBSD32_SYS_AUE_freebsd32_clock_getcpuclockid2 AUE_NULL 1282 #define FREEBSD32_SYS_AUE_freebsd32_aio_read AUE_AIO_READ 1283 #define FREEBSD32_SYS_AUE_freebsd32_aio_write AUE_AIO_WRITE 1284 #define FREEBSD32_SYS_AUE_freebsd32_lio_listio AUE_LIO_LISTIO 1285 #define FREEBSD32_SYS_AUE_freebsd11_freebsd32_getdents AUE_O_GETDENTS 1286 #define FREEBSD32_SYS_AUE_freebsd32_lutimes AUE_LUTIMES 1287 #define FREEBSD32_SYS_AUE_freebsd32_preadv AUE_PREADV 1288 #define FREEBSD32_SYS_AUE_freebsd32_pwritev AUE_PWRITEV 1289 #define FREEBSD32_SYS_AUE_freebsd4_freebsd32_fhstatfs AUE_FHSTATFS 1290 #define FREEBSD32_SYS_AUE_freebsd11_freebsd32_fhstat AUE_FHSTAT 1291 #define FREEBSD32_SYS_AUE_freebsd32_modstat AUE_NULL 1292 #define FREEBSD32_SYS_AUE_freebsd32_kldstat AUE_NULL 1293 #define FREEBSD32_SYS_AUE_freebsd32_aio_return AUE_AIO_RETURN 1294 #define FREEBSD32_SYS_AUE_freebsd32_aio_suspend AUE_AIO_SUSPEND 1295 #define FREEBSD32_SYS_AUE_freebsd32_aio_error AUE_AIO_ERROR 1296 #define FREEBSD32_SYS_AUE_freebsd6_freebsd32_aio_read AUE_AIO_READ 1297 #define FREEBSD32_SYS_AUE_freebsd6_freebsd32_aio_write AUE_AIO_WRITE 1298 #define FREEBSD32_SYS_AUE_freebsd6_freebsd32_lio_listio AUE_LIO_LISTIO 1299 #define FREEBSD32_SYS_AUE_freebsd4_freebsd32_sendfile AUE_SENDFILE 1300 #define FREEBSD32_SYS_AUE_freebsd32_jail AUE_JAIL 1301 #define FREEBSD32_SYS_AUE_freebsd4_freebsd32_sigaction AUE_SIGACTION 1302 #define FREEBSD32_SYS_AUE_freebsd4_freebsd32_sigreturn AUE_SIGRETURN 1303 #define FREEBSD32_SYS_AUE_freebsd32_sigtimedwait AUE_SIGWAIT 1304 #define FREEBSD32_SYS_AUE_freebsd32_sigwaitinfo AUE_NULL 1305 #define FREEBSD32_SYS_AUE_freebsd32_aio_waitcomplete AUE_AIO_WAITCOMPLETE 1306 #define FREEBSD32_SYS_AUE_freebsd11_freebsd32_kevent AUE_KEVENT 1307 #define FREEBSD32_SYS_AUE_freebsd32_nmount AUE_NMOUNT 1308 #define FREEBSD32_SYS_AUE_freebsd32_sendfile AUE_SENDFILE 1309 #define FREEBSD32_SYS_AUE_freebsd32_ksem_init AUE_SEMINIT 1310 #define FREEBSD32_SYS_AUE_freebsd32_ksem_open AUE_SEMOPEN 1311 #define FREEBSD32_SYS_AUE_freebsd32_sigaction AUE_SIGACTION 1312 #define FREEBSD32_SYS_AUE_freebsd32_sigreturn AUE_SIGRETURN 1313 #define FREEBSD32_SYS_AUE_freebsd32_getcontext AUE_NULL 1314 #define FREEBSD32_SYS_AUE_freebsd32_setcontext AUE_NULL 1315 #define FREEBSD32_SYS_AUE_freebsd32_swapcontext AUE_NULL 1316 #define FREEBSD32_SYS_AUE_freebsd32_ksem_timedwait AUE_SEMWAIT 1317 #define FREEBSD32_SYS_AUE_freebsd32_thr_suspend AUE_NULL 1318 #define FREEBSD32_SYS_AUE_freebsd32_umtx_op AUE_NULL 1319 #define FREEBSD32_SYS_AUE_freebsd32_thr_new AUE_THR_NEW 1320 #define FREEBSD32_SYS_AUE_freebsd32_sigqueue AUE_NULL 1321 #define FREEBSD32_SYS_AUE_freebsd32_kmq_open AUE_MQ_OPEN 1322 #define FREEBSD32_SYS_AUE_freebsd32_kmq_setattr AUE_MQ_SETATTR 1323 #define FREEBSD32_SYS_AUE_freebsd32_kmq_timedreceive AUE_MQ_TIMEDRECEIVE 1324 #define FREEBSD32_SYS_AUE_freebsd32_kmq_timedsend AUE_MQ_TIMEDSEND 1325 #define FREEBSD32_SYS_AUE_freebsd32_kmq_notify AUE_MQ_NOTIFY 1326 #define FREEBSD32_SYS_AUE_freebsd32_aio_fsync AUE_AIO_FSYNC 1327 #define FREEBSD32_SYS_AUE_freebsd32_pread AUE_PREAD 1328 #define FREEBSD32_SYS_AUE_freebsd32_pwrite AUE_PWRITE 1329 #define FREEBSD32_SYS_AUE_freebsd32_mmap AUE_MMAP 1330 #define FREEBSD32_SYS_AUE_freebsd32_lseek AUE_LSEEK 1331 #define FREEBSD32_SYS_AUE_freebsd32_truncate AUE_TRUNCATE 1332 #define FREEBSD32_SYS_AUE_freebsd32_ftruncate AUE_FTRUNCATE 1333 #define FREEBSD32_SYS_AUE_freebsd32_pread AUE_PREAD 1334 #define FREEBSD32_SYS_AUE_freebsd32_pwrite AUE_PWRITE 1335 #define FREEBSD32_SYS_AUE_freebsd32_mmap AUE_MMAP 1336 #define FREEBSD32_SYS_AUE_freebsd32_lseek AUE_LSEEK 1337 #define FREEBSD32_SYS_AUE_freebsd32_truncate AUE_TRUNCATE 1338 #define FREEBSD32_SYS_AUE_freebsd32_ftruncate AUE_FTRUNCATE 1339 #define FREEBSD32_SYS_AUE_freebsd32_cpuset_setid AUE_NULL 1340 #define FREEBSD32_SYS_AUE_freebsd32_cpuset_setid AUE_NULL 1341 #define FREEBSD32_SYS_AUE_freebsd32_cpuset_getid AUE_NULL 1342 #define FREEBSD32_SYS_AUE_freebsd32_cpuset_getaffinity AUE_NULL 1343 #define FREEBSD32_SYS_AUE_freebsd32_cpuset_setaffinity AUE_NULL 1344 #define FREEBSD32_SYS_AUE_freebsd32_fexecve AUE_FEXECVE 1345 #define FREEBSD32_SYS_AUE_freebsd11_freebsd32_fstatat AUE_FSTATAT 1346 #define FREEBSD32_SYS_AUE_freebsd32_futimesat AUE_FUTIMESAT 1347 #define FREEBSD32_SYS_AUE_freebsd11_freebsd32_mknodat AUE_MKNODAT 1348 #define FREEBSD32_SYS_AUE_freebsd32_jail_get AUE_JAIL_GET 1349 #define FREEBSD32_SYS_AUE_freebsd32_jail_set AUE_JAIL_SET 1350 #define FREEBSD32_SYS_AUE_freebsd32_semctl AUE_SEMCTL 1351 #define FREEBSD32_SYS_AUE_freebsd32_msgctl AUE_MSGCTL 1352 #define FREEBSD32_SYS_AUE_freebsd32_shmctl AUE_SHMCTL 1353 #define FREEBSD32_SYS_AUE_freebsd32_pselect AUE_SELECT 1354 #define FREEBSD32_SYS_AUE_freebsd32_posix_fallocate AUE_POSIX_FALLOCATE 1355 #define FREEBSD32_SYS_AUE_freebsd32_posix_fadvise AUE_POSIX_FADVISE 1356 #define FREEBSD32_SYS_AUE_freebsd32_wait6 AUE_WAIT6 1357 #define FREEBSD32_SYS_AUE_freebsd32_posix_fallocate AUE_POSIX_FALLOCATE 1358 #define FREEBSD32_SYS_AUE_freebsd32_posix_fadvise AUE_POSIX_FADVISE 1359 #define FREEBSD32_SYS_AUE_freebsd32_wait6 AUE_WAIT6 1360 #define FREEBSD32_SYS_AUE_freebsd32_cap_ioctls_limit AUE_CAP_IOCTLS_LIMIT 1361 #define FREEBSD32_SYS_AUE_freebsd32_cap_ioctls_get AUE_CAP_IOCTLS_GET 1362 #define FREEBSD32_SYS_AUE_freebsd32_aio_mlock AUE_AIO_MLOCK 1363 #define FREEBSD32_SYS_AUE_freebsd32_procctl AUE_PROCCTL 1364 #define FREEBSD32_SYS_AUE_freebsd32_procctl AUE_PROCCTL 1365 #define FREEBSD32_SYS_AUE_freebsd32_ppoll AUE_POLL 1366 #define FREEBSD32_SYS_AUE_freebsd32_futimens AUE_FUTIMES 1367 #define FREEBSD32_SYS_AUE_freebsd32_utimensat AUE_FUTIMESAT 1368 #define FREEBSD32_SYS_AUE_freebsd32_fstat AUE_FSTAT 1369 #define FREEBSD32_SYS_AUE_freebsd32_fstatat AUE_FSTATAT 1370 #define FREEBSD32_SYS_AUE_freebsd32_fhstat AUE_FHSTAT 1371 #define FREEBSD32_SYS_AUE_freebsd32_getdirentries AUE_GETDIRENTRIES 1372 #define FREEBSD32_SYS_AUE_freebsd32_kevent AUE_KEVENT 1373 1374 #undef PAD_ 1375 #undef PADL_ 1376 #undef PADR_ 1377 1378 #endif /* !_FREEBSD32_SYSPROTO_H_ */ 1379