]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/namespace.c
namespace: remove stack allocations
authorChristian Brauner <christian.brauner@ubuntu.com>
Tue, 5 Feb 2019 06:23:19 +0000 (07:23 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Wed, 6 Feb 2019 10:47:57 +0000 (11:47 +0100)
commit244f7f873471949216072a8d11544900bfe15456
treea2335a785237add56e5ce637673d5662a28744f9
parent54b43e8f0997327b663d7fda47c21f9eaaccf55c
namespace: remove stack allocations

Switch to a static stack instead of allocating a new one. There's really
no point in doing all of the dance to get the current pagesize.

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