From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 30292 invoked from network); 8 Apr 1999 17:04:51 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 8 Apr 1999 17:04:51 -0000 Received: from piglet.twiddle.net (rth@piglet.twiddle.net [207.104.6.26]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id MAA21578 for ; Thu, 8 Apr 1999 12:44:41 -0400 Received: (from rth@localhost) by piglet.twiddle.net (8.8.7/8.8.7) id JAA05913 for axp-list@redhat.com; Thu, 8 Apr 1999 09:44:40 -0700 Message-ID: <19990408094440.C5411@twiddle.net> Date: Thu, 8 Apr 1999 09:44:40 -0700 From: Richard Henderson To: axp-list@redhat.com Subject: Re: BUG kernel macro: copy_to_user References: <199904080752.JAA0000007399@storm.qkal.sap-ag.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2 In-Reply-To: <199904080752.JAA0000007399@storm.qkal.sap-ag.de>; from Andreas Krebs on Thu, Apr 08, 1999 at 09:52:30AM +0200 On Thu, Apr 08, 1999 at 09:52:30AM +0200, Andreas Krebs wrote: > ... so i take a look at the copy_to_user macro and notice, that some > registers are used direct. i think the strlen() command somehow messes > up this registers and causes the following __access_ok to fail. > so i changed the macro a bit, by moving the length calc to the top Good eyes. There are about five places in the same file with the same problem. I'll fix it all up. Thanks. r~