]> git.ipfire.org Git - thirdparty/util-linux.git/commit
idmap: kill child when writing the idmap fails
authorChristian Brauner <brauner@kernel.org>
Thu, 23 Mar 2023 10:09:28 +0000 (11:09 +0100)
committerChristian Brauner <brauner@kernel.org>
Thu, 23 Mar 2023 10:21:21 +0000 (11:21 +0100)
commit648e2d6c8d060195550101b3751277d9c4002749
tree1e46cfa6b33a1e2b56960e92c55342781c2f1e14
parentbccae5d85831c4cfa6b5d147acec739bd3c148b9
idmap: kill child when writing the idmap fails

This fixes the second issues reported in [1] where calling
mount -o 'X-mount.idmap=[...]' just hangs.

Fixes: https://github.com/util-linux/util-linux/issues/2130 [1]
Signed-off-by: Christian Brauner <brauner@kernel.org>
libmount/src/hook_idmap.c