Received: by mail.netbsd.org (Postfix, from userid 605) id 045B284D61; Wed, 12 Jun 2019 14:28:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 7BF6984D55 for ; Wed, 12 Jun 2019 14:28:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id SJQJgZi_8AQi for ; Wed, 12 Jun 2019 14:28:39 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 1B56A84D42 for ; Wed, 12 Jun 2019 14:28:39 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 13F5BFBF4; Wed, 12 Jun 2019 14:28:39 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Wed, 12 Jun 2019 10:28:39 -0400 From: "Christos Zoulas" Subject: CVS commit: src/sys/arch/amd64/amd64 To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20190612142839.13F5BFBF4@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: "Christos Zoulas" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: christos Date: Wed Jun 12 14:28:38 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: machdep.c Log Message: Add missing address check. This broke things like: crash -w w /l ipsec_debug 1 with an invalid address, because it found the first readonly segment and returned EFAULT. I guess this never worked properly, but this got exposed when maxv made text and rodata actually R/O? To generate a diff of this commit: cvs rdiff -u -r1.331 -r1.332 src/sys/arch/amd64/amd64/machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.