From owner-svn-src-head@freebsd.org Fri Jun 15 19:42:53 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E26F1019DEC; Fri, 15 Jun 2018 19:42:53 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D61D5804D9; Fri, 15 Jun 2018 19:42:52 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B3BB01BEEC; Fri, 15 Jun 2018 19:42:52 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5FJgqlY016784; Fri, 15 Jun 2018 19:42:52 GMT (envelope-from emaste@FreeBSD.org) Received: (from emaste@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5FJgqOw016783; Fri, 15 Jun 2018 19:42:52 GMT (envelope-from emaste@FreeBSD.org) Message-Id: <201806151942.w5FJgqOw016783@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: emaste set sender to emaste@FreeBSD.org using -f From: Ed Maste Date: Fri, 15 Jun 2018 19:42:52 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r335235 - head/sys/arm64/linux X-SVN-Group: head X-SVN-Commit-Author: emaste X-SVN-Commit-Paths: head/sys/arm64/linux X-SVN-Commit-Revision: 335235 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 19:42:53 -0000 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 __FBSDID("$FreeBSD$"); +#include "opt_compat.h" + #include #include #include #include #include -#include -#include +#include +#include #include #include +// 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: */