diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index fbeb803bded1..550d9b735e06 100644 --- a/sys/sys/syscall.h +++ b/sys/sys/syscall.h @@ -511,4 +511,5 @@ #define SYS_sigfastblock 573 #define SYS___realpathat 574 #define SYS_close_range 575 -#define SYS_MAXSYSCALL 576 +#define SYS_rpctls_syscall 576 +#define SYS_MAXSYSCALL 577 diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h index 6364fa269997..03abffb41afb 100644 --- a/sys/sys/sysproto.h +++ b/sys/sys/sysproto.h @@ -1832,6 +1832,10 @@ struct close_range_args { char highfd_l_[PADL_(u_int)]; u_int highfd; char highfd_r_[PADR_(u_int)]; char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; }; +struct rpctls_syscall_args { + char op_l_[PADL_(int)]; int op; char op_r_[PADR_(int)]; + char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)]; +}; 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 *); @@ -2222,6 +2226,7 @@ int sys_shm_rename(struct thread *, struct shm_rename_args *); int sys_sigfastblock(struct thread *, struct sigfastblock_args *); int sys___realpathat(struct thread *, struct __realpathat_args *); int sys_close_range(struct thread *, struct close_range_args *); +int sys_rpctls_syscall(struct thread *, struct rpctls_syscall_args *); #ifdef COMPAT_43 @@ -3152,6 +3157,7 @@ int freebsd12_closefrom(struct thread *, struct freebsd12_closefrom_args *); #define SYS_AUE_sigfastblock AUE_NULL #define SYS_AUE___realpathat AUE_REALPATHAT #define SYS_AUE_close_range AUE_CLOSERANGE +#define SYS_AUE_rpctls_syscall AUE_NULL #undef PAD_ #undef PADL_