Re: [RFC][v7][PATCH 3/9] Make pid_max a pid_ns property

From: Oren Laadan
Date: Thu Sep 24 2009 - 13:45:59 EST




Sukadev Bhattiprolu wrote:
>
> From: Serge Hallyn <serue@xxxxxxxxxx>
> Subject: [RFC][v7][PATCH 3/9] Make pid_max a pid_ns property
>
> Remove the pid_max global, and make it a property of the
> pid_namespace. When a pid_ns is created, it inherits
> the parent's pid_ns.
>
> Fixing up sysctl (trivial akin to ipc version, but
> potentially tedious to get right for all CONFIG*
> combinations) is left for later.
>
> Changelog[v2]:
> - Port to newer kernel
> - Make pid_max a local variable in alloc_pidmap() to simplify code/patch
>
> Signed-off-by: Serge Hallyn <serue@xxxxxxxxxx>
> Signed-off-by: Sukadev Bhattiprolu <sukadev@xxxxxxxxxx>

Reviewed-by: Oren Laadan <orenl@xxxxxxxxxxxxxxx>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/