]> git.ipfire.org Git - thirdparty/lxc.git/commit
support setting lsm label at exec or immediately
authorDwight Engen <dwight.engen@oracle.com>
Thu, 17 Oct 2013 17:02:49 +0000 (13:02 -0400)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Fri, 18 Oct 2013 18:57:37 +0000 (13:57 -0500)
commit72863294f63e27ac263a774aab37aace20dc1bc5
treefd1744134cd49f3d6f9085cdb0d4e9709f987d1c
parent41ca89087a8700aaa7992cbfe9bc8f93da15343b
support setting lsm label at exec or immediately

- Add attach test cases

- Moved setting of LSM label later to avoid failure of IPC between parent
  and child during attach

Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
14 files changed:
.gitignore
src/lxc/attach.c
src/lxc/attach_options.h
src/lxc/lsm/apparmor.c
src/lxc/lsm/lsm.c
src/lxc/lsm/lsm.h
src/lxc/lsm/nop.c
src/lxc/lsm/selinux.c
src/lxc/lxc_attach.c
src/lxc/start.c
src/python-lxc/lxc.c
src/python-lxc/lxc/__init__.py
src/tests/Makefile.am
src/tests/attach.c [new file with mode: 0644]