]> git.ipfire.org Git - thirdparty/lxc.git/commit
conf: rework userns_exec_1() 1609/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Fri, 2 Jun 2017 22:39:50 +0000 (00:39 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Fri, 2 Jun 2017 22:41:59 +0000 (00:41 +0200)
commit28a2d9e76db55955ba9fccd52d6f485c31e89ccf
tree1b75eee8f7ff0a71b238180f3c389ff9f00dee5f
parent339efad99eab950d0da3bd767e94f248b8453900
conf: rework userns_exec_1()

This also fixes a bug where we caused a double mapping, when the {u,g}id for
the user was mapped to container root {g,u}id.

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