OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] namespace: ensure clone_flags are always stored in an unsigned long
Re: [PATCH] namespace: ensure clone_flags are always stored in an unsigned long [message #19086 is a reply to message #19076] Fri, 22 June 2007 07:16 Go to previous message
Cedric Le Goater is currently offline  Cedric Le Goater
Messages: 443
Registered: February 2006
Senior Member
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@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@fr.ibm.com>

C.
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Previous Topic: [RFC][PATCH 0/4] Container Freezer
Next Topic: Vzctl set --userwasswd question
Goto Forum:
  


Current Time: Mon Jan 13 21:49:39 GMT 2025

Total time taken to generate the page: 0.05579 seconds