Re: [PATCH 2/4] userns: let copy_ipcs handle setting ipc_ns->user_ns

From: Daniel Lezcano
Date: Thu Feb 24 2011 - 04:55:40 EST


On 02/24/2011 01:22 AM, Serge E. Hallyn wrote:
To do that, we have to pass in the task_struct of the task which
will own the ipc_ns, so we can assign its user_ns.

Changelog:
Feb 23: As per Oleg comment, just pass in tsk. To get the
ipc_ns from the nsproxy we need to include nsproxy.h

Signed-off-by: Serge E. Hallyn<serge.hallyn@xxxxxxxxxxxxx>
---

Acked-by: Daniel Lezcano <daniel.lezcano@xxxxxxx>
--
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/