From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 17 May 2002 08:55:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 17 May 2002 08:55:54 -0400 Received: from slip-202-135-75-243.ca.au.prserv.net ([202.135.75.243]:21385 "EHLO wagner.rustcorp.com.au") by vger.kernel.org with ESMTP id ; Fri, 17 May 2002 08:55:53 -0400 From: Rusty Russell To: Alan Cox Cc: linux-kernel@vger.kernel.org, torvalds@transmeta.com Subject: Re: AUDIT: copy_from_user is a deathtrap. In-Reply-To: Your message of "Fri, 17 May 2002 13:58:53 +0100." Date: Fri, 17 May 2002 22:58:08 +1000 Message-Id: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org In message you write: > > No, the 400+ are all of form: > > > > /* of course this returns 0 or -EFAULT! */ > > return copy_from_user(xxx); > > So lets verify and fix them. Post the list to the kenrel janitors Again, like we did 12 months ago you mean? We could do that, or, we could fix the actual problem, which is the HUGE FUCKING BEARTRAP WHICH CATCHES EVERY SINGLE NEW PROGRAMMER ON THE WAY THROUGH. Not fixing earlier was criminal, not fixing it today is insane. Rusty. -- Anyone who quotes me in their sig is an idiot. -- Rusty Russell.