mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Regen.
This commit is contained in:
parent
6992112349
commit
ec95c622ff
11 changed files with 997 additions and 1158 deletions
|
|
@ -161,24 +161,6 @@ struct freebsd32_shmsys_args {
|
|||
char a3_l_[PADL_(uint32_t)]; uint32_t a3; char a3_r_[PADR_(uint32_t)];
|
||||
char a4_l_[PADL_(uint32_t)]; uint32_t a4; char a4_r_[PADR_(uint32_t)];
|
||||
};
|
||||
struct freebsd32_stat_args {
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char ub_l_[PADL_(struct stat32 *)]; struct stat32 * ub; char ub_r_[PADR_(struct stat32 *)];
|
||||
};
|
||||
struct freebsd32_fstat_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char ub_l_[PADL_(struct stat32 *)]; struct stat32 * ub; char ub_r_[PADR_(struct stat32 *)];
|
||||
};
|
||||
struct freebsd32_lstat_args {
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char ub_l_[PADL_(struct stat32 *)]; struct stat32 * ub; char ub_r_[PADR_(struct stat32 *)];
|
||||
};
|
||||
struct freebsd32_getdirentries_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
|
||||
char count_l_[PADL_(u_int)]; u_int count; char count_r_[PADR_(u_int)];
|
||||
char basep_l_[PADL_(int32_t *)]; int32_t * basep; char basep_r_[PADR_(int32_t *)];
|
||||
};
|
||||
struct freebsd32_sysctl_args {
|
||||
char name_l_[PADL_(int *)]; int * name; char name_r_[PADR_(int *)];
|
||||
char namelen_l_[PADL_(u_int)]; u_int namelen; char namelen_r_[PADR_(u_int)];
|
||||
|
|
@ -551,12 +533,6 @@ struct freebsd32_fexecve_args {
|
|||
char argv_l_[PADL_(uint32_t *)]; uint32_t * argv; char argv_r_[PADR_(uint32_t *)];
|
||||
char envv_l_[PADL_(uint32_t *)]; uint32_t * envv; char envv_r_[PADR_(uint32_t *)];
|
||||
};
|
||||
struct freebsd32_fstatat_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char buf_l_[PADL_(struct stat *)]; struct stat * buf; char buf_r_[PADR_(struct stat *)];
|
||||
char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)];
|
||||
};
|
||||
struct freebsd32_futimesat_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
|
|
@ -697,6 +673,26 @@ struct freebsd32_utimensat_args {
|
|||
char times_l_[PADL_(struct timespec *)]; struct timespec * times; char times_r_[PADR_(struct timespec *)];
|
||||
char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)];
|
||||
};
|
||||
struct freebsd32_fstat_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char ub_l_[PADL_(struct stat32 *)]; struct stat32 * ub; char ub_r_[PADR_(struct stat32 *)];
|
||||
};
|
||||
struct freebsd32_fstatat_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char buf_l_[PADL_(struct stat32 *)]; struct stat32 * buf; char buf_r_[PADR_(struct stat32 *)];
|
||||
char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)];
|
||||
};
|
||||
struct freebsd32_fhstat_args {
|
||||
char u_fhp_l_[PADL_(const struct fhandle *)]; const struct fhandle * u_fhp; char u_fhp_r_[PADR_(const struct fhandle *)];
|
||||
char sb_l_[PADL_(struct stat32 *)]; struct stat32 * sb; char sb_r_[PADR_(struct stat32 *)];
|
||||
};
|
||||
struct freebsd32_getdirentries_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
|
||||
char count_l_[PADL_(size_t)]; size_t count; char count_r_[PADR_(size_t)];
|
||||
char basep_l_[PADL_(int32_t *)]; int32_t * basep; char basep_r_[PADR_(int32_t *)];
|
||||
};
|
||||
#if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__))
|
||||
#define PAD64_REQUIRED
|
||||
#endif
|
||||
|
|
@ -723,10 +719,6 @@ int freebsd32_sysarch(struct thread *, struct freebsd32_sysarch_args *);
|
|||
int freebsd32_semsys(struct thread *, struct freebsd32_semsys_args *);
|
||||
int freebsd32_msgsys(struct thread *, struct freebsd32_msgsys_args *);
|
||||
int freebsd32_shmsys(struct thread *, struct freebsd32_shmsys_args *);
|
||||
int freebsd32_stat(struct thread *, struct freebsd32_stat_args *);
|
||||
int freebsd32_fstat(struct thread *, struct freebsd32_fstat_args *);
|
||||
int freebsd32_lstat(struct thread *, struct freebsd32_lstat_args *);
|
||||
int freebsd32_getdirentries(struct thread *, struct freebsd32_getdirentries_args *);
|
||||
int freebsd32_sysctl(struct thread *, struct freebsd32_sysctl_args *);
|
||||
int freebsd32_futimes(struct thread *, struct freebsd32_futimes_args *);
|
||||
int freebsd32_msgsnd(struct thread *, struct freebsd32_msgsnd_args *);
|
||||
|
|
@ -800,7 +792,6 @@ int freebsd32_cpuset_getid(struct thread *, struct freebsd32_cpuset_getid_args *
|
|||
int freebsd32_cpuset_getaffinity(struct thread *, struct freebsd32_cpuset_getaffinity_args *);
|
||||
int freebsd32_cpuset_setaffinity(struct thread *, struct freebsd32_cpuset_setaffinity_args *);
|
||||
int freebsd32_fexecve(struct thread *, struct freebsd32_fexecve_args *);
|
||||
int freebsd32_fstatat(struct thread *, struct freebsd32_fstatat_args *);
|
||||
int freebsd32_futimesat(struct thread *, struct freebsd32_futimesat_args *);
|
||||
int freebsd32_jail_get(struct thread *, struct freebsd32_jail_get_args *);
|
||||
int freebsd32_jail_set(struct thread *, struct freebsd32_jail_set_args *);
|
||||
|
|
@ -828,6 +819,10 @@ int freebsd32_procctl(struct thread *, struct freebsd32_procctl_args *);
|
|||
int freebsd32_ppoll(struct thread *, struct freebsd32_ppoll_args *);
|
||||
int freebsd32_futimens(struct thread *, struct freebsd32_futimens_args *);
|
||||
int freebsd32_utimensat(struct thread *, struct freebsd32_utimensat_args *);
|
||||
int freebsd32_fstat(struct thread *, struct freebsd32_fstat_args *);
|
||||
int freebsd32_fstatat(struct thread *, struct freebsd32_fstatat_args *);
|
||||
int freebsd32_fhstat(struct thread *, struct freebsd32_fhstat_args *);
|
||||
int freebsd32_getdirentries(struct thread *, struct freebsd32_getdirentries_args *);
|
||||
|
||||
#ifdef COMPAT_43
|
||||
|
||||
|
|
@ -1132,7 +1127,82 @@ int freebsd10_freebsd32_pipe(struct thread *, struct freebsd10_freebsd32_pipe_ar
|
|||
|
||||
#endif /* COMPAT_FREEBSD10 */
|
||||
|
||||
|
||||
#ifdef COMPAT_FREEBSD11
|
||||
|
||||
#if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__))
|
||||
#define PAD64_REQUIRED
|
||||
#endif
|
||||
struct freebsd11_freebsd32_mknod_args {
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
|
||||
char dev_l_[PADL_(int)]; int dev; char dev_r_[PADR_(int)];
|
||||
};
|
||||
struct freebsd11_freebsd32_stat_args {
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char ub_l_[PADL_(struct freebsd11_stat32 *)]; struct freebsd11_stat32 * ub; char ub_r_[PADR_(struct freebsd11_stat32 *)];
|
||||
};
|
||||
struct freebsd11_freebsd32_fstat_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char ub_l_[PADL_(struct freebsd11_stat32 *)]; struct freebsd11_stat32 * ub; char ub_r_[PADR_(struct freebsd11_stat32 *)];
|
||||
};
|
||||
struct freebsd11_freebsd32_lstat_args {
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char ub_l_[PADL_(struct freebsd11_stat32 *)]; struct freebsd11_stat32 * ub; char ub_r_[PADR_(struct freebsd11_stat32 *)];
|
||||
};
|
||||
struct freebsd11_freebsd32_getdirentries_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
|
||||
char count_l_[PADL_(u_int)]; u_int count; char count_r_[PADR_(u_int)];
|
||||
char basep_l_[PADL_(int32_t *)]; int32_t * basep; char basep_r_[PADR_(int32_t *)];
|
||||
};
|
||||
struct freebsd11_freebsd32_getdents_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
|
||||
char count_l_[PADL_(int)]; int count; char count_r_[PADR_(int)];
|
||||
};
|
||||
struct freebsd11_freebsd32_fhstat_args {
|
||||
char u_fhp_l_[PADL_(const struct fhandle *)]; const struct fhandle * u_fhp; char u_fhp_r_[PADR_(const struct fhandle *)];
|
||||
char sb_l_[PADL_(struct freebsd11_stat32 *)]; struct freebsd11_stat32 * sb; char sb_r_[PADR_(struct freebsd11_stat32 *)];
|
||||
};
|
||||
#ifdef PAD64_REQUIRED
|
||||
#else
|
||||
#endif
|
||||
#ifdef PAD64_REQUIRED
|
||||
#else
|
||||
#endif
|
||||
struct freebsd11_freebsd32_fstatat_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char buf_l_[PADL_(struct freebsd11_stat32 *)]; struct freebsd11_stat32 * buf; char buf_r_[PADR_(struct freebsd11_stat32 *)];
|
||||
char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)];
|
||||
};
|
||||
struct freebsd11_freebsd32_mknodat_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char mode_l_[PADL_(mode_t)]; mode_t mode; char mode_r_[PADR_(mode_t)];
|
||||
char dev_l_[PADL_(uint32_t)]; uint32_t dev; char dev_r_[PADR_(uint32_t)];
|
||||
};
|
||||
#ifdef PAD64_REQUIRED
|
||||
#else
|
||||
#endif
|
||||
#ifdef PAD64_REQUIRED
|
||||
#else
|
||||
#endif
|
||||
int freebsd11_freebsd32_mknod(struct thread *, struct freebsd11_freebsd32_mknod_args *);
|
||||
int freebsd11_freebsd32_stat(struct thread *, struct freebsd11_freebsd32_stat_args *);
|
||||
int freebsd11_freebsd32_fstat(struct thread *, struct freebsd11_freebsd32_fstat_args *);
|
||||
int freebsd11_freebsd32_lstat(struct thread *, struct freebsd11_freebsd32_lstat_args *);
|
||||
int freebsd11_freebsd32_getdirentries(struct thread *, struct freebsd11_freebsd32_getdirentries_args *);
|
||||
int freebsd11_freebsd32_getdents(struct thread *, struct freebsd11_freebsd32_getdents_args *);
|
||||
int freebsd11_freebsd32_fhstat(struct thread *, struct freebsd11_freebsd32_fhstat_args *);
|
||||
int freebsd11_freebsd32_fstatat(struct thread *, struct freebsd11_freebsd32_fstatat_args *);
|
||||
int freebsd11_freebsd32_mknodat(struct thread *, struct freebsd11_freebsd32_mknodat_args *);
|
||||
|
||||
#endif /* COMPAT_FREEBSD11 */
|
||||
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_wait4 AUE_WAIT4
|
||||
#define FREEBSD32_SYS_AUE_freebsd11_freebsd32_mknod AUE_MKNOD
|
||||
#define FREEBSD32_SYS_AUE_freebsd4_freebsd32_getfsstat AUE_GETFSSTAT
|
||||
#define FREEBSD32_SYS_AUE_ofreebsd32_lseek AUE_LSEEK
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_recvmsg AUE_RECVMSG
|
||||
|
|
@ -1176,10 +1246,10 @@ int freebsd10_freebsd32_pipe(struct thread *, struct freebsd10_freebsd32_pipe_ar
|
|||
#define FREEBSD32_SYS_AUE_freebsd32_shmsys AUE_SHMSYS
|
||||
#define FREEBSD32_SYS_AUE_freebsd6_freebsd32_pread AUE_PREAD
|
||||
#define FREEBSD32_SYS_AUE_freebsd6_freebsd32_pwrite AUE_PWRITE
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_stat AUE_STAT
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_fstat AUE_FSTAT
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_lstat AUE_LSTAT
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_getdirentries AUE_GETDIRENTRIES
|
||||
#define FREEBSD32_SYS_AUE_freebsd11_freebsd32_stat AUE_STAT
|
||||
#define FREEBSD32_SYS_AUE_freebsd11_freebsd32_fstat AUE_FSTAT
|
||||
#define FREEBSD32_SYS_AUE_freebsd11_freebsd32_lstat AUE_LSTAT
|
||||
#define FREEBSD32_SYS_AUE_freebsd11_freebsd32_getdirentries AUE_GETDIRENTRIES
|
||||
#define FREEBSD32_SYS_AUE_freebsd6_freebsd32_mmap AUE_MMAP
|
||||
#define FREEBSD32_SYS_AUE_freebsd6_freebsd32_lseek AUE_LSEEK
|
||||
#define FREEBSD32_SYS_AUE_freebsd6_freebsd32_truncate AUE_TRUNCATE
|
||||
|
|
@ -1203,10 +1273,12 @@ int freebsd10_freebsd32_pipe(struct thread *, struct freebsd10_freebsd32_pipe_ar
|
|||
#define FREEBSD32_SYS_AUE_freebsd32_aio_read AUE_AIO_READ
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_aio_write AUE_AIO_WRITE
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_lio_listio AUE_LIO_LISTIO
|
||||
#define FREEBSD32_SYS_AUE_freebsd11_freebsd32_getdents AUE_O_GETDENTS
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_lutimes AUE_LUTIMES
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_preadv AUE_PREADV
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_pwritev AUE_PWRITEV
|
||||
#define FREEBSD32_SYS_AUE_freebsd4_freebsd32_fhstatfs AUE_FHSTATFS
|
||||
#define FREEBSD32_SYS_AUE_freebsd11_freebsd32_fhstat AUE_FHSTAT
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_modstat AUE_NULL
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_kldstat AUE_NULL
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_aio_return AUE_AIO_RETURN
|
||||
|
|
@ -1261,8 +1333,9 @@ int freebsd10_freebsd32_pipe(struct thread *, struct freebsd10_freebsd32_pipe_ar
|
|||
#define FREEBSD32_SYS_AUE_freebsd32_cpuset_getaffinity AUE_NULL
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_cpuset_setaffinity AUE_NULL
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_fexecve AUE_FEXECVE
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_fstatat AUE_FSTATAT
|
||||
#define FREEBSD32_SYS_AUE_freebsd11_freebsd32_fstatat AUE_FSTATAT
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_futimesat AUE_FUTIMESAT
|
||||
#define FREEBSD32_SYS_AUE_freebsd11_freebsd32_mknodat AUE_MKNODAT
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_jail_get AUE_JAIL_GET
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_jail_set AUE_JAIL_SET
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_semctl AUE_SEMCTL
|
||||
|
|
@ -1283,6 +1356,10 @@ int freebsd10_freebsd32_pipe(struct thread *, struct freebsd10_freebsd32_pipe_ar
|
|||
#define FREEBSD32_SYS_AUE_freebsd32_ppoll AUE_POLL
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_futimens AUE_FUTIMES
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_utimensat AUE_FUTIMESAT
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_fstat AUE_FSTAT
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_fstatat AUE_FSTATAT
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_fhstat AUE_FHSTAT
|
||||
#define FREEBSD32_SYS_AUE_freebsd32_getdirentries AUE_GETDIRENTRIES
|
||||
|
||||
#undef PAD_
|
||||
#undef PADL_
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
/* 11 is obsolete execv */
|
||||
#define FREEBSD32_SYS_chdir 12
|
||||
#define FREEBSD32_SYS_fchdir 13
|
||||
#define FREEBSD32_SYS_mknod 14
|
||||
#define FREEBSD32_SYS_freebsd11_freebsd32_mknod 14
|
||||
#define FREEBSD32_SYS_chmod 15
|
||||
#define FREEBSD32_SYS_chown 16
|
||||
#define FREEBSD32_SYS_break 17
|
||||
|
|
@ -171,14 +171,14 @@
|
|||
#define FREEBSD32_SYS_setgid 181
|
||||
#define FREEBSD32_SYS_setegid 182
|
||||
#define FREEBSD32_SYS_seteuid 183
|
||||
#define FREEBSD32_SYS_freebsd32_stat 188
|
||||
#define FREEBSD32_SYS_freebsd32_fstat 189
|
||||
#define FREEBSD32_SYS_freebsd32_lstat 190
|
||||
#define FREEBSD32_SYS_freebsd11_freebsd32_stat 188
|
||||
#define FREEBSD32_SYS_freebsd11_freebsd32_fstat 189
|
||||
#define FREEBSD32_SYS_freebsd11_freebsd32_lstat 190
|
||||
#define FREEBSD32_SYS_pathconf 191
|
||||
#define FREEBSD32_SYS_fpathconf 192
|
||||
#define FREEBSD32_SYS_getrlimit 194
|
||||
#define FREEBSD32_SYS_setrlimit 195
|
||||
#define FREEBSD32_SYS_freebsd32_getdirentries 196
|
||||
#define FREEBSD32_SYS_freebsd11_freebsd32_getdirentries 196
|
||||
/* 197 is freebsd6 freebsd32_mmap */
|
||||
#define FREEBSD32_SYS___syscall 198
|
||||
/* 199 is freebsd6 freebsd32_lseek */
|
||||
|
|
@ -224,19 +224,19 @@
|
|||
#define FREEBSD32_SYS_freebsd32_aio_read 255
|
||||
#define FREEBSD32_SYS_freebsd32_aio_write 256
|
||||
#define FREEBSD32_SYS_freebsd32_lio_listio 257
|
||||
#define FREEBSD32_SYS_getdents 272
|
||||
#define FREEBSD32_SYS_freebsd11_freebsd32_getdents 272
|
||||
#define FREEBSD32_SYS_lchmod 274
|
||||
#define FREEBSD32_SYS_netbsd_lchown 275
|
||||
#define FREEBSD32_SYS_freebsd32_lutimes 276
|
||||
#define FREEBSD32_SYS_netbsd_msync 277
|
||||
#define FREEBSD32_SYS_nstat 278
|
||||
#define FREEBSD32_SYS_nfstat 279
|
||||
#define FREEBSD32_SYS_nlstat 280
|
||||
#define FREEBSD32_SYS_freebsd11_nstat 278
|
||||
#define FREEBSD32_SYS_freebsd11_nfstat 279
|
||||
#define FREEBSD32_SYS_freebsd11_nlstat 280
|
||||
#define FREEBSD32_SYS_freebsd32_preadv 289
|
||||
#define FREEBSD32_SYS_freebsd32_pwritev 290
|
||||
/* 297 is freebsd4 freebsd32_fhstatfs */
|
||||
#define FREEBSD32_SYS_fhopen 298
|
||||
#define FREEBSD32_SYS_fhstat 299
|
||||
#define FREEBSD32_SYS_freebsd11_freebsd32_fhstat 299
|
||||
#define FREEBSD32_SYS_modnext 300
|
||||
#define FREEBSD32_SYS_freebsd32_modstat 301
|
||||
#define FREEBSD32_SYS_modfnext 302
|
||||
|
|
@ -310,10 +310,10 @@
|
|||
#define FREEBSD32_SYS_lchflags 391
|
||||
#define FREEBSD32_SYS_uuidgen 392
|
||||
#define FREEBSD32_SYS_freebsd32_sendfile 393
|
||||
#define FREEBSD32_SYS_getfsstat 395
|
||||
#define FREEBSD32_SYS_statfs 396
|
||||
#define FREEBSD32_SYS_fstatfs 397
|
||||
#define FREEBSD32_SYS_fhstatfs 398
|
||||
#define FREEBSD32_SYS_freebsd11_getfsstat 395
|
||||
#define FREEBSD32_SYS_freebsd11_statfs 396
|
||||
#define FREEBSD32_SYS_freebsd11_fstatfs 397
|
||||
#define FREEBSD32_SYS_freebsd11_fhstatfs 398
|
||||
#define FREEBSD32_SYS_ksem_close 400
|
||||
#define FREEBSD32_SYS_ksem_post 401
|
||||
#define FREEBSD32_SYS_ksem_wait 402
|
||||
|
|
@ -398,12 +398,12 @@
|
|||
#define FREEBSD32_SYS_fchmodat 490
|
||||
#define FREEBSD32_SYS_fchownat 491
|
||||
#define FREEBSD32_SYS_freebsd32_fexecve 492
|
||||
#define FREEBSD32_SYS_freebsd32_fstatat 493
|
||||
#define FREEBSD32_SYS_freebsd11_freebsd32_fstatat 493
|
||||
#define FREEBSD32_SYS_freebsd32_futimesat 494
|
||||
#define FREEBSD32_SYS_linkat 495
|
||||
#define FREEBSD32_SYS_mkdirat 496
|
||||
#define FREEBSD32_SYS_mkfifoat 497
|
||||
#define FREEBSD32_SYS_mknodat 498
|
||||
#define FREEBSD32_SYS_freebsd11_freebsd32_mknodat 498
|
||||
#define FREEBSD32_SYS_openat 499
|
||||
#define FREEBSD32_SYS_readlinkat 500
|
||||
#define FREEBSD32_SYS_renameat 501
|
||||
|
|
@ -458,4 +458,13 @@
|
|||
#define FREEBSD32_SYS_numa_getaffinity 548
|
||||
#define FREEBSD32_SYS_numa_setaffinity 549
|
||||
#define FREEBSD32_SYS_fdatasync 550
|
||||
#define FREEBSD32_SYS_MAXSYSCALL 551
|
||||
#define FREEBSD32_SYS_freebsd32_fstat 551
|
||||
#define FREEBSD32_SYS_freebsd32_fstatat 552
|
||||
#define FREEBSD32_SYS_freebsd32_fhstat 553
|
||||
#define FREEBSD32_SYS_freebsd32_getdirentries 554
|
||||
#define FREEBSD32_SYS_statfs 555
|
||||
#define FREEBSD32_SYS_fstatfs 556
|
||||
#define FREEBSD32_SYS_getfsstat 557
|
||||
#define FREEBSD32_SYS_fhstatfs 558
|
||||
#define FREEBSD32_SYS_mknodat 559
|
||||
#define FREEBSD32_SYS_MAXSYSCALL 560
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ const char *freebsd32_syscallnames[] = {
|
|||
"obs_execv", /* 11 = obsolete execv */
|
||||
"chdir", /* 12 = chdir */
|
||||
"fchdir", /* 13 = fchdir */
|
||||
"mknod", /* 14 = mknod */
|
||||
"compat11.freebsd32_mknod", /* 14 = freebsd11 freebsd32_mknod */
|
||||
"chmod", /* 15 = chmod */
|
||||
"chown", /* 16 = chown */
|
||||
"break", /* 17 = break */
|
||||
|
|
@ -197,15 +197,15 @@ const char *freebsd32_syscallnames[] = {
|
|||
"#185", /* 185 = lfs_markv */
|
||||
"#186", /* 186 = lfs_segclean */
|
||||
"#187", /* 187 = lfs_segwait */
|
||||
"freebsd32_stat", /* 188 = freebsd32_stat */
|
||||
"freebsd32_fstat", /* 189 = freebsd32_fstat */
|
||||
"freebsd32_lstat", /* 190 = freebsd32_lstat */
|
||||
"compat11.freebsd32_stat", /* 188 = freebsd11 freebsd32_stat */
|
||||
"compat11.freebsd32_fstat", /* 189 = freebsd11 freebsd32_fstat */
|
||||
"compat11.freebsd32_lstat", /* 190 = freebsd11 freebsd32_lstat */
|
||||
"pathconf", /* 191 = pathconf */
|
||||
"fpathconf", /* 192 = fpathconf */
|
||||
"#193", /* 193 = nosys */
|
||||
"getrlimit", /* 194 = getrlimit */
|
||||
"setrlimit", /* 195 = setrlimit */
|
||||
"freebsd32_getdirentries", /* 196 = freebsd32_getdirentries */
|
||||
"compat11.freebsd32_getdirentries", /* 196 = freebsd11 freebsd32_getdirentries */
|
||||
"compat6.freebsd32_mmap", /* 197 = freebsd6 freebsd32_mmap */
|
||||
"__syscall", /* 198 = __syscall */
|
||||
"compat6.freebsd32_lseek", /* 199 = freebsd6 freebsd32_lseek */
|
||||
|
|
@ -281,15 +281,15 @@ const char *freebsd32_syscallnames[] = {
|
|||
"#269", /* 269 = nosys */
|
||||
"#270", /* 270 = nosys */
|
||||
"#271", /* 271 = nosys */
|
||||
"getdents", /* 272 = getdents */
|
||||
"compat11.freebsd32_getdents", /* 272 = freebsd11 freebsd32_getdents */
|
||||
"#273", /* 273 = nosys */
|
||||
"lchmod", /* 274 = lchmod */
|
||||
"netbsd_lchown", /* 275 = netbsd_lchown */
|
||||
"freebsd32_lutimes", /* 276 = freebsd32_lutimes */
|
||||
"netbsd_msync", /* 277 = netbsd_msync */
|
||||
"nstat", /* 278 = nstat */
|
||||
"nfstat", /* 279 = nfstat */
|
||||
"nlstat", /* 280 = nlstat */
|
||||
"compat11.nstat", /* 278 = freebsd11 nstat */
|
||||
"compat11.nfstat", /* 279 = freebsd11 nfstat */
|
||||
"compat11.nlstat", /* 280 = freebsd11 nlstat */
|
||||
"#281", /* 281 = nosys */
|
||||
"#282", /* 282 = nosys */
|
||||
"#283", /* 283 = nosys */
|
||||
|
|
@ -308,7 +308,7 @@ const char *freebsd32_syscallnames[] = {
|
|||
"#296", /* 296 = nosys */
|
||||
"compat4.freebsd32_fhstatfs", /* 297 = freebsd4 freebsd32_fhstatfs */
|
||||
"fhopen", /* 298 = fhopen */
|
||||
"fhstat", /* 299 = fhstat */
|
||||
"compat11.freebsd32_fhstat", /* 299 = freebsd11 freebsd32_fhstat */
|
||||
"modnext", /* 300 = modnext */
|
||||
"freebsd32_modstat", /* 301 = freebsd32_modstat */
|
||||
"modfnext", /* 302 = modfnext */
|
||||
|
|
@ -404,10 +404,10 @@ const char *freebsd32_syscallnames[] = {
|
|||
"uuidgen", /* 392 = uuidgen */
|
||||
"freebsd32_sendfile", /* 393 = freebsd32_sendfile */
|
||||
"#394", /* 394 = mac_syscall */
|
||||
"getfsstat", /* 395 = getfsstat */
|
||||
"statfs", /* 396 = statfs */
|
||||
"fstatfs", /* 397 = fstatfs */
|
||||
"fhstatfs", /* 398 = fhstatfs */
|
||||
"compat11.getfsstat", /* 395 = freebsd11 getfsstat */
|
||||
"compat11.statfs", /* 396 = freebsd11 statfs */
|
||||
"compat11.fstatfs", /* 397 = freebsd11 fstatfs */
|
||||
"compat11.fhstatfs", /* 398 = freebsd11 fhstatfs */
|
||||
"#399", /* 399 = nosys */
|
||||
"ksem_close", /* 400 = ksem_close */
|
||||
"ksem_post", /* 401 = ksem_post */
|
||||
|
|
@ -515,12 +515,12 @@ const char *freebsd32_syscallnames[] = {
|
|||
"fchmodat", /* 490 = fchmodat */
|
||||
"fchownat", /* 491 = fchownat */
|
||||
"freebsd32_fexecve", /* 492 = freebsd32_fexecve */
|
||||
"freebsd32_fstatat", /* 493 = freebsd32_fstatat */
|
||||
"compat11.freebsd32_fstatat", /* 493 = freebsd11 freebsd32_fstatat */
|
||||
"freebsd32_futimesat", /* 494 = freebsd32_futimesat */
|
||||
"linkat", /* 495 = linkat */
|
||||
"mkdirat", /* 496 = mkdirat */
|
||||
"mkfifoat", /* 497 = mkfifoat */
|
||||
"mknodat", /* 498 = mknodat */
|
||||
"compat11.freebsd32_mknodat", /* 498 = freebsd11 freebsd32_mknodat */
|
||||
"openat", /* 499 = openat */
|
||||
"readlinkat", /* 500 = readlinkat */
|
||||
"renameat", /* 501 = renameat */
|
||||
|
|
@ -583,4 +583,13 @@ const char *freebsd32_syscallnames[] = {
|
|||
"numa_getaffinity", /* 548 = numa_getaffinity */
|
||||
"numa_setaffinity", /* 549 = numa_setaffinity */
|
||||
"fdatasync", /* 550 = fdatasync */
|
||||
"freebsd32_fstat", /* 551 = freebsd32_fstat */
|
||||
"freebsd32_fstatat", /* 552 = freebsd32_fstatat */
|
||||
"freebsd32_fhstat", /* 553 = freebsd32_fhstat */
|
||||
"freebsd32_getdirentries", /* 554 = freebsd32_getdirentries */
|
||||
"statfs", /* 555 = statfs */
|
||||
"fstatfs", /* 556 = fstatfs */
|
||||
"getfsstat", /* 557 = getfsstat */
|
||||
"fhstatfs", /* 558 = fhstatfs */
|
||||
"mknodat", /* 559 = mknodat */
|
||||
};
|
||||
|
|
|
|||
|
|
@ -47,6 +47,12 @@
|
|||
#define compat10(n, name) 0, (sy_call_t *)nosys
|
||||
#endif
|
||||
|
||||
#ifdef COMPAT_FREEBSD11
|
||||
#define compat11(n, name) n, (sy_call_t *)__CONCAT(freebsd11_,name)
|
||||
#else
|
||||
#define compat11(n, name) 0, (sy_call_t *)nosys
|
||||
#endif
|
||||
|
||||
/* The casts are bogus but will do for now. */
|
||||
struct sysent freebsd32_sysent[] = {
|
||||
#if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__))
|
||||
|
|
@ -66,7 +72,7 @@ struct sysent freebsd32_sysent[] = {
|
|||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 11 = obsolete execv */
|
||||
{ AS(chdir_args), (sy_call_t *)sys_chdir, AUE_CHDIR, NULL, 0, 0, 0, SY_THR_STATIC }, /* 12 = chdir */
|
||||
{ AS(fchdir_args), (sy_call_t *)sys_fchdir, AUE_FCHDIR, NULL, 0, 0, 0, SY_THR_STATIC }, /* 13 = fchdir */
|
||||
{ AS(mknod_args), (sy_call_t *)sys_mknod, AUE_MKNOD, NULL, 0, 0, 0, SY_THR_STATIC }, /* 14 = mknod */
|
||||
{ compat11(AS(freebsd11_freebsd32_mknod_args),freebsd32_mknod), AUE_MKNOD, NULL, 0, 0, 0, SY_THR_STATIC }, /* 14 = freebsd11 freebsd32_mknod */
|
||||
{ AS(chmod_args), (sy_call_t *)sys_chmod, AUE_CHMOD, NULL, 0, 0, 0, SY_THR_STATIC }, /* 15 = chmod */
|
||||
{ AS(chown_args), (sy_call_t *)sys_chown, AUE_CHOWN, NULL, 0, 0, 0, SY_THR_STATIC }, /* 16 = chown */
|
||||
{ AS(obreak_args), (sy_call_t *)sys_obreak, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 17 = break */
|
||||
|
|
@ -240,15 +246,15 @@ struct sysent freebsd32_sysent[] = {
|
|||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 185 = lfs_markv */
|
||||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 186 = lfs_segclean */
|
||||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 187 = lfs_segwait */
|
||||
{ AS(freebsd32_stat_args), (sy_call_t *)freebsd32_stat, AUE_STAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 188 = freebsd32_stat */
|
||||
{ AS(freebsd32_fstat_args), (sy_call_t *)freebsd32_fstat, AUE_FSTAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 189 = freebsd32_fstat */
|
||||
{ AS(freebsd32_lstat_args), (sy_call_t *)freebsd32_lstat, AUE_LSTAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 190 = freebsd32_lstat */
|
||||
{ compat11(AS(freebsd11_freebsd32_stat_args),freebsd32_stat), AUE_STAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 188 = freebsd11 freebsd32_stat */
|
||||
{ compat11(AS(freebsd11_freebsd32_fstat_args),freebsd32_fstat), AUE_FSTAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 189 = freebsd11 freebsd32_fstat */
|
||||
{ compat11(AS(freebsd11_freebsd32_lstat_args),freebsd32_lstat), AUE_LSTAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 190 = freebsd11 freebsd32_lstat */
|
||||
{ AS(pathconf_args), (sy_call_t *)sys_pathconf, AUE_PATHCONF, NULL, 0, 0, 0, SY_THR_STATIC }, /* 191 = pathconf */
|
||||
{ AS(fpathconf_args), (sy_call_t *)sys_fpathconf, AUE_FPATHCONF, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 192 = fpathconf */
|
||||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 193 = nosys */
|
||||
{ AS(__getrlimit_args), (sy_call_t *)sys_getrlimit, AUE_GETRLIMIT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 194 = getrlimit */
|
||||
{ AS(__setrlimit_args), (sy_call_t *)sys_setrlimit, AUE_SETRLIMIT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 195 = setrlimit */
|
||||
{ AS(freebsd32_getdirentries_args), (sy_call_t *)freebsd32_getdirentries, AUE_GETDIRENTRIES, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 196 = freebsd32_getdirentries */
|
||||
{ compat11(AS(freebsd11_freebsd32_getdirentries_args),freebsd32_getdirentries), AUE_GETDIRENTRIES, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 196 = freebsd11 freebsd32_getdirentries */
|
||||
{ compat6(AS(freebsd6_freebsd32_mmap_args),freebsd32_mmap), AUE_MMAP, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 197 = freebsd6 freebsd32_mmap */
|
||||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 198 = __syscall */
|
||||
{ compat6(AS(freebsd6_freebsd32_lseek_args),freebsd32_lseek), AUE_LSEEK, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 199 = freebsd6 freebsd32_lseek */
|
||||
|
|
@ -324,15 +330,15 @@ struct sysent freebsd32_sysent[] = {
|
|||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 269 = nosys */
|
||||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 270 = nosys */
|
||||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 271 = nosys */
|
||||
{ AS(getdents_args), (sy_call_t *)sys_getdents, AUE_O_GETDENTS, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 272 = getdents */
|
||||
{ compat11(AS(freebsd11_freebsd32_getdents_args),freebsd32_getdents), AUE_O_GETDENTS, NULL, 0, 0, 0, SY_THR_STATIC }, /* 272 = freebsd11 freebsd32_getdents */
|
||||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 273 = nosys */
|
||||
{ AS(lchmod_args), (sy_call_t *)sys_lchmod, AUE_LCHMOD, NULL, 0, 0, 0, SY_THR_STATIC }, /* 274 = lchmod */
|
||||
{ AS(lchown_args), (sy_call_t *)sys_lchown, AUE_LCHOWN, NULL, 0, 0, 0, SY_THR_STATIC }, /* 275 = netbsd_lchown */
|
||||
{ AS(freebsd32_lutimes_args), (sy_call_t *)freebsd32_lutimes, AUE_LUTIMES, NULL, 0, 0, 0, SY_THR_STATIC }, /* 276 = freebsd32_lutimes */
|
||||
{ AS(msync_args), (sy_call_t *)sys_msync, AUE_MSYNC, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 277 = netbsd_msync */
|
||||
{ AS(nstat_args), (sy_call_t *)sys_nstat, AUE_STAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 278 = nstat */
|
||||
{ AS(nfstat_args), (sy_call_t *)sys_nfstat, AUE_FSTAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 279 = nfstat */
|
||||
{ AS(nlstat_args), (sy_call_t *)sys_nlstat, AUE_LSTAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 280 = nlstat */
|
||||
{ compat11(AS(freebsd11_nstat_args),nstat), AUE_STAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 278 = freebsd11 nstat */
|
||||
{ compat11(AS(freebsd11_nfstat_args),nfstat), AUE_FSTAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 279 = freebsd11 nfstat */
|
||||
{ compat11(AS(freebsd11_nlstat_args),nlstat), AUE_LSTAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 280 = freebsd11 nlstat */
|
||||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 281 = nosys */
|
||||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 282 = nosys */
|
||||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 283 = nosys */
|
||||
|
|
@ -351,7 +357,7 @@ struct sysent freebsd32_sysent[] = {
|
|||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 296 = nosys */
|
||||
{ compat4(AS(freebsd4_freebsd32_fhstatfs_args),freebsd32_fhstatfs), AUE_FHSTATFS, NULL, 0, 0, 0, SY_THR_STATIC }, /* 297 = freebsd4 freebsd32_fhstatfs */
|
||||
{ AS(fhopen_args), (sy_call_t *)sys_fhopen, AUE_FHOPEN, NULL, 0, 0, 0, SY_THR_STATIC }, /* 298 = fhopen */
|
||||
{ AS(fhstat_args), (sy_call_t *)sys_fhstat, AUE_FHSTAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 299 = fhstat */
|
||||
{ compat11(AS(freebsd11_freebsd32_fhstat_args),freebsd32_fhstat), AUE_FHSTAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 299 = freebsd11 freebsd32_fhstat */
|
||||
{ AS(modnext_args), (sy_call_t *)sys_modnext, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 300 = modnext */
|
||||
{ AS(freebsd32_modstat_args), (sy_call_t *)freebsd32_modstat, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 301 = freebsd32_modstat */
|
||||
{ AS(modfnext_args), (sy_call_t *)sys_modfnext, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 302 = modfnext */
|
||||
|
|
@ -447,10 +453,10 @@ struct sysent freebsd32_sysent[] = {
|
|||
{ AS(uuidgen_args), (sy_call_t *)sys_uuidgen, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 392 = uuidgen */
|
||||
{ AS(freebsd32_sendfile_args), (sy_call_t *)freebsd32_sendfile, AUE_SENDFILE, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 393 = freebsd32_sendfile */
|
||||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 394 = mac_syscall */
|
||||
{ AS(getfsstat_args), (sy_call_t *)sys_getfsstat, AUE_GETFSSTAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 395 = getfsstat */
|
||||
{ AS(statfs_args), (sy_call_t *)sys_statfs, AUE_STATFS, NULL, 0, 0, 0, SY_THR_STATIC }, /* 396 = statfs */
|
||||
{ AS(fstatfs_args), (sy_call_t *)sys_fstatfs, AUE_FSTATFS, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 397 = fstatfs */
|
||||
{ AS(fhstatfs_args), (sy_call_t *)sys_fhstatfs, AUE_FHSTATFS, NULL, 0, 0, 0, SY_THR_STATIC }, /* 398 = fhstatfs */
|
||||
{ compat11(AS(freebsd11_getfsstat_args),getfsstat), AUE_GETFSSTAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 395 = freebsd11 getfsstat */
|
||||
{ compat11(AS(freebsd11_statfs_args),statfs), AUE_STATFS, NULL, 0, 0, 0, SY_THR_STATIC }, /* 396 = freebsd11 statfs */
|
||||
{ compat11(AS(freebsd11_fstatfs_args),fstatfs), AUE_FSTATFS, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 397 = freebsd11 fstatfs */
|
||||
{ compat11(AS(freebsd11_fhstatfs_args),fhstatfs), AUE_FHSTATFS, NULL, 0, 0, 0, SY_THR_STATIC }, /* 398 = freebsd11 fhstatfs */
|
||||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 399 = nosys */
|
||||
{ AS(ksem_close_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 400 = ksem_close */
|
||||
{ AS(ksem_post_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 401 = ksem_post */
|
||||
|
|
@ -558,12 +564,12 @@ struct sysent freebsd32_sysent[] = {
|
|||
{ AS(fchmodat_args), (sy_call_t *)sys_fchmodat, AUE_FCHMODAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 490 = fchmodat */
|
||||
{ AS(fchownat_args), (sy_call_t *)sys_fchownat, AUE_FCHOWNAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 491 = fchownat */
|
||||
{ AS(freebsd32_fexecve_args), (sy_call_t *)freebsd32_fexecve, AUE_FEXECVE, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 492 = freebsd32_fexecve */
|
||||
{ AS(freebsd32_fstatat_args), (sy_call_t *)freebsd32_fstatat, AUE_FSTATAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 493 = freebsd32_fstatat */
|
||||
{ compat11(AS(freebsd11_freebsd32_fstatat_args),freebsd32_fstatat), AUE_FSTATAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 493 = freebsd11 freebsd32_fstatat */
|
||||
{ AS(freebsd32_futimesat_args), (sy_call_t *)freebsd32_futimesat, AUE_FUTIMESAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 494 = freebsd32_futimesat */
|
||||
{ AS(linkat_args), (sy_call_t *)sys_linkat, AUE_LINKAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 495 = linkat */
|
||||
{ AS(mkdirat_args), (sy_call_t *)sys_mkdirat, AUE_MKDIRAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 496 = mkdirat */
|
||||
{ AS(mkfifoat_args), (sy_call_t *)sys_mkfifoat, AUE_MKFIFOAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 497 = mkfifoat */
|
||||
{ AS(mknodat_args), (sy_call_t *)sys_mknodat, AUE_MKNODAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 498 = mknodat */
|
||||
{ compat11(AS(freebsd11_freebsd32_mknodat_args),freebsd32_mknodat), AUE_MKNODAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 498 = freebsd11 freebsd32_mknodat */
|
||||
{ AS(openat_args), (sy_call_t *)sys_openat, AUE_OPENAT_RWTC, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 499 = openat */
|
||||
{ AS(readlinkat_args), (sy_call_t *)sys_readlinkat, AUE_READLINKAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 500 = readlinkat */
|
||||
{ AS(renameat_args), (sy_call_t *)sys_renameat, AUE_RENAMEAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 501 = renameat */
|
||||
|
|
@ -626,4 +632,13 @@ struct sysent freebsd32_sysent[] = {
|
|||
{ AS(numa_getaffinity_args), (sy_call_t *)sys_numa_getaffinity, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 548 = numa_getaffinity */
|
||||
{ AS(numa_setaffinity_args), (sy_call_t *)sys_numa_setaffinity, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 549 = numa_setaffinity */
|
||||
{ AS(fdatasync_args), (sy_call_t *)sys_fdatasync, AUE_FSYNC, NULL, 0, 0, 0, SY_THR_STATIC }, /* 550 = fdatasync */
|
||||
{ AS(freebsd32_fstat_args), (sy_call_t *)freebsd32_fstat, AUE_FSTAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 551 = freebsd32_fstat */
|
||||
{ AS(freebsd32_fstatat_args), (sy_call_t *)freebsd32_fstatat, AUE_FSTATAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 552 = freebsd32_fstatat */
|
||||
{ AS(freebsd32_fhstat_args), (sy_call_t *)freebsd32_fhstat, AUE_FHSTAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 553 = freebsd32_fhstat */
|
||||
{ AS(freebsd32_getdirentries_args), (sy_call_t *)freebsd32_getdirentries, AUE_GETDIRENTRIES, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 554 = freebsd32_getdirentries */
|
||||
{ AS(statfs_args), (sy_call_t *)sys_statfs, AUE_STATFS, NULL, 0, 0, 0, SY_THR_STATIC }, /* 555 = statfs */
|
||||
{ AS(fstatfs_args), (sy_call_t *)sys_fstatfs, AUE_FSTATFS, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 556 = fstatfs */
|
||||
{ AS(getfsstat_args), (sy_call_t *)sys_getfsstat, AUE_GETFSSTAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 557 = getfsstat */
|
||||
{ AS(fhstatfs_args), (sy_call_t *)sys_fhstatfs, AUE_FHSTATFS, NULL, 0, 0, 0, SY_THR_STATIC }, /* 558 = fhstatfs */
|
||||
{ AS(mknodat_args), (sy_call_t *)sys_mknodat, AUE_MKNODAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 559 = mknodat */
|
||||
};
|
||||
|
|
|
|||
|
|
@ -104,15 +104,6 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
|||
*n_args = 1;
|
||||
break;
|
||||
}
|
||||
/* mknod */
|
||||
case 14: {
|
||||
struct mknod_args *p = params;
|
||||
uarg[0] = (intptr_t) p->path; /* char * */
|
||||
iarg[1] = p->mode; /* int */
|
||||
iarg[2] = p->dev; /* int */
|
||||
*n_args = 3;
|
||||
break;
|
||||
}
|
||||
/* chmod */
|
||||
case 15: {
|
||||
struct chmod_args *p = params;
|
||||
|
|
@ -914,30 +905,6 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
|||
*n_args = 1;
|
||||
break;
|
||||
}
|
||||
/* freebsd32_stat */
|
||||
case 188: {
|
||||
struct freebsd32_stat_args *p = params;
|
||||
uarg[0] = (intptr_t) p->path; /* char * */
|
||||
uarg[1] = (intptr_t) p->ub; /* struct stat32 * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* freebsd32_fstat */
|
||||
case 189: {
|
||||
struct freebsd32_fstat_args *p = params;
|
||||
iarg[0] = p->fd; /* int */
|
||||
uarg[1] = (intptr_t) p->ub; /* struct stat32 * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* freebsd32_lstat */
|
||||
case 190: {
|
||||
struct freebsd32_lstat_args *p = params;
|
||||
uarg[0] = (intptr_t) p->path; /* char * */
|
||||
uarg[1] = (intptr_t) p->ub; /* struct stat32 * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* pathconf */
|
||||
case 191: {
|
||||
struct pathconf_args *p = params;
|
||||
|
|
@ -970,16 +937,6 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
|||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* freebsd32_getdirentries */
|
||||
case 196: {
|
||||
struct freebsd32_getdirentries_args *p = params;
|
||||
iarg[0] = p->fd; /* int */
|
||||
uarg[1] = (intptr_t) p->buf; /* char * */
|
||||
uarg[2] = p->count; /* u_int */
|
||||
uarg[3] = (intptr_t) p->basep; /* int32_t * */
|
||||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
/* nosys */
|
||||
case 198: {
|
||||
*n_args = 0;
|
||||
|
|
@ -1334,15 +1291,6 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
|||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
/* getdents */
|
||||
case 272: {
|
||||
struct getdents_args *p = params;
|
||||
iarg[0] = p->fd; /* int */
|
||||
uarg[1] = (intptr_t) p->buf; /* char * */
|
||||
uarg[2] = p->count; /* size_t */
|
||||
*n_args = 3;
|
||||
break;
|
||||
}
|
||||
/* lchmod */
|
||||
case 274: {
|
||||
struct lchmod_args *p = params;
|
||||
|
|
@ -1377,30 +1325,6 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
|||
*n_args = 3;
|
||||
break;
|
||||
}
|
||||
/* nstat */
|
||||
case 278: {
|
||||
struct nstat_args *p = params;
|
||||
uarg[0] = (intptr_t) p->path; /* char * */
|
||||
uarg[1] = (intptr_t) p->ub; /* struct nstat * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* nfstat */
|
||||
case 279: {
|
||||
struct nfstat_args *p = params;
|
||||
iarg[0] = p->fd; /* int */
|
||||
uarg[1] = (intptr_t) p->sb; /* struct nstat * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* nlstat */
|
||||
case 280: {
|
||||
struct nlstat_args *p = params;
|
||||
uarg[0] = (intptr_t) p->path; /* char * */
|
||||
uarg[1] = (intptr_t) p->ub; /* struct nstat * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* freebsd32_preadv */
|
||||
case 289: {
|
||||
struct freebsd32_preadv_args *p = params;
|
||||
|
|
@ -1431,14 +1355,6 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
|||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* fhstat */
|
||||
case 299: {
|
||||
struct fhstat_args *p = params;
|
||||
uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
|
||||
uarg[1] = (intptr_t) p->sb; /* struct stat * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* modnext */
|
||||
case 300: {
|
||||
struct modnext_args *p = params;
|
||||
|
|
@ -1965,39 +1881,6 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
|||
*n_args = 8;
|
||||
break;
|
||||
}
|
||||
/* getfsstat */
|
||||
case 395: {
|
||||
struct getfsstat_args *p = params;
|
||||
uarg[0] = (intptr_t) p->buf; /* struct statfs * */
|
||||
iarg[1] = p->bufsize; /* long */
|
||||
iarg[2] = p->mode; /* int */
|
||||
*n_args = 3;
|
||||
break;
|
||||
}
|
||||
/* statfs */
|
||||
case 396: {
|
||||
struct statfs_args *p = params;
|
||||
uarg[0] = (intptr_t) p->path; /* char * */
|
||||
uarg[1] = (intptr_t) p->buf; /* struct statfs * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* fstatfs */
|
||||
case 397: {
|
||||
struct fstatfs_args *p = params;
|
||||
iarg[0] = p->fd; /* int */
|
||||
uarg[1] = (intptr_t) p->buf; /* struct statfs * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* fhstatfs */
|
||||
case 398: {
|
||||
struct fhstatfs_args *p = params;
|
||||
uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
|
||||
uarg[1] = (intptr_t) p->buf; /* struct statfs * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* ksem_close */
|
||||
case 400: {
|
||||
struct ksem_close_args *p = params;
|
||||
|
|
@ -2767,16 +2650,6 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
|||
*n_args = 3;
|
||||
break;
|
||||
}
|
||||
/* freebsd32_fstatat */
|
||||
case 493: {
|
||||
struct freebsd32_fstatat_args *p = params;
|
||||
iarg[0] = p->fd; /* int */
|
||||
uarg[1] = (intptr_t) p->path; /* char * */
|
||||
uarg[2] = (intptr_t) p->buf; /* struct stat * */
|
||||
iarg[3] = p->flag; /* int */
|
||||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
/* freebsd32_futimesat */
|
||||
case 494: {
|
||||
struct freebsd32_futimesat_args *p = params;
|
||||
|
|
@ -2815,16 +2688,6 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
|||
*n_args = 3;
|
||||
break;
|
||||
}
|
||||
/* mknodat */
|
||||
case 498: {
|
||||
struct mknodat_args *p = params;
|
||||
iarg[0] = p->fd; /* int */
|
||||
uarg[1] = (intptr_t) p->path; /* char * */
|
||||
iarg[2] = p->mode; /* mode_t */
|
||||
iarg[3] = p->dev; /* dev_t */
|
||||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
/* openat */
|
||||
case 499: {
|
||||
struct openat_args *p = params;
|
||||
|
|
@ -3324,6 +3187,85 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
|||
*n_args = 1;
|
||||
break;
|
||||
}
|
||||
/* freebsd32_fstat */
|
||||
case 551: {
|
||||
struct freebsd32_fstat_args *p = params;
|
||||
iarg[0] = p->fd; /* int */
|
||||
uarg[1] = (intptr_t) p->ub; /* struct stat32 * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* freebsd32_fstatat */
|
||||
case 552: {
|
||||
struct freebsd32_fstatat_args *p = params;
|
||||
iarg[0] = p->fd; /* int */
|
||||
uarg[1] = (intptr_t) p->path; /* char * */
|
||||
uarg[2] = (intptr_t) p->buf; /* struct stat32 * */
|
||||
iarg[3] = p->flag; /* int */
|
||||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
/* freebsd32_fhstat */
|
||||
case 553: {
|
||||
struct freebsd32_fhstat_args *p = params;
|
||||
uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
|
||||
uarg[1] = (intptr_t) p->sb; /* struct stat32 * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* freebsd32_getdirentries */
|
||||
case 554: {
|
||||
struct freebsd32_getdirentries_args *p = params;
|
||||
iarg[0] = p->fd; /* int */
|
||||
uarg[1] = (intptr_t) p->buf; /* char * */
|
||||
uarg[2] = p->count; /* size_t */
|
||||
uarg[3] = (intptr_t) p->basep; /* int32_t * */
|
||||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
/* statfs */
|
||||
case 555: {
|
||||
struct statfs_args *p = params;
|
||||
uarg[0] = (intptr_t) p->path; /* char * */
|
||||
uarg[1] = (intptr_t) p->buf; /* struct statfs32 * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* fstatfs */
|
||||
case 556: {
|
||||
struct fstatfs_args *p = params;
|
||||
iarg[0] = p->fd; /* int */
|
||||
uarg[1] = (intptr_t) p->buf; /* struct statfs32 * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* getfsstat */
|
||||
case 557: {
|
||||
struct getfsstat_args *p = params;
|
||||
uarg[0] = (intptr_t) p->buf; /* struct statfs32 * */
|
||||
iarg[1] = p->bufsize; /* long */
|
||||
iarg[2] = p->mode; /* int */
|
||||
*n_args = 3;
|
||||
break;
|
||||
}
|
||||
/* fhstatfs */
|
||||
case 558: {
|
||||
struct fhstatfs_args *p = params;
|
||||
uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
|
||||
uarg[1] = (intptr_t) p->buf; /* struct statfs32 * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* mknodat */
|
||||
case 559: {
|
||||
struct mknodat_args *p = params;
|
||||
iarg[0] = p->fd; /* int */
|
||||
uarg[1] = (intptr_t) p->path; /* char * */
|
||||
iarg[2] = p->mode; /* mode_t */
|
||||
iarg[3] = p->dev; /* dev_t */
|
||||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
*n_args = 0;
|
||||
break;
|
||||
|
|
@ -3473,22 +3415,6 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
break;
|
||||
};
|
||||
break;
|
||||
/* mknod */
|
||||
case 14:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "userland char *";
|
||||
break;
|
||||
case 1:
|
||||
p = "int";
|
||||
break;
|
||||
case 2:
|
||||
p = "int";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* chmod */
|
||||
case 15:
|
||||
switch(ndx) {
|
||||
|
|
@ -4792,45 +4718,6 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
break;
|
||||
};
|
||||
break;
|
||||
/* freebsd32_stat */
|
||||
case 188:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "userland char *";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct stat32 *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* freebsd32_fstat */
|
||||
case 189:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "int";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct stat32 *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* freebsd32_lstat */
|
||||
case 190:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "userland char *";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct stat32 *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* pathconf */
|
||||
case 191:
|
||||
switch(ndx) {
|
||||
|
|
@ -4883,25 +4770,6 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
break;
|
||||
};
|
||||
break;
|
||||
/* freebsd32_getdirentries */
|
||||
case 196:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "int";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland char *";
|
||||
break;
|
||||
case 2:
|
||||
p = "u_int";
|
||||
break;
|
||||
case 3:
|
||||
p = "userland int32_t *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* nosys */
|
||||
case 198:
|
||||
break;
|
||||
|
|
@ -5435,22 +5303,6 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
break;
|
||||
};
|
||||
break;
|
||||
/* getdents */
|
||||
case 272:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "int";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland char *";
|
||||
break;
|
||||
case 2:
|
||||
p = "size_t";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* lchmod */
|
||||
case 274:
|
||||
switch(ndx) {
|
||||
|
|
@ -5509,45 +5361,6 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
break;
|
||||
};
|
||||
break;
|
||||
/* nstat */
|
||||
case 278:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "userland char *";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct nstat *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* nfstat */
|
||||
case 279:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "int";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct nstat *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* nlstat */
|
||||
case 280:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "userland char *";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct nstat *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* freebsd32_preadv */
|
||||
case 289:
|
||||
switch(ndx) {
|
||||
|
|
@ -5605,19 +5418,6 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
break;
|
||||
};
|
||||
break;
|
||||
/* fhstat */
|
||||
case 299:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "userland const struct fhandle *";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct stat *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* modnext */
|
||||
case 300:
|
||||
switch(ndx) {
|
||||
|
|
@ -6488,61 +6288,6 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
break;
|
||||
};
|
||||
break;
|
||||
/* getfsstat */
|
||||
case 395:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "userland struct statfs *";
|
||||
break;
|
||||
case 1:
|
||||
p = "long";
|
||||
break;
|
||||
case 2:
|
||||
p = "int";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* statfs */
|
||||
case 396:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "userland char *";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct statfs *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* fstatfs */
|
||||
case 397:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "int";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct statfs *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* fhstatfs */
|
||||
case 398:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "userland const struct fhandle *";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct statfs *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* ksem_close */
|
||||
case 400:
|
||||
switch(ndx) {
|
||||
|
|
@ -7914,25 +7659,6 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
break;
|
||||
};
|
||||
break;
|
||||
/* freebsd32_fstatat */
|
||||
case 493:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "int";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland char *";
|
||||
break;
|
||||
case 2:
|
||||
p = "userland struct stat *";
|
||||
break;
|
||||
case 3:
|
||||
p = "int";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* freebsd32_futimesat */
|
||||
case 494:
|
||||
switch(ndx) {
|
||||
|
|
@ -8003,25 +7729,6 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
break;
|
||||
};
|
||||
break;
|
||||
/* mknodat */
|
||||
case 498:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "int";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland char *";
|
||||
break;
|
||||
case 2:
|
||||
p = "mode_t";
|
||||
break;
|
||||
case 3:
|
||||
p = "dev_t";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* openat */
|
||||
case 499:
|
||||
switch(ndx) {
|
||||
|
|
@ -8923,6 +8630,144 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
break;
|
||||
};
|
||||
break;
|
||||
/* freebsd32_fstat */
|
||||
case 551:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "int";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct stat32 *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* freebsd32_fstatat */
|
||||
case 552:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "int";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland char *";
|
||||
break;
|
||||
case 2:
|
||||
p = "userland struct stat32 *";
|
||||
break;
|
||||
case 3:
|
||||
p = "int";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* freebsd32_fhstat */
|
||||
case 553:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "userland const struct fhandle *";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct stat32 *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* freebsd32_getdirentries */
|
||||
case 554:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "int";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland char *";
|
||||
break;
|
||||
case 2:
|
||||
p = "size_t";
|
||||
break;
|
||||
case 3:
|
||||
p = "userland int32_t *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* statfs */
|
||||
case 555:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "userland char *";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct statfs32 *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* fstatfs */
|
||||
case 556:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "int";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct statfs32 *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* getfsstat */
|
||||
case 557:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "userland struct statfs32 *";
|
||||
break;
|
||||
case 1:
|
||||
p = "long";
|
||||
break;
|
||||
case 2:
|
||||
p = "int";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* fhstatfs */
|
||||
case 558:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "userland const struct fhandle *";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct statfs32 *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* mknodat */
|
||||
case 559:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "int";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland char *";
|
||||
break;
|
||||
case 2:
|
||||
p = "mode_t";
|
||||
break;
|
||||
case 3:
|
||||
p = "dev_t";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
|
|
@ -8991,11 +8836,6 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* mknod */
|
||||
case 14:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* chmod */
|
||||
case 15:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
|
|
@ -9458,21 +9298,6 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* freebsd32_stat */
|
||||
case 188:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* freebsd32_fstat */
|
||||
case 189:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* freebsd32_lstat */
|
||||
case 190:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* pathconf */
|
||||
case 191:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
|
|
@ -9493,11 +9318,6 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* freebsd32_getdirentries */
|
||||
case 196:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* nosys */
|
||||
case 198:
|
||||
/* freebsd32_sysctl */
|
||||
|
|
@ -9697,11 +9517,6 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* getdents */
|
||||
case 272:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* lchmod */
|
||||
case 274:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
|
|
@ -9722,21 +9537,6 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* nstat */
|
||||
case 278:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* nfstat */
|
||||
case 279:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* nlstat */
|
||||
case 280:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* freebsd32_preadv */
|
||||
case 289:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
|
|
@ -9752,11 +9552,6 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* fhstat */
|
||||
case 299:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* modnext */
|
||||
case 300:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
|
|
@ -10065,26 +9860,6 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* getfsstat */
|
||||
case 395:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* statfs */
|
||||
case 396:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* fstatfs */
|
||||
case 397:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* fhstatfs */
|
||||
case 398:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* ksem_close */
|
||||
case 400:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
|
|
@ -10511,11 +10286,6 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* freebsd32_fstatat */
|
||||
case 493:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* freebsd32_futimesat */
|
||||
case 494:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
|
|
@ -10536,11 +10306,6 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* mknodat */
|
||||
case 498:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* openat */
|
||||
case 499:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
|
|
@ -10809,6 +10574,51 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* freebsd32_fstat */
|
||||
case 551:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* freebsd32_fstatat */
|
||||
case 552:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* freebsd32_fhstat */
|
||||
case 553:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* freebsd32_getdirentries */
|
||||
case 554:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "ssize_t";
|
||||
break;
|
||||
/* statfs */
|
||||
case 555:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* fstatfs */
|
||||
case 556:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* getfsstat */
|
||||
case 557:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* fhstatfs */
|
||||
case 558:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* mknodat */
|
||||
case 559:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -43,6 +43,12 @@
|
|||
#define compat10(n, name) 0, (sy_call_t *)nosys
|
||||
#endif
|
||||
|
||||
#ifdef COMPAT_FREEBSD11
|
||||
#define compat11(n, name) n, (sy_call_t *)__CONCAT(freebsd11_,name)
|
||||
#else
|
||||
#define compat11(n, name) 0, (sy_call_t *)nosys
|
||||
#endif
|
||||
|
||||
/* The casts are bogus but will do for now. */
|
||||
struct sysent sysent[] = {
|
||||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 0 = syscall */
|
||||
|
|
@ -59,7 +65,7 @@ struct sysent sysent[] = {
|
|||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 11 = obsolete execv */
|
||||
{ AS(chdir_args), (sy_call_t *)sys_chdir, AUE_CHDIR, NULL, 0, 0, 0, SY_THR_STATIC }, /* 12 = chdir */
|
||||
{ AS(fchdir_args), (sy_call_t *)sys_fchdir, AUE_FCHDIR, NULL, 0, 0, 0, SY_THR_STATIC }, /* 13 = fchdir */
|
||||
{ AS(mknod_args), (sy_call_t *)sys_mknod, AUE_MKNOD, NULL, 0, 0, 0, SY_THR_STATIC }, /* 14 = mknod */
|
||||
{ compat11(AS(freebsd11_mknod_args),mknod), AUE_MKNOD, NULL, 0, 0, 0, SY_THR_STATIC }, /* 14 = freebsd11 mknod */
|
||||
{ AS(chmod_args), (sy_call_t *)sys_chmod, AUE_CHMOD, NULL, 0, 0, 0, SY_THR_STATIC }, /* 15 = chmod */
|
||||
{ AS(chown_args), (sy_call_t *)sys_chown, AUE_CHOWN, NULL, 0, 0, 0, SY_THR_STATIC }, /* 16 = chown */
|
||||
{ AS(obreak_args), (sy_call_t *)sys_obreak, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 17 = break */
|
||||
|
|
@ -233,15 +239,15 @@ struct sysent sysent[] = {
|
|||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 185 = lfs_markv */
|
||||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 186 = lfs_segclean */
|
||||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 187 = lfs_segwait */
|
||||
{ AS(stat_args), (sy_call_t *)sys_stat, AUE_STAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 188 = stat */
|
||||
{ AS(fstat_args), (sy_call_t *)sys_fstat, AUE_FSTAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 189 = fstat */
|
||||
{ AS(lstat_args), (sy_call_t *)sys_lstat, AUE_LSTAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 190 = lstat */
|
||||
{ compat11(AS(freebsd11_stat_args),stat), AUE_STAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 188 = freebsd11 stat */
|
||||
{ compat11(AS(freebsd11_fstat_args),fstat), AUE_FSTAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 189 = freebsd11 fstat */
|
||||
{ compat11(AS(freebsd11_lstat_args),lstat), AUE_LSTAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 190 = freebsd11 lstat */
|
||||
{ AS(pathconf_args), (sy_call_t *)sys_pathconf, AUE_PATHCONF, NULL, 0, 0, 0, SY_THR_STATIC }, /* 191 = pathconf */
|
||||
{ AS(fpathconf_args), (sy_call_t *)sys_fpathconf, AUE_FPATHCONF, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 192 = fpathconf */
|
||||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 193 = nosys */
|
||||
{ AS(__getrlimit_args), (sy_call_t *)sys_getrlimit, AUE_GETRLIMIT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 194 = getrlimit */
|
||||
{ AS(__setrlimit_args), (sy_call_t *)sys_setrlimit, AUE_SETRLIMIT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 195 = setrlimit */
|
||||
{ AS(getdirentries_args), (sy_call_t *)sys_getdirentries, AUE_GETDIRENTRIES, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 196 = getdirentries */
|
||||
{ compat11(AS(freebsd11_getdirentries_args),getdirentries), AUE_GETDIRENTRIES, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 196 = freebsd11 getdirentries */
|
||||
{ compat6(AS(freebsd6_mmap_args),mmap), AUE_MMAP, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 197 = freebsd6 mmap */
|
||||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 198 = __syscall */
|
||||
{ compat6(AS(freebsd6_lseek_args),lseek), AUE_LSEEK, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 199 = freebsd6 lseek */
|
||||
|
|
@ -317,15 +323,15 @@ struct sysent sysent[] = {
|
|||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 269 = nosys */
|
||||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 270 = nosys */
|
||||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 271 = nosys */
|
||||
{ AS(getdents_args), (sy_call_t *)sys_getdents, AUE_O_GETDENTS, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 272 = getdents */
|
||||
{ compat11(AS(freebsd11_getdents_args),getdents), AUE_O_GETDENTS, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 272 = freebsd11 getdents */
|
||||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 273 = nosys */
|
||||
{ AS(lchmod_args), (sy_call_t *)sys_lchmod, AUE_LCHMOD, NULL, 0, 0, 0, SY_THR_STATIC }, /* 274 = lchmod */
|
||||
{ AS(lchown_args), (sy_call_t *)sys_lchown, AUE_LCHOWN, NULL, 0, 0, 0, SY_THR_STATIC }, /* 275 = netbsd_lchown */
|
||||
{ AS(lutimes_args), (sy_call_t *)sys_lutimes, AUE_LUTIMES, NULL, 0, 0, 0, SY_THR_STATIC }, /* 276 = lutimes */
|
||||
{ AS(msync_args), (sy_call_t *)sys_msync, AUE_MSYNC, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 277 = netbsd_msync */
|
||||
{ AS(nstat_args), (sy_call_t *)sys_nstat, AUE_STAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 278 = nstat */
|
||||
{ AS(nfstat_args), (sy_call_t *)sys_nfstat, AUE_FSTAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 279 = nfstat */
|
||||
{ AS(nlstat_args), (sy_call_t *)sys_nlstat, AUE_LSTAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 280 = nlstat */
|
||||
{ compat11(AS(freebsd11_nstat_args),nstat), AUE_STAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 278 = freebsd11 nstat */
|
||||
{ compat11(AS(freebsd11_nfstat_args),nfstat), AUE_FSTAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 279 = freebsd11 nfstat */
|
||||
{ compat11(AS(freebsd11_nlstat_args),nlstat), AUE_LSTAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 280 = freebsd11 nlstat */
|
||||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 281 = nosys */
|
||||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 282 = nosys */
|
||||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 283 = nosys */
|
||||
|
|
@ -344,7 +350,7 @@ struct sysent sysent[] = {
|
|||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 296 = nosys */
|
||||
{ compat4(AS(freebsd4_fhstatfs_args),fhstatfs), AUE_FHSTATFS, NULL, 0, 0, 0, SY_THR_STATIC }, /* 297 = freebsd4 fhstatfs */
|
||||
{ AS(fhopen_args), (sy_call_t *)sys_fhopen, AUE_FHOPEN, NULL, 0, 0, 0, SY_THR_STATIC }, /* 298 = fhopen */
|
||||
{ AS(fhstat_args), (sy_call_t *)sys_fhstat, AUE_FHSTAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 299 = fhstat */
|
||||
{ compat11(AS(freebsd11_fhstat_args),fhstat), AUE_FHSTAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 299 = freebsd11 fhstat */
|
||||
{ AS(modnext_args), (sy_call_t *)sys_modnext, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 300 = modnext */
|
||||
{ AS(modstat_args), (sy_call_t *)sys_modstat, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 301 = modstat */
|
||||
{ AS(modfnext_args), (sy_call_t *)sys_modfnext, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 302 = modfnext */
|
||||
|
|
@ -440,10 +446,10 @@ struct sysent sysent[] = {
|
|||
{ AS(uuidgen_args), (sy_call_t *)sys_uuidgen, AUE_NULL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 392 = uuidgen */
|
||||
{ AS(sendfile_args), (sy_call_t *)sys_sendfile, AUE_SENDFILE, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 393 = sendfile */
|
||||
{ AS(mac_syscall_args), (sy_call_t *)sys_mac_syscall, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 394 = mac_syscall */
|
||||
{ AS(getfsstat_args), (sy_call_t *)sys_getfsstat, AUE_GETFSSTAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 395 = getfsstat */
|
||||
{ AS(statfs_args), (sy_call_t *)sys_statfs, AUE_STATFS, NULL, 0, 0, 0, SY_THR_STATIC }, /* 396 = statfs */
|
||||
{ AS(fstatfs_args), (sy_call_t *)sys_fstatfs, AUE_FSTATFS, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 397 = fstatfs */
|
||||
{ AS(fhstatfs_args), (sy_call_t *)sys_fhstatfs, AUE_FHSTATFS, NULL, 0, 0, 0, SY_THR_STATIC }, /* 398 = fhstatfs */
|
||||
{ compat11(AS(freebsd11_getfsstat_args),getfsstat), AUE_GETFSSTAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 395 = freebsd11 getfsstat */
|
||||
{ compat11(AS(freebsd11_statfs_args),statfs), AUE_STATFS, NULL, 0, 0, 0, SY_THR_STATIC }, /* 396 = freebsd11 statfs */
|
||||
{ compat11(AS(freebsd11_fstatfs_args),fstatfs), AUE_FSTATFS, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 397 = freebsd11 fstatfs */
|
||||
{ compat11(AS(freebsd11_fhstatfs_args),fhstatfs), AUE_FHSTATFS, NULL, 0, 0, 0, SY_THR_STATIC }, /* 398 = freebsd11 fhstatfs */
|
||||
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 399 = nosys */
|
||||
{ AS(ksem_close_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 400 = ksem_close */
|
||||
{ AS(ksem_post_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 401 = ksem_post */
|
||||
|
|
@ -538,12 +544,12 @@ struct sysent sysent[] = {
|
|||
{ AS(fchmodat_args), (sy_call_t *)sys_fchmodat, AUE_FCHMODAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 490 = fchmodat */
|
||||
{ AS(fchownat_args), (sy_call_t *)sys_fchownat, AUE_FCHOWNAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 491 = fchownat */
|
||||
{ AS(fexecve_args), (sy_call_t *)sys_fexecve, AUE_FEXECVE, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 492 = fexecve */
|
||||
{ AS(fstatat_args), (sy_call_t *)sys_fstatat, AUE_FSTATAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 493 = fstatat */
|
||||
{ compat11(AS(freebsd11_fstatat_args),fstatat), AUE_FSTATAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 493 = freebsd11 fstatat */
|
||||
{ AS(futimesat_args), (sy_call_t *)sys_futimesat, AUE_FUTIMESAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 494 = futimesat */
|
||||
{ AS(linkat_args), (sy_call_t *)sys_linkat, AUE_LINKAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 495 = linkat */
|
||||
{ AS(mkdirat_args), (sy_call_t *)sys_mkdirat, AUE_MKDIRAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 496 = mkdirat */
|
||||
{ AS(mkfifoat_args), (sy_call_t *)sys_mkfifoat, AUE_MKFIFOAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 497 = mkfifoat */
|
||||
{ AS(mknodat_args), (sy_call_t *)sys_mknodat, AUE_MKNODAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 498 = mknodat */
|
||||
{ compat11(AS(freebsd11_mknodat_args),mknodat), AUE_MKNODAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 498 = freebsd11 mknodat */
|
||||
{ AS(openat_args), (sy_call_t *)sys_openat, AUE_OPENAT_RWTC, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 499 = openat */
|
||||
{ AS(readlinkat_args), (sy_call_t *)sys_readlinkat, AUE_READLINKAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 500 = readlinkat */
|
||||
{ AS(renameat_args), (sy_call_t *)sys_renameat, AUE_RENAMEAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 501 = renameat */
|
||||
|
|
@ -596,4 +602,13 @@ struct sysent sysent[] = {
|
|||
{ AS(numa_getaffinity_args), (sy_call_t *)sys_numa_getaffinity, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 548 = numa_getaffinity */
|
||||
{ AS(numa_setaffinity_args), (sy_call_t *)sys_numa_setaffinity, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 549 = numa_setaffinity */
|
||||
{ AS(fdatasync_args), (sy_call_t *)sys_fdatasync, AUE_FSYNC, NULL, 0, 0, 0, SY_THR_STATIC }, /* 550 = fdatasync */
|
||||
{ AS(fstat_args), (sy_call_t *)sys_fstat, AUE_FSTAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 551 = fstat */
|
||||
{ AS(fstatat_args), (sy_call_t *)sys_fstatat, AUE_FSTATAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 552 = fstatat */
|
||||
{ AS(fhstat_args), (sy_call_t *)sys_fhstat, AUE_FHSTAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 553 = fhstat */
|
||||
{ AS(getdirentries_args), (sy_call_t *)sys_getdirentries, AUE_GETDIRENTRIES, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 554 = getdirentries */
|
||||
{ AS(statfs_args), (sy_call_t *)sys_statfs, AUE_STATFS, NULL, 0, 0, 0, SY_THR_STATIC }, /* 555 = statfs */
|
||||
{ AS(fstatfs_args), (sy_call_t *)sys_fstatfs, AUE_FSTATFS, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 556 = fstatfs */
|
||||
{ AS(getfsstat_args), (sy_call_t *)sys_getfsstat, AUE_GETFSSTAT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 557 = getfsstat */
|
||||
{ AS(fhstatfs_args), (sy_call_t *)sys_fhstatfs, AUE_FHSTATFS, NULL, 0, 0, 0, SY_THR_STATIC }, /* 558 = fhstatfs */
|
||||
{ AS(mknodat_args), (sy_call_t *)sys_mknodat, AUE_MKNODAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 559 = mknodat */
|
||||
};
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ const char *syscallnames[] = {
|
|||
"obs_execv", /* 11 = obsolete execv */
|
||||
"chdir", /* 12 = chdir */
|
||||
"fchdir", /* 13 = fchdir */
|
||||
"mknod", /* 14 = mknod */
|
||||
"compat11.mknod", /* 14 = freebsd11 mknod */
|
||||
"chmod", /* 15 = chmod */
|
||||
"chown", /* 16 = chown */
|
||||
"break", /* 17 = break */
|
||||
|
|
@ -194,15 +194,15 @@ const char *syscallnames[] = {
|
|||
"#185", /* 185 = lfs_markv */
|
||||
"#186", /* 186 = lfs_segclean */
|
||||
"#187", /* 187 = lfs_segwait */
|
||||
"stat", /* 188 = stat */
|
||||
"fstat", /* 189 = fstat */
|
||||
"lstat", /* 190 = lstat */
|
||||
"compat11.stat", /* 188 = freebsd11 stat */
|
||||
"compat11.fstat", /* 189 = freebsd11 fstat */
|
||||
"compat11.lstat", /* 190 = freebsd11 lstat */
|
||||
"pathconf", /* 191 = pathconf */
|
||||
"fpathconf", /* 192 = fpathconf */
|
||||
"#193", /* 193 = nosys */
|
||||
"getrlimit", /* 194 = getrlimit */
|
||||
"setrlimit", /* 195 = setrlimit */
|
||||
"getdirentries", /* 196 = getdirentries */
|
||||
"compat11.getdirentries", /* 196 = freebsd11 getdirentries */
|
||||
"compat6.mmap", /* 197 = freebsd6 mmap */
|
||||
"__syscall", /* 198 = __syscall */
|
||||
"compat6.lseek", /* 199 = freebsd6 lseek */
|
||||
|
|
@ -278,15 +278,15 @@ const char *syscallnames[] = {
|
|||
"#269", /* 269 = nosys */
|
||||
"#270", /* 270 = nosys */
|
||||
"#271", /* 271 = nosys */
|
||||
"getdents", /* 272 = getdents */
|
||||
"compat11.getdents", /* 272 = freebsd11 getdents */
|
||||
"#273", /* 273 = nosys */
|
||||
"lchmod", /* 274 = lchmod */
|
||||
"netbsd_lchown", /* 275 = netbsd_lchown */
|
||||
"lutimes", /* 276 = lutimes */
|
||||
"netbsd_msync", /* 277 = netbsd_msync */
|
||||
"nstat", /* 278 = nstat */
|
||||
"nfstat", /* 279 = nfstat */
|
||||
"nlstat", /* 280 = nlstat */
|
||||
"compat11.nstat", /* 278 = freebsd11 nstat */
|
||||
"compat11.nfstat", /* 279 = freebsd11 nfstat */
|
||||
"compat11.nlstat", /* 280 = freebsd11 nlstat */
|
||||
"#281", /* 281 = nosys */
|
||||
"#282", /* 282 = nosys */
|
||||
"#283", /* 283 = nosys */
|
||||
|
|
@ -305,7 +305,7 @@ const char *syscallnames[] = {
|
|||
"#296", /* 296 = nosys */
|
||||
"compat4.fhstatfs", /* 297 = freebsd4 fhstatfs */
|
||||
"fhopen", /* 298 = fhopen */
|
||||
"fhstat", /* 299 = fhstat */
|
||||
"compat11.fhstat", /* 299 = freebsd11 fhstat */
|
||||
"modnext", /* 300 = modnext */
|
||||
"modstat", /* 301 = modstat */
|
||||
"modfnext", /* 302 = modfnext */
|
||||
|
|
@ -401,10 +401,10 @@ const char *syscallnames[] = {
|
|||
"uuidgen", /* 392 = uuidgen */
|
||||
"sendfile", /* 393 = sendfile */
|
||||
"mac_syscall", /* 394 = mac_syscall */
|
||||
"getfsstat", /* 395 = getfsstat */
|
||||
"statfs", /* 396 = statfs */
|
||||
"fstatfs", /* 397 = fstatfs */
|
||||
"fhstatfs", /* 398 = fhstatfs */
|
||||
"compat11.getfsstat", /* 395 = freebsd11 getfsstat */
|
||||
"compat11.statfs", /* 396 = freebsd11 statfs */
|
||||
"compat11.fstatfs", /* 397 = freebsd11 fstatfs */
|
||||
"compat11.fhstatfs", /* 398 = freebsd11 fhstatfs */
|
||||
"#399", /* 399 = nosys */
|
||||
"ksem_close", /* 400 = ksem_close */
|
||||
"ksem_post", /* 401 = ksem_post */
|
||||
|
|
@ -499,12 +499,12 @@ const char *syscallnames[] = {
|
|||
"fchmodat", /* 490 = fchmodat */
|
||||
"fchownat", /* 491 = fchownat */
|
||||
"fexecve", /* 492 = fexecve */
|
||||
"fstatat", /* 493 = fstatat */
|
||||
"compat11.fstatat", /* 493 = freebsd11 fstatat */
|
||||
"futimesat", /* 494 = futimesat */
|
||||
"linkat", /* 495 = linkat */
|
||||
"mkdirat", /* 496 = mkdirat */
|
||||
"mkfifoat", /* 497 = mkfifoat */
|
||||
"mknodat", /* 498 = mknodat */
|
||||
"compat11.mknodat", /* 498 = freebsd11 mknodat */
|
||||
"openat", /* 499 = openat */
|
||||
"readlinkat", /* 500 = readlinkat */
|
||||
"renameat", /* 501 = renameat */
|
||||
|
|
@ -557,4 +557,13 @@ const char *syscallnames[] = {
|
|||
"numa_getaffinity", /* 548 = numa_getaffinity */
|
||||
"numa_setaffinity", /* 549 = numa_setaffinity */
|
||||
"fdatasync", /* 550 = fdatasync */
|
||||
"fstat", /* 551 = fstat */
|
||||
"fstatat", /* 552 = fstatat */
|
||||
"fhstat", /* 553 = fhstat */
|
||||
"getdirentries", /* 554 = getdirentries */
|
||||
"statfs", /* 555 = statfs */
|
||||
"fstatfs", /* 556 = fstatfs */
|
||||
"getfsstat", /* 557 = getfsstat */
|
||||
"fhstatfs", /* 558 = fhstatfs */
|
||||
"mknodat", /* 559 = mknodat */
|
||||
};
|
||||
|
|
|
|||
|
|
@ -101,15 +101,6 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
|||
*n_args = 1;
|
||||
break;
|
||||
}
|
||||
/* mknod */
|
||||
case 14: {
|
||||
struct mknod_args *p = params;
|
||||
uarg[0] = (intptr_t) p->path; /* char * */
|
||||
iarg[1] = p->mode; /* int */
|
||||
iarg[2] = p->dev; /* int */
|
||||
*n_args = 3;
|
||||
break;
|
||||
}
|
||||
/* chmod */
|
||||
case 15: {
|
||||
struct chmod_args *p = params;
|
||||
|
|
@ -944,30 +935,6 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
|||
*n_args = 1;
|
||||
break;
|
||||
}
|
||||
/* stat */
|
||||
case 188: {
|
||||
struct stat_args *p = params;
|
||||
uarg[0] = (intptr_t) p->path; /* char * */
|
||||
uarg[1] = (intptr_t) p->ub; /* struct stat * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* fstat */
|
||||
case 189: {
|
||||
struct fstat_args *p = params;
|
||||
iarg[0] = p->fd; /* int */
|
||||
uarg[1] = (intptr_t) p->sb; /* struct stat * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* lstat */
|
||||
case 190: {
|
||||
struct lstat_args *p = params;
|
||||
uarg[0] = (intptr_t) p->path; /* char * */
|
||||
uarg[1] = (intptr_t) p->ub; /* struct stat * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* pathconf */
|
||||
case 191: {
|
||||
struct pathconf_args *p = params;
|
||||
|
|
@ -1000,16 +967,6 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
|||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* getdirentries */
|
||||
case 196: {
|
||||
struct getdirentries_args *p = params;
|
||||
iarg[0] = p->fd; /* int */
|
||||
uarg[1] = (intptr_t) p->buf; /* char * */
|
||||
uarg[2] = p->count; /* u_int */
|
||||
uarg[3] = (intptr_t) p->basep; /* long * */
|
||||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
/* nosys */
|
||||
case 198: {
|
||||
*n_args = 0;
|
||||
|
|
@ -1370,15 +1327,6 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
|||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
/* getdents */
|
||||
case 272: {
|
||||
struct getdents_args *p = params;
|
||||
iarg[0] = p->fd; /* int */
|
||||
uarg[1] = (intptr_t) p->buf; /* char * */
|
||||
uarg[2] = p->count; /* size_t */
|
||||
*n_args = 3;
|
||||
break;
|
||||
}
|
||||
/* lchmod */
|
||||
case 274: {
|
||||
struct lchmod_args *p = params;
|
||||
|
|
@ -1413,30 +1361,6 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
|||
*n_args = 3;
|
||||
break;
|
||||
}
|
||||
/* nstat */
|
||||
case 278: {
|
||||
struct nstat_args *p = params;
|
||||
uarg[0] = (intptr_t) p->path; /* char * */
|
||||
uarg[1] = (intptr_t) p->ub; /* struct nstat * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* nfstat */
|
||||
case 279: {
|
||||
struct nfstat_args *p = params;
|
||||
iarg[0] = p->fd; /* int */
|
||||
uarg[1] = (intptr_t) p->sb; /* struct nstat * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* nlstat */
|
||||
case 280: {
|
||||
struct nlstat_args *p = params;
|
||||
uarg[0] = (intptr_t) p->path; /* char * */
|
||||
uarg[1] = (intptr_t) p->ub; /* struct nstat * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* preadv */
|
||||
case 289: {
|
||||
struct preadv_args *p = params;
|
||||
|
|
@ -1465,14 +1389,6 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
|||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* fhstat */
|
||||
case 299: {
|
||||
struct fhstat_args *p = params;
|
||||
uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
|
||||
uarg[1] = (intptr_t) p->sb; /* struct stat * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* modnext */
|
||||
case 300: {
|
||||
struct modnext_args *p = params;
|
||||
|
|
@ -2077,39 +1993,6 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
|||
*n_args = 3;
|
||||
break;
|
||||
}
|
||||
/* getfsstat */
|
||||
case 395: {
|
||||
struct getfsstat_args *p = params;
|
||||
uarg[0] = (intptr_t) p->buf; /* struct statfs * */
|
||||
iarg[1] = p->bufsize; /* long */
|
||||
iarg[2] = p->mode; /* int */
|
||||
*n_args = 3;
|
||||
break;
|
||||
}
|
||||
/* statfs */
|
||||
case 396: {
|
||||
struct statfs_args *p = params;
|
||||
uarg[0] = (intptr_t) p->path; /* char * */
|
||||
uarg[1] = (intptr_t) p->buf; /* struct statfs * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* fstatfs */
|
||||
case 397: {
|
||||
struct fstatfs_args *p = params;
|
||||
iarg[0] = p->fd; /* int */
|
||||
uarg[1] = (intptr_t) p->buf; /* struct statfs * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* fhstatfs */
|
||||
case 398: {
|
||||
struct fhstatfs_args *p = params;
|
||||
uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
|
||||
uarg[1] = (intptr_t) p->buf; /* struct statfs * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* ksem_close */
|
||||
case 400: {
|
||||
struct ksem_close_args *p = params;
|
||||
|
|
@ -2833,16 +2716,6 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
|||
*n_args = 3;
|
||||
break;
|
||||
}
|
||||
/* fstatat */
|
||||
case 493: {
|
||||
struct fstatat_args *p = params;
|
||||
iarg[0] = p->fd; /* int */
|
||||
uarg[1] = (intptr_t) p->path; /* char * */
|
||||
uarg[2] = (intptr_t) p->buf; /* struct stat * */
|
||||
iarg[3] = p->flag; /* int */
|
||||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
/* futimesat */
|
||||
case 494: {
|
||||
struct futimesat_args *p = params;
|
||||
|
|
@ -2881,16 +2754,6 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
|||
*n_args = 3;
|
||||
break;
|
||||
}
|
||||
/* mknodat */
|
||||
case 498: {
|
||||
struct mknodat_args *p = params;
|
||||
iarg[0] = p->fd; /* int */
|
||||
uarg[1] = (intptr_t) p->path; /* char * */
|
||||
iarg[2] = p->mode; /* mode_t */
|
||||
iarg[3] = p->dev; /* dev_t */
|
||||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
/* openat */
|
||||
case 499: {
|
||||
struct openat_args *p = params;
|
||||
|
|
@ -3334,6 +3197,85 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
|
|||
*n_args = 1;
|
||||
break;
|
||||
}
|
||||
/* fstat */
|
||||
case 551: {
|
||||
struct fstat_args *p = params;
|
||||
iarg[0] = p->fd; /* int */
|
||||
uarg[1] = (intptr_t) p->sb; /* struct stat * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* fstatat */
|
||||
case 552: {
|
||||
struct fstatat_args *p = params;
|
||||
iarg[0] = p->fd; /* int */
|
||||
uarg[1] = (intptr_t) p->path; /* char * */
|
||||
uarg[2] = (intptr_t) p->buf; /* struct stat * */
|
||||
iarg[3] = p->flag; /* int */
|
||||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
/* fhstat */
|
||||
case 553: {
|
||||
struct fhstat_args *p = params;
|
||||
uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
|
||||
uarg[1] = (intptr_t) p->sb; /* struct stat * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* getdirentries */
|
||||
case 554: {
|
||||
struct getdirentries_args *p = params;
|
||||
iarg[0] = p->fd; /* int */
|
||||
uarg[1] = (intptr_t) p->buf; /* char * */
|
||||
uarg[2] = p->count; /* size_t */
|
||||
uarg[3] = (intptr_t) p->basep; /* off_t * */
|
||||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
/* statfs */
|
||||
case 555: {
|
||||
struct statfs_args *p = params;
|
||||
uarg[0] = (intptr_t) p->path; /* char * */
|
||||
uarg[1] = (intptr_t) p->buf; /* struct statfs * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* fstatfs */
|
||||
case 556: {
|
||||
struct fstatfs_args *p = params;
|
||||
iarg[0] = p->fd; /* int */
|
||||
uarg[1] = (intptr_t) p->buf; /* struct statfs * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* getfsstat */
|
||||
case 557: {
|
||||
struct getfsstat_args *p = params;
|
||||
uarg[0] = (intptr_t) p->buf; /* struct statfs * */
|
||||
iarg[1] = p->bufsize; /* long */
|
||||
iarg[2] = p->mode; /* int */
|
||||
*n_args = 3;
|
||||
break;
|
||||
}
|
||||
/* fhstatfs */
|
||||
case 558: {
|
||||
struct fhstatfs_args *p = params;
|
||||
uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */
|
||||
uarg[1] = (intptr_t) p->buf; /* struct statfs * */
|
||||
*n_args = 2;
|
||||
break;
|
||||
}
|
||||
/* mknodat */
|
||||
case 559: {
|
||||
struct mknodat_args *p = params;
|
||||
iarg[0] = p->fd; /* int */
|
||||
uarg[1] = (intptr_t) p->path; /* char * */
|
||||
iarg[2] = p->mode; /* mode_t */
|
||||
iarg[3] = p->dev; /* dev_t */
|
||||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
*n_args = 0;
|
||||
break;
|
||||
|
|
@ -3480,22 +3422,6 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
break;
|
||||
};
|
||||
break;
|
||||
/* mknod */
|
||||
case 14:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "userland char *";
|
||||
break;
|
||||
case 1:
|
||||
p = "int";
|
||||
break;
|
||||
case 2:
|
||||
p = "int";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* chmod */
|
||||
case 15:
|
||||
switch(ndx) {
|
||||
|
|
@ -4854,45 +4780,6 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
break;
|
||||
};
|
||||
break;
|
||||
/* stat */
|
||||
case 188:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "userland char *";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct stat *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* fstat */
|
||||
case 189:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "int";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct stat *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* lstat */
|
||||
case 190:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "userland char *";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct stat *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* pathconf */
|
||||
case 191:
|
||||
switch(ndx) {
|
||||
|
|
@ -4945,25 +4832,6 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
break;
|
||||
};
|
||||
break;
|
||||
/* getdirentries */
|
||||
case 196:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "int";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland char *";
|
||||
break;
|
||||
case 2:
|
||||
p = "u_int";
|
||||
break;
|
||||
case 3:
|
||||
p = "userland long *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* nosys */
|
||||
case 198:
|
||||
break;
|
||||
|
|
@ -5504,22 +5372,6 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
break;
|
||||
};
|
||||
break;
|
||||
/* getdents */
|
||||
case 272:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "int";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland char *";
|
||||
break;
|
||||
case 2:
|
||||
p = "size_t";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* lchmod */
|
||||
case 274:
|
||||
switch(ndx) {
|
||||
|
|
@ -5578,45 +5430,6 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
break;
|
||||
};
|
||||
break;
|
||||
/* nstat */
|
||||
case 278:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "userland char *";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct nstat *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* nfstat */
|
||||
case 279:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "int";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct nstat *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* nlstat */
|
||||
case 280:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "userland char *";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct nstat *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* preadv */
|
||||
case 289:
|
||||
switch(ndx) {
|
||||
|
|
@ -5668,19 +5481,6 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
break;
|
||||
};
|
||||
break;
|
||||
/* fhstat */
|
||||
case 299:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "userland const struct fhandle *";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct stat *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* modnext */
|
||||
case 300:
|
||||
switch(ndx) {
|
||||
|
|
@ -6686,61 +6486,6 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
break;
|
||||
};
|
||||
break;
|
||||
/* getfsstat */
|
||||
case 395:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "userland struct statfs *";
|
||||
break;
|
||||
case 1:
|
||||
p = "long";
|
||||
break;
|
||||
case 2:
|
||||
p = "int";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* statfs */
|
||||
case 396:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "userland char *";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct statfs *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* fstatfs */
|
||||
case 397:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "int";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct statfs *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* fhstatfs */
|
||||
case 398:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "userland const struct fhandle *";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct statfs *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* ksem_close */
|
||||
case 400:
|
||||
switch(ndx) {
|
||||
|
|
@ -7997,25 +7742,6 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
break;
|
||||
};
|
||||
break;
|
||||
/* fstatat */
|
||||
case 493:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "int";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland char *";
|
||||
break;
|
||||
case 2:
|
||||
p = "userland struct stat *";
|
||||
break;
|
||||
case 3:
|
||||
p = "int";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* futimesat */
|
||||
case 494:
|
||||
switch(ndx) {
|
||||
|
|
@ -8086,25 +7812,6 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
break;
|
||||
};
|
||||
break;
|
||||
/* mknodat */
|
||||
case 498:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "int";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland char *";
|
||||
break;
|
||||
case 2:
|
||||
p = "mode_t";
|
||||
break;
|
||||
case 3:
|
||||
p = "dev_t";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* openat */
|
||||
case 499:
|
||||
switch(ndx) {
|
||||
|
|
@ -8883,6 +8590,144 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
break;
|
||||
};
|
||||
break;
|
||||
/* fstat */
|
||||
case 551:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "int";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct stat *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* fstatat */
|
||||
case 552:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "int";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland char *";
|
||||
break;
|
||||
case 2:
|
||||
p = "userland struct stat *";
|
||||
break;
|
||||
case 3:
|
||||
p = "int";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* fhstat */
|
||||
case 553:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "userland const struct fhandle *";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct stat *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* getdirentries */
|
||||
case 554:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "int";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland char *";
|
||||
break;
|
||||
case 2:
|
||||
p = "size_t";
|
||||
break;
|
||||
case 3:
|
||||
p = "userland off_t *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* statfs */
|
||||
case 555:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "userland char *";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct statfs *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* fstatfs */
|
||||
case 556:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "int";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct statfs *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* getfsstat */
|
||||
case 557:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "userland struct statfs *";
|
||||
break;
|
||||
case 1:
|
||||
p = "long";
|
||||
break;
|
||||
case 2:
|
||||
p = "int";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* fhstatfs */
|
||||
case 558:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "userland const struct fhandle *";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland struct statfs *";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* mknodat */
|
||||
case 559:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "int";
|
||||
break;
|
||||
case 1:
|
||||
p = "userland char *";
|
||||
break;
|
||||
case 2:
|
||||
p = "mode_t";
|
||||
break;
|
||||
case 3:
|
||||
p = "dev_t";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
|
|
@ -8948,11 +8793,6 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* mknod */
|
||||
case 14:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* chmod */
|
||||
case 15:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
|
|
@ -9435,21 +9275,6 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* stat */
|
||||
case 188:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* fstat */
|
||||
case 189:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* lstat */
|
||||
case 190:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* pathconf */
|
||||
case 191:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
|
|
@ -9470,11 +9295,6 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* getdirentries */
|
||||
case 196:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* nosys */
|
||||
case 198:
|
||||
/* __sysctl */
|
||||
|
|
@ -9679,11 +9499,6 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* getdents */
|
||||
case 272:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* lchmod */
|
||||
case 274:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
|
|
@ -9704,21 +9519,6 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* nstat */
|
||||
case 278:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* nfstat */
|
||||
case 279:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* nlstat */
|
||||
case 280:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* preadv */
|
||||
case 289:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
|
|
@ -9734,11 +9534,6 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* fhstat */
|
||||
case 299:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* modnext */
|
||||
case 300:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
|
|
@ -10092,26 +9887,6 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* getfsstat */
|
||||
case 395:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* statfs */
|
||||
case 396:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* fstatfs */
|
||||
case 397:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* fhstatfs */
|
||||
case 398:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* ksem_close */
|
||||
case 400:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
|
|
@ -10527,11 +10302,6 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* fstatat */
|
||||
case 493:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* futimesat */
|
||||
case 494:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
|
|
@ -10552,11 +10322,6 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* mknodat */
|
||||
case 498:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* openat */
|
||||
case 499:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
|
|
@ -10804,6 +10569,51 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* fstat */
|
||||
case 551:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* fstatat */
|
||||
case 552:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* fhstat */
|
||||
case 553:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* getdirentries */
|
||||
case 554:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "ssize_t";
|
||||
break;
|
||||
/* statfs */
|
||||
case 555:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* fstatfs */
|
||||
case 556:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* getfsstat */
|
||||
case 557:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* fhstatfs */
|
||||
case 558:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* mknodat */
|
||||
case 559:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
/* 11 is obsolete execv */
|
||||
#define SYS_chdir 12
|
||||
#define SYS_fchdir 13
|
||||
#define SYS_mknod 14
|
||||
#define SYS_freebsd11_mknod 14
|
||||
#define SYS_chmod 15
|
||||
#define SYS_chown 16
|
||||
#define SYS_break 17
|
||||
|
|
@ -175,14 +175,14 @@
|
|||
#define SYS_setgid 181
|
||||
#define SYS_setegid 182
|
||||
#define SYS_seteuid 183
|
||||
#define SYS_stat 188
|
||||
#define SYS_fstat 189
|
||||
#define SYS_lstat 190
|
||||
#define SYS_freebsd11_stat 188
|
||||
#define SYS_freebsd11_fstat 189
|
||||
#define SYS_freebsd11_lstat 190
|
||||
#define SYS_pathconf 191
|
||||
#define SYS_fpathconf 192
|
||||
#define SYS_getrlimit 194
|
||||
#define SYS_setrlimit 195
|
||||
#define SYS_getdirentries 196
|
||||
#define SYS_freebsd11_getdirentries 196
|
||||
/* 197 is freebsd6 mmap */
|
||||
#define SYS___syscall 198
|
||||
/* 199 is freebsd6 lseek */
|
||||
|
|
@ -229,19 +229,19 @@
|
|||
#define SYS_aio_read 255
|
||||
#define SYS_aio_write 256
|
||||
#define SYS_lio_listio 257
|
||||
#define SYS_getdents 272
|
||||
#define SYS_freebsd11_getdents 272
|
||||
#define SYS_lchmod 274
|
||||
#define SYS_netbsd_lchown 275
|
||||
#define SYS_lutimes 276
|
||||
#define SYS_netbsd_msync 277
|
||||
#define SYS_nstat 278
|
||||
#define SYS_nfstat 279
|
||||
#define SYS_nlstat 280
|
||||
#define SYS_freebsd11_nstat 278
|
||||
#define SYS_freebsd11_nfstat 279
|
||||
#define SYS_freebsd11_nlstat 280
|
||||
#define SYS_preadv 289
|
||||
#define SYS_pwritev 290
|
||||
/* 297 is freebsd4 fhstatfs */
|
||||
#define SYS_fhopen 298
|
||||
#define SYS_fhstat 299
|
||||
#define SYS_freebsd11_fhstat 299
|
||||
#define SYS_modnext 300
|
||||
#define SYS_modstat 301
|
||||
#define SYS_modfnext 302
|
||||
|
|
@ -324,10 +324,10 @@
|
|||
#define SYS_uuidgen 392
|
||||
#define SYS_sendfile 393
|
||||
#define SYS_mac_syscall 394
|
||||
#define SYS_getfsstat 395
|
||||
#define SYS_statfs 396
|
||||
#define SYS_fstatfs 397
|
||||
#define SYS_fhstatfs 398
|
||||
#define SYS_freebsd11_getfsstat 395
|
||||
#define SYS_freebsd11_statfs 396
|
||||
#define SYS_freebsd11_fstatfs 397
|
||||
#define SYS_freebsd11_fhstatfs 398
|
||||
#define SYS_ksem_close 400
|
||||
#define SYS_ksem_post 401
|
||||
#define SYS_ksem_wait 402
|
||||
|
|
@ -411,12 +411,12 @@
|
|||
#define SYS_fchmodat 490
|
||||
#define SYS_fchownat 491
|
||||
#define SYS_fexecve 492
|
||||
#define SYS_fstatat 493
|
||||
#define SYS_freebsd11_fstatat 493
|
||||
#define SYS_futimesat 494
|
||||
#define SYS_linkat 495
|
||||
#define SYS_mkdirat 496
|
||||
#define SYS_mkfifoat 497
|
||||
#define SYS_mknodat 498
|
||||
#define SYS_freebsd11_mknodat 498
|
||||
#define SYS_openat 499
|
||||
#define SYS_readlinkat 500
|
||||
#define SYS_renameat 501
|
||||
|
|
@ -468,4 +468,13 @@
|
|||
#define SYS_numa_getaffinity 548
|
||||
#define SYS_numa_setaffinity 549
|
||||
#define SYS_fdatasync 550
|
||||
#define SYS_MAXSYSCALL 551
|
||||
#define SYS_fstat 551
|
||||
#define SYS_fstatat 552
|
||||
#define SYS_fhstat 553
|
||||
#define SYS_getdirentries 554
|
||||
#define SYS_statfs 555
|
||||
#define SYS_fstatfs 556
|
||||
#define SYS_getfsstat 557
|
||||
#define SYS_fhstatfs 558
|
||||
#define SYS_mknodat 559
|
||||
#define SYS_MAXSYSCALL 560
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ MIASM = \
|
|||
unlink.o \
|
||||
chdir.o \
|
||||
fchdir.o \
|
||||
mknod.o \
|
||||
freebsd11_mknod.o \
|
||||
chmod.o \
|
||||
chown.o \
|
||||
break.o \
|
||||
|
|
@ -119,14 +119,14 @@ MIASM = \
|
|||
setgid.o \
|
||||
setegid.o \
|
||||
seteuid.o \
|
||||
stat.o \
|
||||
fstat.o \
|
||||
lstat.o \
|
||||
freebsd11_stat.o \
|
||||
freebsd11_fstat.o \
|
||||
freebsd11_lstat.o \
|
||||
pathconf.o \
|
||||
fpathconf.o \
|
||||
getrlimit.o \
|
||||
setrlimit.o \
|
||||
getdirentries.o \
|
||||
freebsd11_getdirentries.o \
|
||||
__syscall.o \
|
||||
__sysctl.o \
|
||||
mlock.o \
|
||||
|
|
@ -168,18 +168,18 @@ MIASM = \
|
|||
aio_read.o \
|
||||
aio_write.o \
|
||||
lio_listio.o \
|
||||
getdents.o \
|
||||
freebsd11_getdents.o \
|
||||
lchmod.o \
|
||||
netbsd_lchown.o \
|
||||
lutimes.o \
|
||||
netbsd_msync.o \
|
||||
nstat.o \
|
||||
nfstat.o \
|
||||
nlstat.o \
|
||||
freebsd11_nstat.o \
|
||||
freebsd11_nfstat.o \
|
||||
freebsd11_nlstat.o \
|
||||
preadv.o \
|
||||
pwritev.o \
|
||||
fhopen.o \
|
||||
fhstat.o \
|
||||
freebsd11_fhstat.o \
|
||||
modnext.o \
|
||||
modstat.o \
|
||||
modfnext.o \
|
||||
|
|
@ -253,10 +253,10 @@ MIASM = \
|
|||
uuidgen.o \
|
||||
sendfile.o \
|
||||
mac_syscall.o \
|
||||
getfsstat.o \
|
||||
statfs.o \
|
||||
fstatfs.o \
|
||||
fhstatfs.o \
|
||||
freebsd11_getfsstat.o \
|
||||
freebsd11_statfs.o \
|
||||
freebsd11_fstatfs.o \
|
||||
freebsd11_fhstatfs.o \
|
||||
ksem_close.o \
|
||||
ksem_post.o \
|
||||
ksem_wait.o \
|
||||
|
|
@ -340,12 +340,12 @@ MIASM = \
|
|||
fchmodat.o \
|
||||
fchownat.o \
|
||||
fexecve.o \
|
||||
fstatat.o \
|
||||
freebsd11_fstatat.o \
|
||||
futimesat.o \
|
||||
linkat.o \
|
||||
mkdirat.o \
|
||||
mkfifoat.o \
|
||||
mknodat.o \
|
||||
freebsd11_mknodat.o \
|
||||
openat.o \
|
||||
readlinkat.o \
|
||||
renameat.o \
|
||||
|
|
@ -395,4 +395,13 @@ MIASM = \
|
|||
utimensat.o \
|
||||
numa_getaffinity.o \
|
||||
numa_setaffinity.o \
|
||||
fdatasync.o
|
||||
fdatasync.o \
|
||||
fstat.o \
|
||||
fstatat.o \
|
||||
fhstat.o \
|
||||
getdirentries.o \
|
||||
statfs.o \
|
||||
fstatfs.o \
|
||||
getfsstat.o \
|
||||
fhstatfs.o \
|
||||
mknodat.o
|
||||
|
|
|
|||
|
|
@ -79,11 +79,6 @@ struct chdir_args {
|
|||
struct fchdir_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
};
|
||||
struct mknod_args {
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
|
||||
char dev_l_[PADL_(int)]; int dev; char dev_r_[PADR_(int)];
|
||||
};
|
||||
struct chmod_args {
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
|
||||
|
|
@ -546,18 +541,6 @@ struct setegid_args {
|
|||
struct seteuid_args {
|
||||
char euid_l_[PADL_(uid_t)]; uid_t euid; char euid_r_[PADR_(uid_t)];
|
||||
};
|
||||
struct stat_args {
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char ub_l_[PADL_(struct stat *)]; struct stat * ub; char ub_r_[PADR_(struct stat *)];
|
||||
};
|
||||
struct fstat_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char sb_l_[PADL_(struct stat *)]; struct stat * sb; char sb_r_[PADR_(struct stat *)];
|
||||
};
|
||||
struct lstat_args {
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char ub_l_[PADL_(struct stat *)]; struct stat * ub; char ub_r_[PADR_(struct stat *)];
|
||||
};
|
||||
struct pathconf_args {
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)];
|
||||
|
|
@ -574,12 +557,6 @@ struct __setrlimit_args {
|
|||
char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)];
|
||||
char rlp_l_[PADL_(struct rlimit *)]; struct rlimit * rlp; char rlp_r_[PADR_(struct rlimit *)];
|
||||
};
|
||||
struct getdirentries_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
|
||||
char count_l_[PADL_(u_int)]; u_int count; char count_r_[PADR_(u_int)];
|
||||
char basep_l_[PADL_(long *)]; long * basep; char basep_r_[PADR_(long *)];
|
||||
};
|
||||
struct sysctl_args {
|
||||
char name_l_[PADL_(int *)]; int * name; char name_r_[PADR_(int *)];
|
||||
char namelen_l_[PADL_(u_int)]; u_int namelen; char namelen_r_[PADR_(u_int)];
|
||||
|
|
@ -739,11 +716,6 @@ struct lio_listio_args {
|
|||
char nent_l_[PADL_(int)]; int nent; char nent_r_[PADR_(int)];
|
||||
char sig_l_[PADL_(struct sigevent *)]; struct sigevent * sig; char sig_r_[PADR_(struct sigevent *)];
|
||||
};
|
||||
struct getdents_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
|
||||
char count_l_[PADL_(size_t)]; size_t count; char count_r_[PADR_(size_t)];
|
||||
};
|
||||
struct lchmod_args {
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char mode_l_[PADL_(mode_t)]; mode_t mode; char mode_r_[PADR_(mode_t)];
|
||||
|
|
@ -752,18 +724,6 @@ struct lutimes_args {
|
|||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char tptr_l_[PADL_(struct timeval *)]; struct timeval * tptr; char tptr_r_[PADR_(struct timeval *)];
|
||||
};
|
||||
struct nstat_args {
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char ub_l_[PADL_(struct nstat *)]; struct nstat * ub; char ub_r_[PADR_(struct nstat *)];
|
||||
};
|
||||
struct nfstat_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char sb_l_[PADL_(struct nstat *)]; struct nstat * sb; char sb_r_[PADR_(struct nstat *)];
|
||||
};
|
||||
struct nlstat_args {
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char ub_l_[PADL_(struct nstat *)]; struct nstat * ub; char ub_r_[PADR_(struct nstat *)];
|
||||
};
|
||||
struct preadv_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char iovp_l_[PADL_(struct iovec *)]; struct iovec * iovp; char iovp_r_[PADR_(struct iovec *)];
|
||||
|
|
@ -780,10 +740,6 @@ struct fhopen_args {
|
|||
char u_fhp_l_[PADL_(const struct fhandle *)]; const struct fhandle * u_fhp; char u_fhp_r_[PADR_(const struct fhandle *)];
|
||||
char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
|
||||
};
|
||||
struct fhstat_args {
|
||||
char u_fhp_l_[PADL_(const struct fhandle *)]; const struct fhandle * u_fhp; char u_fhp_r_[PADR_(const struct fhandle *)];
|
||||
char sb_l_[PADL_(struct stat *)]; struct stat * sb; char sb_r_[PADR_(struct stat *)];
|
||||
};
|
||||
struct modnext_args {
|
||||
char modid_l_[PADL_(int)]; int modid; char modid_r_[PADR_(int)];
|
||||
};
|
||||
|
|
@ -1104,23 +1060,6 @@ struct mac_syscall_args {
|
|||
char call_l_[PADL_(int)]; int call; char call_r_[PADR_(int)];
|
||||
char arg_l_[PADL_(void *)]; void * arg; char arg_r_[PADR_(void *)];
|
||||
};
|
||||
struct getfsstat_args {
|
||||
char buf_l_[PADL_(struct statfs *)]; struct statfs * buf; char buf_r_[PADR_(struct statfs *)];
|
||||
char bufsize_l_[PADL_(long)]; long bufsize; char bufsize_r_[PADR_(long)];
|
||||
char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
|
||||
};
|
||||
struct statfs_args {
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char buf_l_[PADL_(struct statfs *)]; struct statfs * buf; char buf_r_[PADR_(struct statfs *)];
|
||||
};
|
||||
struct fstatfs_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char buf_l_[PADL_(struct statfs *)]; struct statfs * buf; char buf_r_[PADR_(struct statfs *)];
|
||||
};
|
||||
struct fhstatfs_args {
|
||||
char u_fhp_l_[PADL_(const struct fhandle *)]; const struct fhandle * u_fhp; char u_fhp_r_[PADR_(const struct fhandle *)];
|
||||
char buf_l_[PADL_(struct statfs *)]; struct statfs * buf; char buf_r_[PADR_(struct statfs *)];
|
||||
};
|
||||
struct ksem_close_args {
|
||||
char id_l_[PADL_(semid_t)]; semid_t id; char id_r_[PADR_(semid_t)];
|
||||
};
|
||||
|
|
@ -1512,12 +1451,6 @@ struct fexecve_args {
|
|||
char argv_l_[PADL_(char **)]; char ** argv; char argv_r_[PADR_(char **)];
|
||||
char envv_l_[PADL_(char **)]; char ** envv; char envv_r_[PADR_(char **)];
|
||||
};
|
||||
struct fstatat_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char buf_l_[PADL_(struct stat *)]; struct stat * buf; char buf_r_[PADR_(struct stat *)];
|
||||
char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)];
|
||||
};
|
||||
struct futimesat_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
|
|
@ -1540,12 +1473,6 @@ struct mkfifoat_args {
|
|||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char mode_l_[PADL_(mode_t)]; mode_t mode; char mode_r_[PADR_(mode_t)];
|
||||
};
|
||||
struct mknodat_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char mode_l_[PADL_(mode_t)]; mode_t mode; char mode_r_[PADR_(mode_t)];
|
||||
char dev_l_[PADL_(dev_t)]; dev_t dev; char dev_r_[PADR_(dev_t)];
|
||||
};
|
||||
struct openat_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
|
|
@ -1791,6 +1718,49 @@ struct numa_setaffinity_args {
|
|||
struct fdatasync_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
};
|
||||
struct fstat_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char sb_l_[PADL_(struct stat *)]; struct stat * sb; char sb_r_[PADR_(struct stat *)];
|
||||
};
|
||||
struct fstatat_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char buf_l_[PADL_(struct stat *)]; struct stat * buf; char buf_r_[PADR_(struct stat *)];
|
||||
char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)];
|
||||
};
|
||||
struct fhstat_args {
|
||||
char u_fhp_l_[PADL_(const struct fhandle *)]; const struct fhandle * u_fhp; char u_fhp_r_[PADR_(const struct fhandle *)];
|
||||
char sb_l_[PADL_(struct stat *)]; struct stat * sb; char sb_r_[PADR_(struct stat *)];
|
||||
};
|
||||
struct getdirentries_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
|
||||
char count_l_[PADL_(size_t)]; size_t count; char count_r_[PADR_(size_t)];
|
||||
char basep_l_[PADL_(off_t *)]; off_t * basep; char basep_r_[PADR_(off_t *)];
|
||||
};
|
||||
struct statfs_args {
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char buf_l_[PADL_(struct statfs *)]; struct statfs * buf; char buf_r_[PADR_(struct statfs *)];
|
||||
};
|
||||
struct fstatfs_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char buf_l_[PADL_(struct statfs *)]; struct statfs * buf; char buf_r_[PADR_(struct statfs *)];
|
||||
};
|
||||
struct getfsstat_args {
|
||||
char buf_l_[PADL_(struct statfs *)]; struct statfs * buf; char buf_r_[PADR_(struct statfs *)];
|
||||
char bufsize_l_[PADL_(long)]; long bufsize; char bufsize_r_[PADR_(long)];
|
||||
char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
|
||||
};
|
||||
struct fhstatfs_args {
|
||||
char u_fhp_l_[PADL_(const struct fhandle *)]; const struct fhandle * u_fhp; char u_fhp_r_[PADR_(const struct fhandle *)];
|
||||
char buf_l_[PADL_(struct statfs *)]; struct statfs * buf; char buf_r_[PADR_(struct statfs *)];
|
||||
};
|
||||
struct mknodat_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char mode_l_[PADL_(mode_t)]; mode_t mode; char mode_r_[PADR_(mode_t)];
|
||||
char dev_l_[PADL_(dev_t)]; dev_t dev; char dev_r_[PADR_(dev_t)];
|
||||
};
|
||||
int nosys(struct thread *, struct nosys_args *);
|
||||
void sys_sys_exit(struct thread *, struct sys_exit_args *);
|
||||
int sys_fork(struct thread *, struct fork_args *);
|
||||
|
|
@ -1803,7 +1773,6 @@ int sys_link(struct thread *, struct link_args *);
|
|||
int sys_unlink(struct thread *, struct unlink_args *);
|
||||
int sys_chdir(struct thread *, struct chdir_args *);
|
||||
int sys_fchdir(struct thread *, struct fchdir_args *);
|
||||
int sys_mknod(struct thread *, struct mknod_args *);
|
||||
int sys_chmod(struct thread *, struct chmod_args *);
|
||||
int sys_chown(struct thread *, struct chown_args *);
|
||||
int sys_obreak(struct thread *, struct obreak_args *);
|
||||
|
|
@ -1907,14 +1876,10 @@ int sys_ntp_adjtime(struct thread *, struct ntp_adjtime_args *);
|
|||
int sys_setgid(struct thread *, struct setgid_args *);
|
||||
int sys_setegid(struct thread *, struct setegid_args *);
|
||||
int sys_seteuid(struct thread *, struct seteuid_args *);
|
||||
int sys_stat(struct thread *, struct stat_args *);
|
||||
int sys_fstat(struct thread *, struct fstat_args *);
|
||||
int sys_lstat(struct thread *, struct lstat_args *);
|
||||
int sys_pathconf(struct thread *, struct pathconf_args *);
|
||||
int sys_fpathconf(struct thread *, struct fpathconf_args *);
|
||||
int sys_getrlimit(struct thread *, struct __getrlimit_args *);
|
||||
int sys_setrlimit(struct thread *, struct __setrlimit_args *);
|
||||
int sys_getdirentries(struct thread *, struct getdirentries_args *);
|
||||
int sys___sysctl(struct thread *, struct sysctl_args *);
|
||||
int sys_mlock(struct thread *, struct mlock_args *);
|
||||
int sys_munlock(struct thread *, struct munlock_args *);
|
||||
|
|
@ -1952,16 +1917,11 @@ int sys_lchown(struct thread *, struct lchown_args *);
|
|||
int sys_aio_read(struct thread *, struct aio_read_args *);
|
||||
int sys_aio_write(struct thread *, struct aio_write_args *);
|
||||
int sys_lio_listio(struct thread *, struct lio_listio_args *);
|
||||
int sys_getdents(struct thread *, struct getdents_args *);
|
||||
int sys_lchmod(struct thread *, struct lchmod_args *);
|
||||
int sys_lutimes(struct thread *, struct lutimes_args *);
|
||||
int sys_nstat(struct thread *, struct nstat_args *);
|
||||
int sys_nfstat(struct thread *, struct nfstat_args *);
|
||||
int sys_nlstat(struct thread *, struct nlstat_args *);
|
||||
int sys_preadv(struct thread *, struct preadv_args *);
|
||||
int sys_pwritev(struct thread *, struct pwritev_args *);
|
||||
int sys_fhopen(struct thread *, struct fhopen_args *);
|
||||
int sys_fhstat(struct thread *, struct fhstat_args *);
|
||||
int sys_modnext(struct thread *, struct modnext_args *);
|
||||
int sys_modstat(struct thread *, struct modstat_args *);
|
||||
int sys_modfnext(struct thread *, struct modfnext_args *);
|
||||
|
|
@ -2035,10 +1995,6 @@ int sys_lchflags(struct thread *, struct lchflags_args *);
|
|||
int sys_uuidgen(struct thread *, struct uuidgen_args *);
|
||||
int sys_sendfile(struct thread *, struct sendfile_args *);
|
||||
int sys_mac_syscall(struct thread *, struct mac_syscall_args *);
|
||||
int sys_getfsstat(struct thread *, struct getfsstat_args *);
|
||||
int sys_statfs(struct thread *, struct statfs_args *);
|
||||
int sys_fstatfs(struct thread *, struct fstatfs_args *);
|
||||
int sys_fhstatfs(struct thread *, struct fhstatfs_args *);
|
||||
int sys_ksem_close(struct thread *, struct ksem_close_args *);
|
||||
int sys_ksem_post(struct thread *, struct ksem_post_args *);
|
||||
int sys_ksem_wait(struct thread *, struct ksem_wait_args *);
|
||||
|
|
@ -2122,12 +2078,10 @@ int sys_faccessat(struct thread *, struct faccessat_args *);
|
|||
int sys_fchmodat(struct thread *, struct fchmodat_args *);
|
||||
int sys_fchownat(struct thread *, struct fchownat_args *);
|
||||
int sys_fexecve(struct thread *, struct fexecve_args *);
|
||||
int sys_fstatat(struct thread *, struct fstatat_args *);
|
||||
int sys_futimesat(struct thread *, struct futimesat_args *);
|
||||
int sys_linkat(struct thread *, struct linkat_args *);
|
||||
int sys_mkdirat(struct thread *, struct mkdirat_args *);
|
||||
int sys_mkfifoat(struct thread *, struct mkfifoat_args *);
|
||||
int sys_mknodat(struct thread *, struct mknodat_args *);
|
||||
int sys_openat(struct thread *, struct openat_args *);
|
||||
int sys_readlinkat(struct thread *, struct readlinkat_args *);
|
||||
int sys_renameat(struct thread *, struct renameat_args *);
|
||||
|
|
@ -2178,6 +2132,15 @@ int sys_utimensat(struct thread *, struct utimensat_args *);
|
|||
int sys_numa_getaffinity(struct thread *, struct numa_getaffinity_args *);
|
||||
int sys_numa_setaffinity(struct thread *, struct numa_setaffinity_args *);
|
||||
int sys_fdatasync(struct thread *, struct fdatasync_args *);
|
||||
int sys_fstat(struct thread *, struct fstat_args *);
|
||||
int sys_fstatat(struct thread *, struct fstatat_args *);
|
||||
int sys_fhstat(struct thread *, struct fhstat_args *);
|
||||
int sys_getdirentries(struct thread *, struct getdirentries_args *);
|
||||
int sys_statfs(struct thread *, struct statfs_args *);
|
||||
int sys_fstatfs(struct thread *, struct fstatfs_args *);
|
||||
int sys_getfsstat(struct thread *, struct getfsstat_args *);
|
||||
int sys_fhstatfs(struct thread *, struct fhstatfs_args *);
|
||||
int sys_mknodat(struct thread *, struct mknodat_args *);
|
||||
|
||||
#ifdef COMPAT_43
|
||||
|
||||
|
|
@ -2509,6 +2472,101 @@ int freebsd10_pipe(struct thread *, struct freebsd10_pipe_args *);
|
|||
|
||||
#endif /* COMPAT_FREEBSD10 */
|
||||
|
||||
|
||||
#ifdef COMPAT_FREEBSD11
|
||||
|
||||
struct freebsd11_mknod_args {
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
|
||||
char dev_l_[PADL_(int)]; int dev; char dev_r_[PADR_(int)];
|
||||
};
|
||||
struct freebsd11_stat_args {
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char ub_l_[PADL_(struct freebsd11_stat *)]; struct freebsd11_stat * ub; char ub_r_[PADR_(struct freebsd11_stat *)];
|
||||
};
|
||||
struct freebsd11_fstat_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char sb_l_[PADL_(struct freebsd11_stat *)]; struct freebsd11_stat * sb; char sb_r_[PADR_(struct freebsd11_stat *)];
|
||||
};
|
||||
struct freebsd11_lstat_args {
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char ub_l_[PADL_(struct freebsd11_stat *)]; struct freebsd11_stat * ub; char ub_r_[PADR_(struct freebsd11_stat *)];
|
||||
};
|
||||
struct freebsd11_getdirentries_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
|
||||
char count_l_[PADL_(u_int)]; u_int count; char count_r_[PADR_(u_int)];
|
||||
char basep_l_[PADL_(long *)]; long * basep; char basep_r_[PADR_(long *)];
|
||||
};
|
||||
struct freebsd11_getdents_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
|
||||
char count_l_[PADL_(size_t)]; size_t count; char count_r_[PADR_(size_t)];
|
||||
};
|
||||
struct freebsd11_nstat_args {
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char ub_l_[PADL_(struct nstat *)]; struct nstat * ub; char ub_r_[PADR_(struct nstat *)];
|
||||
};
|
||||
struct freebsd11_nfstat_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char sb_l_[PADL_(struct nstat *)]; struct nstat * sb; char sb_r_[PADR_(struct nstat *)];
|
||||
};
|
||||
struct freebsd11_nlstat_args {
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char ub_l_[PADL_(struct nstat *)]; struct nstat * ub; char ub_r_[PADR_(struct nstat *)];
|
||||
};
|
||||
struct freebsd11_fhstat_args {
|
||||
char u_fhp_l_[PADL_(const struct fhandle *)]; const struct fhandle * u_fhp; char u_fhp_r_[PADR_(const struct fhandle *)];
|
||||
char sb_l_[PADL_(struct freebsd11_stat *)]; struct freebsd11_stat * sb; char sb_r_[PADR_(struct freebsd11_stat *)];
|
||||
};
|
||||
struct freebsd11_getfsstat_args {
|
||||
char buf_l_[PADL_(struct freebsd11_statfs *)]; struct freebsd11_statfs * buf; char buf_r_[PADR_(struct freebsd11_statfs *)];
|
||||
char bufsize_l_[PADL_(long)]; long bufsize; char bufsize_r_[PADR_(long)];
|
||||
char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)];
|
||||
};
|
||||
struct freebsd11_statfs_args {
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char buf_l_[PADL_(struct freebsd11_statfs *)]; struct freebsd11_statfs * buf; char buf_r_[PADR_(struct freebsd11_statfs *)];
|
||||
};
|
||||
struct freebsd11_fstatfs_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char buf_l_[PADL_(struct freebsd11_statfs *)]; struct freebsd11_statfs * buf; char buf_r_[PADR_(struct freebsd11_statfs *)];
|
||||
};
|
||||
struct freebsd11_fhstatfs_args {
|
||||
char u_fhp_l_[PADL_(const struct fhandle *)]; const struct fhandle * u_fhp; char u_fhp_r_[PADR_(const struct fhandle *)];
|
||||
char buf_l_[PADL_(struct freebsd11_statfs *)]; struct freebsd11_statfs * buf; char buf_r_[PADR_(struct freebsd11_statfs *)];
|
||||
};
|
||||
struct freebsd11_fstatat_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char buf_l_[PADL_(struct freebsd11_stat *)]; struct freebsd11_stat * buf; char buf_r_[PADR_(struct freebsd11_stat *)];
|
||||
char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)];
|
||||
};
|
||||
struct freebsd11_mknodat_args {
|
||||
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
|
||||
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
|
||||
char mode_l_[PADL_(mode_t)]; mode_t mode; char mode_r_[PADR_(mode_t)];
|
||||
char dev_l_[PADL_(uint32_t)]; uint32_t dev; char dev_r_[PADR_(uint32_t)];
|
||||
};
|
||||
int freebsd11_mknod(struct thread *, struct freebsd11_mknod_args *);
|
||||
int freebsd11_stat(struct thread *, struct freebsd11_stat_args *);
|
||||
int freebsd11_fstat(struct thread *, struct freebsd11_fstat_args *);
|
||||
int freebsd11_lstat(struct thread *, struct freebsd11_lstat_args *);
|
||||
int freebsd11_getdirentries(struct thread *, struct freebsd11_getdirentries_args *);
|
||||
int freebsd11_getdents(struct thread *, struct freebsd11_getdents_args *);
|
||||
int freebsd11_nstat(struct thread *, struct freebsd11_nstat_args *);
|
||||
int freebsd11_nfstat(struct thread *, struct freebsd11_nfstat_args *);
|
||||
int freebsd11_nlstat(struct thread *, struct freebsd11_nlstat_args *);
|
||||
int freebsd11_fhstat(struct thread *, struct freebsd11_fhstat_args *);
|
||||
int freebsd11_getfsstat(struct thread *, struct freebsd11_getfsstat_args *);
|
||||
int freebsd11_statfs(struct thread *, struct freebsd11_statfs_args *);
|
||||
int freebsd11_fstatfs(struct thread *, struct freebsd11_fstatfs_args *);
|
||||
int freebsd11_fhstatfs(struct thread *, struct freebsd11_fhstatfs_args *);
|
||||
int freebsd11_fstatat(struct thread *, struct freebsd11_fstatat_args *);
|
||||
int freebsd11_mknodat(struct thread *, struct freebsd11_mknodat_args *);
|
||||
|
||||
#endif /* COMPAT_FREEBSD11 */
|
||||
|
||||
#define SYS_AUE_syscall AUE_NULL
|
||||
#define SYS_AUE_exit AUE_EXIT
|
||||
#define SYS_AUE_fork AUE_FORK
|
||||
|
|
@ -2522,7 +2580,7 @@ int freebsd10_pipe(struct thread *, struct freebsd10_pipe_args *);
|
|||
#define SYS_AUE_unlink AUE_UNLINK
|
||||
#define SYS_AUE_chdir AUE_CHDIR
|
||||
#define SYS_AUE_fchdir AUE_FCHDIR
|
||||
#define SYS_AUE_mknod AUE_MKNOD
|
||||
#define SYS_AUE_freebsd11_mknod AUE_MKNOD
|
||||
#define SYS_AUE_chmod AUE_CHMOD
|
||||
#define SYS_AUE_chown AUE_CHOWN
|
||||
#define SYS_AUE_break AUE_NULL
|
||||
|
|
@ -2671,14 +2729,14 @@ int freebsd10_pipe(struct thread *, struct freebsd10_pipe_args *);
|
|||
#define SYS_AUE_setgid AUE_SETGID
|
||||
#define SYS_AUE_setegid AUE_SETEGID
|
||||
#define SYS_AUE_seteuid AUE_SETEUID
|
||||
#define SYS_AUE_stat AUE_STAT
|
||||
#define SYS_AUE_fstat AUE_FSTAT
|
||||
#define SYS_AUE_lstat AUE_LSTAT
|
||||
#define SYS_AUE_freebsd11_stat AUE_STAT
|
||||
#define SYS_AUE_freebsd11_fstat AUE_FSTAT
|
||||
#define SYS_AUE_freebsd11_lstat AUE_LSTAT
|
||||
#define SYS_AUE_pathconf AUE_PATHCONF
|
||||
#define SYS_AUE_fpathconf AUE_FPATHCONF
|
||||
#define SYS_AUE_getrlimit AUE_GETRLIMIT
|
||||
#define SYS_AUE_setrlimit AUE_SETRLIMIT
|
||||
#define SYS_AUE_getdirentries AUE_GETDIRENTRIES
|
||||
#define SYS_AUE_freebsd11_getdirentries AUE_GETDIRENTRIES
|
||||
#define SYS_AUE_freebsd6_mmap AUE_MMAP
|
||||
#define SYS_AUE_freebsd6_lseek AUE_LSEEK
|
||||
#define SYS_AUE_freebsd6_truncate AUE_TRUNCATE
|
||||
|
|
@ -2723,17 +2781,17 @@ int freebsd10_pipe(struct thread *, struct freebsd10_pipe_args *);
|
|||
#define SYS_AUE_aio_read AUE_AIO_READ
|
||||
#define SYS_AUE_aio_write AUE_AIO_WRITE
|
||||
#define SYS_AUE_lio_listio AUE_LIO_LISTIO
|
||||
#define SYS_AUE_getdents AUE_O_GETDENTS
|
||||
#define SYS_AUE_freebsd11_getdents AUE_O_GETDENTS
|
||||
#define SYS_AUE_lchmod AUE_LCHMOD
|
||||
#define SYS_AUE_lutimes AUE_LUTIMES
|
||||
#define SYS_AUE_nstat AUE_STAT
|
||||
#define SYS_AUE_nfstat AUE_FSTAT
|
||||
#define SYS_AUE_nlstat AUE_LSTAT
|
||||
#define SYS_AUE_freebsd11_nstat AUE_STAT
|
||||
#define SYS_AUE_freebsd11_nfstat AUE_FSTAT
|
||||
#define SYS_AUE_freebsd11_nlstat AUE_LSTAT
|
||||
#define SYS_AUE_preadv AUE_PREADV
|
||||
#define SYS_AUE_pwritev AUE_PWRITEV
|
||||
#define SYS_AUE_freebsd4_fhstatfs AUE_FHSTATFS
|
||||
#define SYS_AUE_fhopen AUE_FHOPEN
|
||||
#define SYS_AUE_fhstat AUE_FHSTAT
|
||||
#define SYS_AUE_freebsd11_fhstat AUE_FHSTAT
|
||||
#define SYS_AUE_modnext AUE_NULL
|
||||
#define SYS_AUE_modstat AUE_NULL
|
||||
#define SYS_AUE_modfnext AUE_NULL
|
||||
|
|
@ -2813,10 +2871,10 @@ int freebsd10_pipe(struct thread *, struct freebsd10_pipe_args *);
|
|||
#define SYS_AUE_uuidgen AUE_NULL
|
||||
#define SYS_AUE_sendfile AUE_SENDFILE
|
||||
#define SYS_AUE_mac_syscall AUE_NULL
|
||||
#define SYS_AUE_getfsstat AUE_GETFSSTAT
|
||||
#define SYS_AUE_statfs AUE_STATFS
|
||||
#define SYS_AUE_fstatfs AUE_FSTATFS
|
||||
#define SYS_AUE_fhstatfs AUE_FHSTATFS
|
||||
#define SYS_AUE_freebsd11_getfsstat AUE_GETFSSTAT
|
||||
#define SYS_AUE_freebsd11_statfs AUE_STATFS
|
||||
#define SYS_AUE_freebsd11_fstatfs AUE_FSTATFS
|
||||
#define SYS_AUE_freebsd11_fhstatfs AUE_FHSTATFS
|
||||
#define SYS_AUE_ksem_close AUE_SEMCLOSE
|
||||
#define SYS_AUE_ksem_post AUE_SEMPOST
|
||||
#define SYS_AUE_ksem_wait AUE_SEMWAIT
|
||||
|
|
@ -2900,12 +2958,12 @@ int freebsd10_pipe(struct thread *, struct freebsd10_pipe_args *);
|
|||
#define SYS_AUE_fchmodat AUE_FCHMODAT
|
||||
#define SYS_AUE_fchownat AUE_FCHOWNAT
|
||||
#define SYS_AUE_fexecve AUE_FEXECVE
|
||||
#define SYS_AUE_fstatat AUE_FSTATAT
|
||||
#define SYS_AUE_freebsd11_fstatat AUE_FSTATAT
|
||||
#define SYS_AUE_futimesat AUE_FUTIMESAT
|
||||
#define SYS_AUE_linkat AUE_LINKAT
|
||||
#define SYS_AUE_mkdirat AUE_MKDIRAT
|
||||
#define SYS_AUE_mkfifoat AUE_MKFIFOAT
|
||||
#define SYS_AUE_mknodat AUE_MKNODAT
|
||||
#define SYS_AUE_freebsd11_mknodat AUE_MKNODAT
|
||||
#define SYS_AUE_openat AUE_OPENAT_RWTC
|
||||
#define SYS_AUE_readlinkat AUE_READLINKAT
|
||||
#define SYS_AUE_renameat AUE_RENAMEAT
|
||||
|
|
@ -2956,6 +3014,15 @@ int freebsd10_pipe(struct thread *, struct freebsd10_pipe_args *);
|
|||
#define SYS_AUE_numa_getaffinity AUE_NULL
|
||||
#define SYS_AUE_numa_setaffinity AUE_NULL
|
||||
#define SYS_AUE_fdatasync AUE_FSYNC
|
||||
#define SYS_AUE_fstat AUE_FSTAT
|
||||
#define SYS_AUE_fstatat AUE_FSTATAT
|
||||
#define SYS_AUE_fhstat AUE_FHSTAT
|
||||
#define SYS_AUE_getdirentries AUE_GETDIRENTRIES
|
||||
#define SYS_AUE_statfs AUE_STATFS
|
||||
#define SYS_AUE_fstatfs AUE_FSTATFS
|
||||
#define SYS_AUE_getfsstat AUE_GETFSSTAT
|
||||
#define SYS_AUE_fhstatfs AUE_FHSTATFS
|
||||
#define SYS_AUE_mknodat AUE_MKNODAT
|
||||
|
||||
#undef PAD_
|
||||
#undef PADL_
|
||||
|
|
|
|||
Loading…
Reference in a new issue