From mboxrd@z Thu Jan 1 00:00:00 1970 From: Len Brown Subject: Re: [PATCH] toshiba_acpi 0.18 Date: 14 Mar 2004 00:38:21 -0500 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <1079242701.2168.121.camel@dhcppc4> References: <4053C4D5.8000703@neggie.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4053C4D5.8000703-wanGne27zNesTnJN9+BGXg@public.gmane.org> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: John Belmonte Cc: Julien Lerouge , ACPI Developers List-Id: linux-acpi@vger.kernel.org I think that the "__user" attribute is needed on the user pointer param to copy_from_user() -- at least in 2.6. thanks, -Len On Sat, 2004-03-13 at 21:35, John Belmonte wrote: > Attached is a patch for linux-2.6.4 which yields toshiba_acpi 0.18. It > should apply against the 2.4 kernel also. > > This version fixes illegal userspace memory access reported at > . > > It appears that the asus_acpi driver has the same issue, as it was > derived from mine. > > -John > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click