Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932065AbZKFAkg (ORCPT ); Thu, 5 Nov 2009 19:40:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759189AbZKFAkf (ORCPT ); Thu, 5 Nov 2009 19:40:35 -0500 Received: from out02.mta.xmission.com ([166.70.13.232]:45880 "EHLO out02.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759181AbZKFAke (ORCPT ); Thu, 5 Nov 2009 19:40:34 -0500 To: Cc: , Benjamin Herrenschmidt , Paul Mackerras , Tony Luck , Fenghua Yu , Ralf Baechle , Kyle McMartin , Thibaut Varene , Carsten Otte , Christian Borntraeger , "David S. Miller" , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" Subject: [PATCH 0/11] generic compat_sys_sysctl From: ebiederm@xmission.com (Eric W. Biederman) Date: Thu, 05 Nov 2009 16:40:19 -0800 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-XM-SPF: eid=;;;mid=;;;hst=in01.mta.xmission.com;;;ip=76.21.114.89;;;frm=ebiederm@xmission.com;;;spf=neutral X-SA-Exim-Connect-IP: 76.21.114.89 X-SA-Exim-Mail-From: ebiederm@xmission.com X-SA-Exim-Scanned: No (on in01.mta.xmission.com); Exit with error (see exim mainlog) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1051 Lines: 24 I am in the process of cleaning up, and converting the binary sysctl sysctl call into a wrapper on top of the text based proc/sys. A first step in that process is to introduce a generic compat_sys_sysctl to reduce the number of places I have to touch. The following patcheset is the start of my series for handling that. The only architecture specific changes should be replace the current architecture name for it's 32bit compat syscall with compat_sys_sysctl, and deleting the architectures private 32bit compat syscall. The only requirement is that CONFIG_COMPAT be set when you need compat_sys_sysctl. These patches should just work, but an eyeball from someone who is familiar with the architecture specific details would be appreciated. I have only tested the 32bit compat code on x86_64. Eric -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/