[Devel] Re: [PATCH] namespace: ensure clone_flags are always stored in an unsigned long

Cedric Le Goater clg at fr.ibm.com
Fri Jun 22 00:16:25 PDT 2007


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 <ebiederm at xmission.com>

we definitely want to do that. I have a similar patch waiting for 
next -mm doing the same.

Acked-by : Cedric Le Goater <clg at fr.ibm.com>

C.
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list