]> git.proxmox.com Git - mirror_lxc.git/commit
Move lxc_attach from namespace.c to attach.c and rename it to lxc_attach_to_ns
authorChristian Seiler <christian@iwakd.de>
Thu, 23 Feb 2012 08:57:14 +0000 (09:57 +0100)
committerDaniel Lezcano <daniel.lezcano@free.fr>
Thu, 23 Feb 2012 08:57:14 +0000 (09:57 +0100)
commit99d509541d82f247b3225d243fff5359574817ff
treea8b1aff58826f88347a9c397144e25812673d4f6
parente073270504f2f5c5df90bfcc4917d2d20b73d1e7
Move lxc_attach from namespace.c to attach.c and rename it to lxc_attach_to_ns

Since lxc-attach helper functions now have an own source file, lxc_attach is
moved from namespace.c to attach.c and is renamed to lxc_attach_to_ns,
because that better reflects what the function does (attaching to a
container can also contain the setting of the process's personality, adding
it to the corresponding cgroups and dropping specific capabilities).

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/attach.c
src/lxc/attach.h
src/lxc/lxc_attach.c
src/lxc/namespace.c
src/lxc/namespace.h