OpenVZ Forum


Home » Mailing lists » Devel » [RFC][PATCH 13/14] Define CLONE_NEWPID flag
[RFC][PATCH 13/14] Define CLONE_NEWPID flag [message #17919] Wed, 21 March 2007 03:24 Go to next message
Sukadev Bhattiprolu is currently offline  Sukadev Bhattiprolu
Messages: 413
Registered: August 2006
Senior Member
This was discussed on containers and we thought it would be useful
to reserve this flag.
---

From: Sukadev Bhattiprolu <sukadev@us.ibm.com>
Subject: [RFC][PATCH 13/14] Define CLONE_NEWPID flag

Define CLONE_NEWPID flag that will be used to clone pid namespaces.

Signed-off-by: Sukadev Bhattiprolu <sukadev@us.ibm.com>
---
 include/linux/sched.h |    1 +
 1 file changed, 1 insertion(+)

Index: 2.6.21-rc3-mm2/include/linux/sched.h
===================================================================
--- 2.6.21-rc3-mm2.orig/include/linux/sched.h
+++ 2.6.21-rc3-mm2/include/linux/sched.h
@@ -26,6 +26,7 @@
 #define CLONE_STOPPED		0x02000000	/* Start in stopped state */
 #define CLONE_NEWUTS		0x04000000	/* New utsname group? */
 #define CLONE_NEWIPC		0x08000000	/* New ipcs */
+#define CLONE_NEWPID		0x10000000      /* New pid namespace */

 /*
  * Scheduling policies

-- 

_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
Re: [RFC][PATCH 13/14] Define CLONE_NEWPID flag [message #17939 is a reply to message #17919] Wed, 21 March 2007 17:30 Go to previous messageGo to next message
ebiederm is currently offline  ebiederm
Messages: 1354
Registered: February 2006
Senior Member
Cedric Le Goater <clg@fr.ibm.com> writes:

> sukadev@us.ibm.com wrote:
>> This was discussed on containers and we thought it would be useful
>> to reserve this flag.
>> ---
>> 
>> From: Sukadev Bhattiprolu <sukadev@us.ibm.com>
>> Subject: [RFC][PATCH 13/14] Define CLONE_NEWPID flag
>> 
>> Define CLONE_NEWPID flag that will be used to clone pid namespaces.
>> 
>> Signed-off-by: Sukadev Bhattiprolu <sukadev@us.ibm.com>
>> ---
>>  include/linux/sched.h |    1 +
>>  1 file changed, 1 insertion(+)
>> 
>> Index: 2.6.21-rc3-mm2/include/linux/sched.h
>> ===================================================================
>> --- 2.6.21-rc3-mm2.orig/include/linux/sched.h
>> +++ 2.6.21-rc3-mm2/include/linux/sched.h
>> @@ -26,6 +26,7 @@
>> #define CLONE_STOPPED 0x02000000 /* Start in stopped state */
>>  #define CLONE_NEWUTS		0x04000000	/* New utsname group? */
>>  #define CLONE_NEWIPC		0x08000000	/* New ipcs */
>> +#define CLONE_NEWPID		0x10000000      /* New pid namespace */
>> 
>>  /*
>>   * Scheduling policies
>> 
>
> I think we can send this one to -mm.

Sounds good to me.

Eric
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
Re: [RFC][PATCH 13/14] Define CLONE_NEWPID flag [message #17946 is a reply to message #17919] Wed, 21 March 2007 12:50 Go to previous messageGo to next message
Cedric Le Goater is currently offline  Cedric Le Goater
Messages: 443
Registered: February 2006
Senior Member
sukadev@us.ibm.com wrote:
> This was discussed on containers and we thought it would be useful
> to reserve this flag.
> ---
> 
> From: Sukadev Bhattiprolu <sukadev@us.ibm.com>
> Subject: [RFC][PATCH 13/14] Define CLONE_NEWPID flag
> 
> Define CLONE_NEWPID flag that will be used to clone pid namespaces.
> 
> Signed-off-by: Sukadev Bhattiprolu <sukadev@us.ibm.com>
> ---
>  include/linux/sched.h |    1 +
>  1 file changed, 1 insertion(+)
> 
> Index: 2.6.21-rc3-mm2/include/linux/sched.h
> ===================================================================
> --- 2.6.21-rc3-mm2.orig/include/linux/sched.h
> +++ 2.6.21-rc3-mm2/include/linux/sched.h
> @@ -26,6 +26,7 @@
>  #define CLONE_STOPPED		0x02000000	/* Start in stopped state */
>  #define CLONE_NEWUTS		0x04000000	/* New utsname group? */
>  #define CLONE_NEWIPC		0x08000000	/* New ipcs */
> +#define CLONE_NEWPID		0x10000000      /* New pid namespace */
> 
>  /*
>   * Scheduling policies
> 

I think we can send this one to -mm.

thanks,

C.
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
Re: [RFC][PATCH 13/14] Define CLONE_NEWPID flag [message #17998 is a reply to message #17939] Fri, 23 March 2007 01:30 Go to previous message
Herbert Poetzl is currently offline  Herbert Poetzl
Messages: 239
Registered: February 2006
Senior Member
On Wed, Mar 21, 2007 at 11:30:14AM -0600, Eric W. Biederman wrote:
> Cedric Le Goater <clg@fr.ibm.com> writes:
> 
> > sukadev@us.ibm.com wrote:
> >> This was discussed on containers and we thought it would be useful
> >> to reserve this flag.
> >> ---
> >> 
> >> From: Sukadev Bhattiprolu <sukadev@us.ibm.com>
> >> Subject: [RFC][PATCH 13/14] Define CLONE_NEWPID flag
> >> 
> >> Define CLONE_NEWPID flag that will be used to clone pid namespaces.
> >> 
> >> Signed-off-by: Sukadev Bhattiprolu <sukadev@us.ibm.com>
> >> ---
> >>  include/linux/sched.h |    1 +
> >>  1 file changed, 1 insertion(+)
> >> 
> >> Index: 2.6.21-rc3-mm2/include/linux/sched.h
> >> ===================================================================
> >> --- 2.6.21-rc3-mm2.orig/include/linux/sched.h
> >> +++ 2.6.21-rc3-mm2/include/linux/sched.h
> >> @@ -26,6 +26,7 @@
> >> #define CLONE_STOPPED 0x02000000 /* Start in stopped state */
> >>  #define CLONE_NEWUTS		0x04000000	/* New utsname group? */
> >>  #define CLONE_NEWIPC		0x08000000	/* New ipcs */
> >> +#define CLONE_NEWPID		0x10000000      /* New pid namespace */
> >> 
> >>  /*
> >>   * Scheduling policies
> >> 
> >
> > I think we can send this one to -mm.
> 
> Sounds good to me.

yep, we won't get around it :)

i.e. I'm fine with this

best,
Herbert

> Eric
> _______________________________________________
> Containers mailing list
> Containers@lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/containers
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
Previous Topic: [RFC][PATCH 06/14] Populate pid_nrs list with entry for init-pid-ns
Next Topic: [PATCH] Define CLONE_NEWPID flag
Goto Forum:
  


Current Time: Sun Oct 13 04:05:42 GMT 2024

Total time taken to generate the page: 0.06387 seconds