Received: by mail.netbsd.org (Postfix, from userid 605) id 3D81084DFF; Wed, 9 Oct 2019 17:47:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id B43DE84DFD for ; Wed, 9 Oct 2019 17:47:13 +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 aZPmhVR4iQph for ; Wed, 9 Oct 2019 17:47:13 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 57DBC84DF8 for ; Wed, 9 Oct 2019 17:47:13 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 50788FBF4; Wed, 9 Oct 2019 17:47:13 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Wed, 9 Oct 2019 17:47:13 +0000 From: "Chuck Silvers" Subject: CVS commit: src/sys/kern To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20191009174713.50788FBF4@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: "Chuck Silvers" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: chs Date: Wed Oct 9 17:47:13 UTC 2019 Modified Files: src/sys/kern: sysv_shm.c Log Message: simpler fix for the race between shmat() and shmdt(): change shmat() to hold shm_lock until it is completely done. To generate a diff of this commit: cvs rdiff -u -r1.140 -r1.141 src/sys/kern/sysv_shm.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.