]> git.ipfire.org Git - thirdparty/systemd.git/commit
nspawn: fix UID map string
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 15 Jun 2022 13:32:40 +0000 (22:32 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 16 Jun 2022 02:52:59 +0000 (11:52 +0900)
commit05ab439a62de8bb47e4137d2a8a473a307ccfb33
tree40e6b59618f3ed3da4a372cc9a070db34958540b
parentf941c124273ac1b3bce0029f69f9664ba6f01f7f
nspawn: fix UID map string

We send/recv the set of payload uid, host uid, payload gid, host gid.
Hence, the index must be incremented with 4, instead of 2.

Fixes #23664.
src/nspawn/nspawn.c