]> git.proxmox.com Git - mirror_lxc.git/commit
Add support for LISTEN_FDS environment variable.
authorRuben Jenster <r.jenster@drachenfels.de>
Wed, 2 Jun 2021 14:31:31 +0000 (16:31 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 14 Jun 2021 09:58:24 +0000 (11:58 +0200)
commit46abf21981374e8df26fcfabbb3abacd2e670def
tree3406db00272029d245da8c1ae6d5e4e29fe31523
parenta197d2fb5bcbbc722cebb3fb9c3add685bf94cd2
Add support for LISTEN_FDS environment variable.

The LISTEN_FDS environment variable defines the number of
file descriptors that should be inherited by the container,
in addition to stdio.
The LISTEN_FDS environment variable is defined in the OCI spec
and used to support socket activation.

Refs #3845

Signed-off-by: Ruben Jenster <r.jenster@drachenfels.de>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/lxccontainer.h
src/lxc/start.c