Author: emaste Date: Fri Jun 15 19:42:52 2018 New Revision: 335235 URL: https://svnweb.freebsd.org/changeset/base/335235
Log: arm64 linuxulator: add linux_dummy.c based on amd64 A later change should deduplicate the multiple copies of this file. Sponsored by: Turing Robotic Industries Added: head/sys/arm64/linux/linux_dummy.c - copied, changed from r335234, head/sys/amd64/linux/linux_dummy.c Copied and modified: head/sys/arm64/linux/linux_dummy.c (from r335234, head/sys/amd64/linux/linux_dummy.c) ============================================================================== --- head/sys/amd64/linux/linux_dummy.c Fri Jun 15 19:35:08 2018 (r335234, copy source) +++ head/sys/arm64/linux/linux_dummy.c Fri Jun 15 19:42:52 2018 (r335235) @@ -29,17 +29,22 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); +#include "opt_compat.h" + #include <sys/param.h> #include <sys/kernel.h> #include <sys/sdt.h> #include <sys/systm.h> #include <sys/proc.h> -#include <amd64/linux/linux.h> -#include <amd64/linux/linux_proto.h> +#include <arm64/linux/linux.h> +#include <arm64/linux/linux_proto.h> #include <compat/linux/linux_dtrace.h> #include <compat/linux/linux_util.h> +// LINUXTODO: deduplicate arm64 dummy against other archs? +// LINUXTODO: review/update/add unimplemented syscalls + /* DTrace init */ LIN_SDT_PROVIDER_DECLARE(LINUX_DTRACE); @@ -63,14 +68,12 @@ DUMMY(sendfile); DUMMY(syslog); DUMMY(setfsuid); DUMMY(setfsgid); -DUMMY(sysfs); DUMMY(vhangup); DUMMY(pivot_root); DUMMY(adjtimex); DUMMY(swapoff); DUMMY(init_module); DUMMY(delete_module); -DUMMY(quotactl); DUMMY(lookup_dcookie); DUMMY(remap_file_pages); DUMMY(semtimedop); @@ -91,7 +94,6 @@ DUMMY(keyctl); /* Linux 2.6.13: */ DUMMY(ioprio_set); DUMMY(ioprio_get); -DUMMY(inotify_init); DUMMY(inotify_add_watch); DUMMY(inotify_rm_watch); /* Linux 2.6.16: */ @@ -104,8 +106,6 @@ DUMMY(sync_file_range); DUMMY(vmsplice); /* Linux 2.6.18: */ DUMMY(move_pages); -/* Linux 2.6.22: */ -DUMMY(signalfd); /* Linux 2.6.27: */ DUMMY(signalfd4); DUMMY(inotify_init1); @@ -135,7 +135,6 @@ DUMMY(renameat2); /* Linux 3.15: */ DUMMY(seccomp); DUMMY(memfd_create); -DUMMY(kexec_file_load); /* Linux 3.18: */ DUMMY(bpf); /* Linux 3.19: */ _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"