aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorMariusz Zaborski <oshogbo@FreeBSD.org>2019-04-06 09:37:10 +0000
committerMariusz Zaborski <oshogbo@FreeBSD.org>2019-04-06 09:37:10 +0000
commita4890265660a055fe29ac04633880b4baaeeba0c (patch)
tree51c2d4c6eedb6cb57c98cc88849b996a2276679c /sys/sys
parenta1304030b815cf1c7dbc934cbd994d8f333eb9cd (diff)
downloadsrc-a4890265660a055fe29ac04633880b4baaeeba0c.tar.gz
src-a4890265660a055fe29ac04633880b4baaeeba0c.zip
Regen after r345982.
Notes
Notes: svn path=/head/; revision=345983
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.h8
3 files changed, 12 insertions, 2 deletions
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index 3d749182add7..d3ba7b3ce233 100644
--- a/sys/sys/syscall.h
+++ b/sys/sys/syscall.h
@@ -503,4 +503,5 @@
#define SYS_fhlink 565
#define SYS_fhlinkat 566
#define SYS_fhreadlink 567
-#define SYS_MAXSYSCALL 568
+#define SYS_funlinkat 568
+#define SYS_MAXSYSCALL 569
diff --git a/sys/sys/syscall.mk b/sys/sys/syscall.mk
index 44a7a2ab9e3a..bf560ad5609a 100644
--- a/sys/sys/syscall.mk
+++ b/sys/sys/syscall.mk
@@ -408,4 +408,5 @@ MIASM = \
getfhat.o \
fhlink.o \
fhlinkat.o \
- fhreadlink.o
+ fhreadlink.o \
+ funlinkat.o
diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h
index d16a92a3b68c..2150acbddb9a 100644
--- a/sys/sys/sysproto.h
+++ b/sys/sys/sysproto.h
@@ -1790,6 +1790,12 @@ struct fhreadlink_args {
char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)];
char bufsize_l_[PADL_(size_t)]; size_t bufsize; char bufsize_r_[PADR_(size_t)];
};
+struct funlinkat_args {
+ char dfd_l_[PADL_(int)]; int dfd; char dfd_r_[PADR_(int)];
+ char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
+ char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
+ char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)];
+};
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 *);
@@ -2174,6 +2180,7 @@ int sys_getfhat(struct thread *, struct getfhat_args *);
int sys_fhlink(struct thread *, struct fhlink_args *);
int sys_fhlinkat(struct thread *, struct fhlinkat_args *);
int sys_fhreadlink(struct thread *, struct fhreadlink_args *);
+int sys_funlinkat(struct thread *, struct funlinkat_args *);
#ifdef COMPAT_43
@@ -3080,6 +3087,7 @@ int freebsd11_mknodat(struct thread *, struct freebsd11_mknodat_args *);
#define SYS_AUE_fhlink AUE_NULL
#define SYS_AUE_fhlinkat AUE_NULL
#define SYS_AUE_fhreadlink AUE_NULL
+#define SYS_AUE_funlinkat AUE_UNLINKAT
#undef PAD_
#undef PADL_