From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755396AbYH0XOJ (ORCPT ); Wed, 27 Aug 2008 19:14:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753690AbYH0XNz (ORCPT ); Wed, 27 Aug 2008 19:13:55 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:34796 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753652AbYH0XNy (ORCPT ); Wed, 27 Aug 2008 19:13:54 -0400 Date: Wed, 27 Aug 2008 16:12:20 -0700 (PDT) From: Linus Torvalds To: Alan Cox cc: Peter Osterlund , "Rafael J. Wysocki" , Alan Cox , Jens Axboe , Linux Kernel Mailing List , Adrian Bunk , Andrew Morton , Natalie Protasevich , Kernel Testers List Subject: Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26 In-Reply-To: Message-ID: References: <20080827230828.4285022b@lxorguk.ukuu.org.uk> <20080827232803.2ba8dd96@lxorguk.ukuu.org.uk> User-Agent: Alpine 1.10 (LFD 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 27 Aug 2008, Linus Torvalds wrote: > > I wonder if I could essentially automate something to do the conversion.. Hmm. compat_ioctl() actually has exactly the same issue. Damn. So you can't just add the new argument, you also have to _pass_ the argument in the compat_ioctl handlers to the non-compat ones. Linus