aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/linux32/linux32_dummy.c
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2019-09-11 13:01:59 +0000
committerEd Maste <emaste@FreeBSD.org>2019-09-11 13:01:59 +0000
commit2eb6ef203ac621d6148c2ecd848da5263bc57813 (patch)
treec6856a15a7e85a3bd12641a4e58fe3ee3d865928 /sys/amd64/linux32/linux32_dummy.c
parent65ab1fdd213c66034ddaffdfd73365af9fe4549d (diff)
downloadsrc-2eb6ef203ac621d6148c2ecd848da5263bc57813.tar.gz
src-2eb6ef203ac621d6148c2ecd848da5263bc57813.zip
linux: add trivial renameat2 implementation
Just return EINVAL if flags != 0. The Linux man page documents one case of EINVAL as "The filesystem does not support one of the flags in flags." After r351723 userland binaries will try using new system calls. Reported by: mjg Reviewed by: mjg, trasz Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D21590
Notes
Notes: svn path=/head/; revision=352210
Diffstat (limited to 'sys/amd64/linux32/linux32_dummy.c')
-rw-r--r--sys/amd64/linux32/linux32_dummy.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/amd64/linux32/linux32_dummy.c b/sys/amd64/linux32/linux32_dummy.c
index 9de0c99a3fce..eccb7035da02 100644
--- a/sys/amd64/linux32/linux32_dummy.c
+++ b/sys/amd64/linux32/linux32_dummy.c
@@ -137,8 +137,6 @@ DUMMY(kcmp);
DUMMY(finit_module);
DUMMY(sched_setattr);
DUMMY(sched_getattr);
-/* Linux 3.14: */
-DUMMY(renameat2);
/* Linux 3.15: */
DUMMY(seccomp);
DUMMY(memfd_create);