Received: by mail.netbsd.org (Postfix, from userid 605) id 326DF84E29; Sat, 7 Mar 2020 00:56:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id A410E84E28 for ; Sat, 7 Mar 2020 00:56:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 4GUhfPhZoSla for ; Sat, 7 Mar 2020 00:56:41 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 44F6884E21 for ; Sat, 7 Mar 2020 00:56:41 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 33719FB27; Sat, 7 Mar 2020 00:56:41 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sat, 7 Mar 2020 00:56:41 +0000 From: "Paul Goyette" Subject: CVS commit: src/sys/compat/netbsd32 To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20200307005641.33719FB27@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Paul Goyette" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: pgoyette Date: Sat Mar 7 00:56:41 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_compat_43.c syscalls.master Log Message: Properly mark netbsd32_compat_43 syscalls that are directly implemented by calling their compat_43 equivalents. With these changes, and with built-in versions of COMPAT_NETBSD32, COMPAT_NOMID, and COMPAT_09, I can now run a netbsd-0.9 statically linked i386 (32-bit) version of /bin/ls on a 9.99.x amd64 host! Addresses PR kern/55047 but more changes coming to handle non-built-in modules. XXX pullup-9 To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/sys/compat/netbsd32/netbsd32_compat_43.c cvs rdiff -u -r1.131 -r1.132 src/sys/compat/netbsd32/syscalls.master Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.