[RFC PATCH 2/4] namespace containers: move nsproxy setting code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/12/07, Serge E. Hallyn <serue at us.ibm.com> wrote:
> From: "Serge E. Hallyn" <serue at us.ibm.com>
> Subject: [RFC PATCH 2/4] namespace containers: move nsproxy setting code
>
> Move nsproxy setting code from clone and unshare into container_clone.

Please can you keep the knowledge of nsproxy outside of the generic
container code? If there's some additional work required by a
subsystem when a container is cloned, we should have additional
callbacks.

But in this case, can't you just do the swap_nsproxies() in
ns_container_clone(), either before or after calling
container_clone()?

Paul


[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux