Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755534AbXFVHQj (ORCPT ); Fri, 22 Jun 2007 03:16:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751882AbXFVHQc (ORCPT ); Fri, 22 Jun 2007 03:16:32 -0400 Received: from mtagate6.de.ibm.com ([195.212.29.155]:13502 "EHLO mtagate6.de.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751278AbXFVHQb (ORCPT ); Fri, 22 Jun 2007 03:16:31 -0400 Message-ID: <467B7749.6050208@fr.ibm.com> Date: Fri, 22 Jun 2007 09:16:25 +0200 From: Cedric Le Goater User-Agent: Thunderbird 2.0.0.4 (X11/20070615) MIME-Version: 1.0 To: "Eric W. Biederman" CC: Andrew Morton , Linux Containers , linux-kernel@vger.kernel.org Subject: Re: [PATCH] namespace: ensure clone_flags are always stored in an unsigned long References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 892 Lines: 23 Eric W. Biederman wrote: > While working on unshare support for the network namespace I noticed > we were putting clone flags in an int. Which is weird because the > syscall uses unsigned long and we at least need an unsigned to > properly hold all of the unshare flags. > > So to make the code consistent, this patch updates the code to use > unsigned long instead of int for the clone flags in those places > where we get it wrong today. > > Signed-off-by: Eric W. Biederman we definitely want to do that. I have a similar patch waiting for next -mm doing the same. Acked-by : Cedric Le Goater C. - 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/