Received: by mail.netbsd.org (Postfix, from userid 605) id 3ED8014A460; Sun, 24 Jun 2012 02:49:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 2336814A431 for ; Sun, 24 Jun 2012 02:49:34 +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 fHin6ZtgzXWM for ; Sun, 24 Jun 2012 02:49:33 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 4061E14A429 for ; Sun, 24 Jun 2012 02:49:33 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id CFE54175DF; Sun, 24 Jun 2012 02:49:32 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Sun, 24 Jun 2012 02:49:32 +0000 From: "Jeff Rizzo" Subject: CVS commit: [netbsd-6] src/sys/external/bsd/drm/dist/bsd-core To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20120624024932.CFE54175DF@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: "Jeff Rizzo" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: riz Date: Sun Jun 24 02:49:32 UTC 2012 Modified Files: src/sys/external/bsd/drm/dist/bsd-core [netbsd-6]: drm_bufs.c Log Message: Pull up following revision(s) (requested by chs in ticket #353): sys/external/bsd/drm/dist/bsd-core/drm_bufs.c: revision 1.11 when freeing the DRM_SHM kernel memory that can be mapped by a user process, remove any user mappings before freeing the memory, so that a user process doesn't have still have access to that physical memory after it's reused. this really shouldn't be using kernel malloc'd memory at all, but changing that would be much more involved. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.10.2.1 \ src/sys/external/bsd/drm/dist/bsd-core/drm_bufs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.