]> git.ipfire.org Git - thirdparty/lxc.git/commit
namespace: add lxc_raw_getpid()
authorChristian Brauner <christian.brauner@ubuntu.com>
Sat, 16 Dec 2017 00:23:17 +0000 (01:23 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Thu, 21 Dec 2017 22:00:22 +0000 (23:00 +0100)
commitbb196a1aa09560c46b7cda62d53bed9d3781c958
tree5787fa07cbfe11499722b0d999c3f4e39566bd4f
parentb01b36e9ad01048a34de6d2b807a1e7041e657fa
namespace: add lxc_raw_getpid()

Because of older glibc's pid cache (up to 2.25) whenever clone() is called the
child must must retrieve it's own pid via lxc_raw_getpid().

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/namespace.h