From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 31032 invoked from network); 9 Apr 1999 17:45:38 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 9 Apr 1999 17:45:38 -0000 Received: from feral.com (mjacob@feral.com [192.67.166.1]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id NAA11485 for ; Fri, 9 Apr 1999 13:24:56 -0400 Received: from localhost (mjacob@localhost) by feral.com (8.8.7/8.8.7) with ESMTP id KAA13278 for ; Fri, 9 Apr 1999 10:24:33 -0700 Date: Fri, 9 Apr 1999 10:24:33 -0700 (PWT) From: Matthew Jacob X-Sender: mjacob@feral-gw Reply-To: mjacob@feral.com To: axp-list@redhat.com Subject: Re: BUG kernel macro: copy_to_user In-Reply-To: <19990408094440.C5411@twiddle.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII > 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. > This is an argument for why the CVS stuff is good- you'll make the fix, and there'll a central place for folks to get stuff within a day rather than knowing where patches are, when the next microrelease is, etc... .