]> git.proxmox.com Git - mirror_lxc.git/commit
tree-wide: s/getpid()/lxc_raw_getpid()/g
authorChristian Brauner <christian.brauner@ubuntu.com>
Sat, 16 Dec 2017 01:07:43 +0000 (02:07 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Thu, 21 Dec 2017 22:01:03 +0000 (23:01 +0100)
commit0059379ff44bd52cf17d72300e60432686f2fba0
tree1ca4d79443725e4c330d6776e68426893cff6127
parentbb196a1aa09560c46b7cda62d53bed9d3781c958
tree-wide: s/getpid()/lxc_raw_getpid()/g

This is to avoid bad surprises caused by older glibc's pid cache (up to 2.25)
when using clone().

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
15 files changed:
src/lxc/Makefile.am
src/lxc/af_unix.c
src/lxc/attach.c
src/lxc/cgroups/cgfs.c
src/lxc/cgroups/cgmanager.c
src/lxc/console.c
src/lxc/lsm/apparmor.c
src/lxc/lxc_init.c
src/lxc/lxc_monitord.c
src/lxc/lxc_user_nic.c
src/lxc/lxccontainer.c
src/lxc/network.c
src/lxc/start.c
src/lxc/utils.c
src/lxc/utils.h