]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc-attach: Enable setting the SELinux context 3567/head
authorMaximilian Blenk <Maximilian.Blenk@bmw.de>
Tue, 27 Oct 2020 09:38:44 +0000 (10:38 +0100)
committerMaximilian Blenk <Maximilian.Blenk@bmw.de>
Tue, 27 Oct 2020 16:03:20 +0000 (17:03 +0100)
commit8455e39efe383d520ac3936535630079bebdd2ad
tree5cf472ac67fc4a80bb2d5c973f579cf00c68202c
parentc8fe11552a41bd1abdc423dd2489539bc324afd9
lxc-attach: Enable setting the SELinux context

Enable lxc-attach to set the SELinux context that the user will end up
in when attaching to a container (This can be used to overwrite the
context set in the config file). If the option is not used, behavior
will be as before

Signed-off-by: Maximilian Blenk <Maximilian.Blenk@bmw.de>
src/lxc/attach.c
src/lxc/attach_options.h
src/lxc/tools/lxc_attach.c