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