]> git.ipfire.org Git - thirdparty/lxc.git/commit
python-lxc: Call PyOS_AfterFork after attaching to a container 739/head
authorDanil Osherov <shindo@yandex-team.ru>
Thu, 24 Dec 2015 13:54:19 +0000 (16:54 +0300)
committerDanil Osherov <shindo@yandex-team.ru>
Thu, 24 Dec 2015 14:00:54 +0000 (17:00 +0300)
commit4027875db1d25dba48712327afa0073c014f1930
treefabe00e3e65a4631cd6318bd0200c7b2753aba91
parent364d54c9f09a770cbaf432cda295923720c74c31
python-lxc: Call PyOS_AfterFork after attaching to a container

As lxc_attach() calls fork() PyOS_AfterFork should be called in the new
process if the Python interpreter will continue to be used.

Signed-off-by: Danil Osherov <shindo@yandex-team.ru>
src/python-lxc/lxc.c