[Devel] Re: [RFC][PATCH 4/4] PID: use the target ID specified in procfs

2008-03-13 Thread Eric W. Biederman
Nadia Derbey [EMAIL PROTECTED] writes: Eric W. Biederman wrote: Nadia Derbey [EMAIL PROTECTED] writes: A couple of weeks ago, a discussion has started after Pierre's proposal for a new syscall to change an ipc id (see thread http://lkml.org/lkml/2008/1/29/209). Oren's suggestion was to force

[Devel] Re: [RFC][PATCH 4/4] PID: use the target ID specified in procfs

2008-03-13 Thread Serge E. Hallyn
Quoting Eric W. Biederman ([EMAIL PROTECTED]): Nadia Derbey [EMAIL PROTECTED] writes: Eric W. Biederman wrote: Nadia Derbey [EMAIL PROTECTED] writes: A couple of weeks ago, a discussion has started after Pierre's proposal for a new syscall to change an ipc id (see thread

[Devel] Re: [RFC][PATCH 4/4] PID: use the target ID specified in procfs

2008-03-13 Thread Oren Laadan
Eric W. Biederman wrote: Nadia Derbey [EMAIL PROTECTED] writes: Eric W. Biederman wrote: Nadia Derbey [EMAIL PROTECTED] writes: A couple of weeks ago, a discussion has started after Pierre's proposal for a new syscall to change an ipc id (see thread http://lkml.org/lkml/2008/1/29/209).

[Devel] Re: [RFC][PATCH 4/4] PID: use the target ID specified in procfs

2008-03-11 Thread Pavel Emelyanov
[EMAIL PROTECTED] wrote: @@ -122,14 +122,26 @@ static void free_pidmap(struct upid *upi atomic_inc(map-nr_free); } -static int alloc_pidmap(struct pid_namespace *pid_ns) +static int alloc_pidmap(struct pid_namespace *pid_ns, struct pid_list *pid_l, + int level)

[Devel] Re: [RFC][PATCH 4/4] PID: use the target ID specified in procfs

2008-03-11 Thread Nadia Derbey
Pavel Emelyanov wrote: [EMAIL PROTECTED] wrote: @@ -122,14 +122,26 @@ static void free_pidmap(struct upid *upi atomic_inc(map-nr_free); } -static int alloc_pidmap(struct pid_namespace *pid_ns) +static int alloc_pidmap(struct pid_namespace *pid_ns, struct pid_list *pid_l, +

[Devel] Re: [RFC][PATCH 4/4] PID: use the target ID specified in procfs

2008-03-11 Thread Pavel Emelyanov
Nadia Derbey wrote: Pavel Emelyanov wrote: [EMAIL PROTECTED] wrote: @@ -122,14 +122,26 @@ static void free_pidmap(struct upid *upi atomic_inc(map-nr_free); } -static int alloc_pidmap(struct pid_namespace *pid_ns) +static int alloc_pidmap(struct pid_namespace *pid_ns, struct pid_list

[Devel] Re: [RFC][PATCH 4/4] PID: use the target ID specified in procfs

2008-03-11 Thread Nadia Derbey
Pavel Emelyanov wrote: Nadia Derbey wrote: Pavel Emelyanov wrote: [EMAIL PROTECTED] wrote: @@ -122,14 +122,26 @@ static void free_pidmap(struct upid *upi atomic_inc(map-nr_free); } -static int alloc_pidmap(struct pid_namespace *pid_ns) +static int alloc_pidmap(struct pid_namespace

[Devel] Re: [RFC][PATCH 4/4] PID: use the target ID specified in procfs

2008-03-11 Thread Pavel Emelyanov
Serge E. Hallyn wrote: Quoting Pavel Emelyanov ([EMAIL PROTECTED]): Nadia Derbey wrote: Pavel Emelyanov wrote: [EMAIL PROTECTED] wrote: @@ -122,14 +122,26 @@ static void free_pidmap(struct upid *upi atomic_inc(map-nr_free); } -static int alloc_pidmap(struct pid_namespace *pid_ns)

[Devel] Re: [RFC][PATCH 4/4] PID: use the target ID specified in procfs

2008-03-11 Thread Serge E. Hallyn
Quoting Pavel Emelyanov ([EMAIL PROTECTED]): Serge E. Hallyn wrote: Quoting Pavel Emelyanov ([EMAIL PROTECTED]): Nadia Derbey wrote: Pavel Emelyanov wrote: [EMAIL PROTECTED] wrote: @@ -122,14 +122,26 @@ static void free_pidmap(struct upid *upi atomic_inc(map-nr_free); }