From owner-cvs-all@FreeBSD.ORG Fri Jun 24 22:21:28 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8AE2516A41C; Fri, 24 Jun 2005 22:21:28 +0000 (GMT) (envelope-from anholt@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6147243D1F; Fri, 24 Jun 2005 22:21:28 +0000 (GMT) (envelope-from anholt@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j5OMLS7E089252; Fri, 24 Jun 2005 22:21:28 GMT (envelope-from anholt@repoman.freebsd.org) Received: (from anholt@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j5OMLSS3089251; Fri, 24 Jun 2005 22:21:28 GMT (envelope-from anholt) Message-Id: <200506242221.j5OMLSS3089251@repoman.freebsd.org> From: Eric Anholt Date: Fri, 24 Jun 2005 22:21:28 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/drm radeon_cp.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jun 2005 22:21:28 -0000 anholt 2005-06-24 22:21:28 UTC FreeBSD src repository Modified files: sys/dev/drm radeon_cp.c Log: Mark the permanent map for radeon registers read-only. Failure to set this flag allowed writing to the registers by any user that can open the DRI device, and therefore ability to initiate DMA. This came in with the merge from DRI CVS on 2005-04-15. Approved by: re (scottl) Obtained from: DRM CVS Revision Changes Path 1.14 +2 -1 src/sys/dev/drm/radeon_cp.c