aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/syscall.h3
-rw-r--r--sys/sys/syscall.mk3
-rw-r--r--sys/sys/sysproto.h7
3 files changed, 11 insertions, 2 deletions
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index 550d9b735e06..cbbbe7c1d211 100644
--- a/sys/sys/syscall.h
+++ b/sys/sys/syscall.h
@@ -512,4 +512,5 @@
#define SYS___realpathat 574
#define SYS_close_range 575
#define SYS_rpctls_syscall 576
-#define SYS_MAXSYSCALL 577
+#define SYS___specialfd 577
+#define SYS_MAXSYSCALL 578
diff --git a/sys/sys/syscall.mk b/sys/sys/syscall.mk
index 63d73c1e4830..ecd82f1722da 100644
--- a/sys/sys/syscall.mk
+++ b/sys/sys/syscall.mk
@@ -417,4 +417,5 @@ MIASM = \
sigfastblock.o \
__realpathat.o \
close_range.o \
- rpctls_syscall.o
+ rpctls_syscall.o \
+ __specialfd.o
diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h
index 03abffb41afb..3ff472872a5a 100644
--- a/sys/sys/sysproto.h
+++ b/sys/sys/sysproto.h
@@ -1836,6 +1836,11 @@ 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 *)];
};
+struct __specialfd_args {
+ char type_l_[PADL_(int)]; int type; char type_r_[PADR_(int)];
+ char req_l_[PADL_(const void *)]; const void * req; char req_r_[PADR_(const void *)];
+ char len_l_[PADL_(size_t)]; size_t len; char len_r_[PADR_(size_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 *);
@@ -2227,6 +2232,7 @@ 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 *);
+int sys___specialfd(struct thread *, struct __specialfd_args *);
#ifdef COMPAT_43
@@ -3158,6 +3164,7 @@ int freebsd12_closefrom(struct thread *, struct freebsd12_closefrom_args *);
#define SYS_AUE___realpathat AUE_REALPATHAT
#define SYS_AUE_close_range AUE_CLOSERANGE
#define SYS_AUE_rpctls_syscall AUE_NULL
+#define SYS_AUE___specialfd AUE_SPECIALFD
#undef PAD_
#undef PADL_