]> git.ipfire.org Git - thirdparty/lxc.git/commit
conf: improve userns_exec_mapped_root()
authorChristian Brauner <christian.brauner@ubuntu.com>
Tue, 18 Jan 2022 15:14:13 +0000 (16:14 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Thu, 27 Jan 2022 09:31:39 +0000 (10:31 +0100)
commit4eb09aaad494e559785842792ea7f1dd1ed653c4
tree9e17f42c99a91dbd96445fc856d3e9530284a287
parent928943280568b059f3e70e70a9c6494fc23e51b2
conf: improve userns_exec_mapped_root()

As we do in all other places, first drop groups, then use
setres{g,u}id().

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